-
Notifications
You must be signed in to change notification settings - Fork 125
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
Problem with roxygen commands #806
Comments
I can reproduce this also on Linux if I send the line containing |
Thank you for the help, @jranke ! |
Not sending the roxygen comments is obviously a possibility. But roxygen comments are standards in all CRAN Packages, and they are inside the routines. So this is quite inconvenient. I think it would be better for Nvim-R to be able to cope with correct roxygen comments. |
@Dulohan, your contribution is welcome. You can do a pull request implementing your suggestion in VimScript for Nvim-R or in Lua for R.nvim. Unfortunately, I can no longer spend as much time as I did in the past implementing features that I will never use. And, in my opinion, we have other missing features deserving more attention, such as a debugger adapter, better support for Quarto documents, perhaps integration with |
I have R code containing roxygen comments containing a "\donttest" statement.
Apparently nvimr has problems with this command.
Fehler in base::source(getOption("nvimcom.source.path"), ..., print.eval = print
.eval, :
C:/Users/.../Rsource-15800:91:3: unerwartet
es Symbol
90: #' @examples
91: \donttest
The code in the file reads
#' @examples
#' \donttest{
so there is a "#'" comment before the donttest.
Maybe this is a windows specific problem .
The text was updated successfully, but these errors were encountered: