proj_sitrep() reports

  • current working directory

  • the active usethis project

  • the active RStudio Project Call this function if things seem weird and you're not sure what's wrong or how to fix it. Usually, all three of these should coincide (or be unset) and proj_sitrep() provides suggested commands for getting back to this happy state.



A named list, with S3 class sitrep (for printing purposes), reporting current working directory, active usethis project, and active RStudio Project

See also

Other project functions: proj_utils


#> working_directory: '/Users/jenny/rrr/usethis/docs/reference' #> active_usethis_proj: '/Users/jenny/rrr/usethis' #> active_rstudio_proj: NULL #> #> ● Your working directory is not the same as the active usethis project. #> To set working directory to the project: `setwd(proj_get())` #> To activate project in working directory: `proj_set(getwd())`