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
I am not sure if here is the best place to comment, but I noticed a small bug with the roxygen annotations, when issuing ctrl+enter to run the next expression. Only in particular cases, such as when the roxygen annotation is not the first comment in a given section, it works as expected (or as I am used to from RStudio), otherwise, each roxygen annotation line is sent to the console line by line. Please see the screencast that shows what I mean.
I didn't know about plumber annotations, but they work fine, I might just use them from now on...
It is actually a minor bug that I am not sure I should open a new issue for it. Should I?
Screencast.From.2024-11-19.21-15-35.mp4Code for reprex
# Running`workbench.action.positronConsole.executeCode` via `Ctrl+Enter`
(x<-0)
# normal comments are skipped
(x<-x+1)
#* plumber annotations as well
(x<-x+1)
#' This is a roxygen annotation (or a comment)#' These are nice for longer comments (auto new line, highlights, etc)
(x<-x+1)
## If the roxygen annotation is not the first comment in a given area,#' it works fine as well... #' This is a roxygen annotation (or a comment)#' These are nice for longer comments (auto new line, highlights, etc)
(x<-x+1)
Originally posted by @avila in #5367
The text was updated successfully, but these errors were encountered: