dkane
1
I think that the "Document Package" menu item, also available via Cmd/Ctrl-Shift-D, is broken in the new RStudio. When I select it, I see:
==> roxygen2::roxygenize('.', roclets = c('rd', 'collate', 'namespace')
Error: unexpected '}' in "suppressPackageStartupMessages({ Sys.setlocale('LC_COLLATE', 'C'); roxygen2::roxygenize('.', roclets = c('rd', 'collate', 'namespace') }"
Execution halted
Exited with status 1.
Seems like a closing paratheses is missing in the call to roxygenize().
Gabor
2
This is a bug, so it is better suited for the RStudio issue tracker at GitHub, and indeed it is already there: building any package fails when set to generate docs on build · Issue #15236 · rstudio/rstudio · GitHub
There is also a workaround there.
1 Like
system
Closed
3
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.