I am running:
R version 4.5.2
devtools version 2.4.6
Rstudio version: 2025.09.2+418
when I run devtools::build_readme() is recieve an error message that Rstudio not running,
> devtools::build_readme()
ℹ Installing <package> in temporary library
Error in `(function (command = NULL, args = character(), error_on_status = TRUE, …`:
! System command 'Rcmd.exe' failed
---
Exit status: 1
Stdout & stderr:
Error: RStudio not running
Execution halted
---
Type .Last.error to see the more details.
there are two problems with this:
- devtools::build_readme should not depend on having Rstudio running
and - I am running this inside of Rstudio so there shouldn't be a problem anyway.