Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Messages print even when message: false is set when running a Quarto document interactively #14553

Open
4 tasks done
mine-cetinkaya-rundel opened this issue Apr 16, 2024 · 2 comments

Comments

@mine-cetinkaya-rundel
Copy link

System details

RStudio Edition : Desktop
RStudio Version : RStudio 2024.04.0-daily+689 "Chocolate Cosmos" Daily (9ee2b6131e42e36e31cec48a4eb88d2e700e272c, 2024-04-10) for macOS Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) RStudio/2024.04.0-daily+689 Chrome/120.0.6099.291 Electron/28.2.6 Safari/537.36, Quarto 1.4.553 (/Applications/quarto/bin/quarto)
OS Version      : Mac OS Ventura 13.5 (22G74)
R Version       : R version 4.3.3 (2024-02-29) -- "Angel Food Cake"

Steps to reproduce the problem

---
format: html
---

```{r}
#| echo: false
#| message: false
message("This message shouldn't print below, but it does")
```

```{r}
#| echo: false
#| warning: false
warning("This warning shouldn't print, and it doesn't")
```

image

Describe the problem in detail

message: false doesn't seem to do anything when running interactively but warning: false does.

Describe the behavior you expected

I'd expect the warning behavior from message too.

  • I have read the guide for submitting good bug reports.
  • I have installed the latest version of RStudio, and confirmed that the issue still persists.
  • If I am reporting an RStudio crash, I have included a diagnostics report.
  • I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
@mine-cetinkaya-rundel mine-cetinkaya-rundel added bug new New incoming issues, ready for initial review. labels Apr 16, 2024
@ronblum
Copy link
Contributor

ronblum commented Apr 17, 2024

Reproducible in RStudio Desktop 2024.04.0-daily+693 on Windows 11. This is a regression, as it works correctly in version 2023.12.1+402. The bug occurs in both source and visual modes.

@ronblum ronblum added regression source editor and removed new New incoming issues, ready for initial review. labels Apr 17, 2024
@gtritchie
Copy link
Member

This problem started with build 543 (83ef05e, 2024-03-06).

The changes that went into that build are:

@ronblum ronblum added this to the Cranberry Hibiscus milestone Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants