You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RStudio Edition : 2022.6.0.421
RStudio Version : Desktop [Open Source]
OS Version : macOS Monterey 12.4
R Version : R version 4.2.0 (2022-04-22)
Are you able to provide any other detail that might help us reproduce the problem locally? (Perhaps the issue is somehow specific to the content in your R Markdown document?)
On the latest version if there is a block like the following it fails for me:
```{block2 02-spatial-data-5, type="rmdnote"}
Take care when using the word 'vector' as it can have two meanings in this book:
geographic vector data and the `vector` class (note the `monospace` font) in R.
The former is a data model, the latter is an R class just like `data.frame` and `matrix`.
Still, there is a link between the two: the spatial coordinates which are at the heart of the geographic vector data model can be represented in R using `vector` objects.
```
@gisselacornejocastellano and @Robinlovelace A couple of questions:
Did this work in previous versions of R and/or RStudio, and if so, which ones?
Is this only an issue when using block2 or also with r or other chunk types?
I hate to ask, but I've never used block2 before—is there any setup I need to perform, or is this part of a project type such as bookdown etc., to get it to work? I can see that the running the chunk is attempted when run on its own or with any of the "run all" options, but I get: Warning: don't know how to handle 'block2' engine output
The tag "repro needed" really means, "more information needed," or more fully, "internal RStudio employees can't reproduce it, so a reprex or other information is needed from the original poster or anyone in the user community." But that would be a very long tag. 😄
I think you and colleagues will be able to reproduce it. I guess that's what the tag means: someone should give it a spin and report back when they have!
I don't run into the issue with the Rmd, either. I'll try building the book and see what happens, just to see if I can get block2 to work at all. I have to install a bunch of packages in different pages, though, which inspired me to file enhancement request #11321.
Illustration of the issue I'm hitting, may be different from the one originally described but confident that it's reproducible, unless it's been fixed in more recent versions:
Activity
kevinushey commentedon May 27, 2022
Thanks for the bug report! I wasn't able to reproduce using the latest daily builds, with the following document:
For posterity:
Are you able to provide any other detail that might help us reproduce the problem locally? (Perhaps the issue is somehow specific to the content in your R Markdown document?)
Robinlovelace commentedon May 30, 2022
On the latest version if there is a block like the following it fails for me:
ronblum commentedon May 31, 2022
@gisselacornejocastellano and @Robinlovelace A couple of questions:
block2or also withror other chunk types?block2before—is there any setup I need to perform, or is this part of a project type such asbookdownetc., to get it to work? I can see that the running the chunk is attempted when run on its own or with any of the "run all" options, but I get:Warning: don't know how to handle 'block2' engine outputRobinlovelace commentedon May 31, 2022
Yes, not sure when the presumed regression happened.
Not sure if it's an issue with other chunk types.
And yes this is part of a bookdown workflow, another reproducible example that should be self-standing: https://github.com/Robinlovelace/geocompr/blob/main/02-spatial-data.Rmd
Robinlovelace commentedon May 31, 2022
Question for you @ronblum can you not reproduce the error? Noting the repro needed tag but I think the above constitutes a reprex of sorts...
ronblum commentedon May 31, 2022
The tag "repro needed" really means, "more information needed," or more fully, "internal RStudio employees can't reproduce it, so a reprex or other information is needed from the original poster or anyone in the user community." But that would be a very long tag. 😄
Robinlovelace commentedon May 31, 2022
Makes sense and thanks for the clarification. But if you try downloading and opening this file: https://github.com/Robinlovelace/geocompr/blob/main/02-spatial-data.Rmd
I think you and colleagues will be able to reproduce it. I guess that's what the tag means: someone should give it a spin and report back when they have!
ronblum commentedon May 31, 2022
I don't run into the issue with the Rmd, either. I'll try building the book and see what happens, just to see if I can get
block2to work at all. I have to install a bunch of packages in different pages, though, which inspired me to file enhancement request #11321.Robinlovelace commentedon May 31, 2022
Interesting... Will re-test on latest version of RStudio here and share the vid in case that would be useful.
Robinlovelace commentedon May 31, 2022
Illustration of the issue I'm hitting, may be different from the one originally described but confident that it's reproducible, unless it's been fixed in more recent versions:
20 remaining items
Robinlovelace commentedon Jun 17, 2022
And, to my surprise, previous versions of RStudio.
Robinlovelace commentedon Oct 15, 2022
Nudge on this, it's a substantial bug. Hopeful for a fix before 2023-02-01, as per milestone, but great to see a timeline for this.
JacobBumgarner commentedon Jun 15, 2024
FYI, the
rstudio-server-2024.04.2-764-amd64RStudio update fixed this problem for me.gtritchie commentedon Jan 17, 2025
This was fixed in 2024.12.0. See #11995 (issue) and #15139 (PR) for details.