| proj_check_deps | R Documentation | 
This uses renv::dependencies(), which scans your project directory for
package-dependency declarations. It compares packages detected in the code
with those declared in the DESCRIPTION to determine
missing and extra package-dependency declarations.
By default, proj_upate_deps() will not remove extra package-dependency
declarations; you can change this by using remove_extra = TRUE.
Prints missing and extra dependencies.
Updates DESCRIPTION file with missing and
extra dependencies.
proj_check_deps(path = usethis::proj_get()) proj_update_deps(path = usethis::proj_get(), remove_extra = FALSE)
| path | 
 | 
| remove_extra | 
 | 
Invisible NULL, called for side effects.
# not run because it produces side effects
if (FALSE) {
  # check DESCRIPTION for missing and extra dependencies
  proj_check_deps()
  # update DESCRIPTION with missing dependencies
  proj_update_deps()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.