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: '/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/Rtmpkww8mr/file84617e169b8/reference'
#> * active_usethis_proj: '/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/Rtmpkww8mr/file84617e169b8'
#> * active_rstudio_proj: <unset>
#> Your working directory is not the same as the active usethis project. #> Set working directory to the project: `setwd(proj_get())` #> Set project to working directory: `proj_set(getwd())`