The goal of nat.devtools is to enable efficient development of R packages according to natverse conventions.

Use

Once you’re all set up, then the easiest way to use the package to configure your current project is to do:

nat.devtools::nat_setup_package()

This configures almost everything about a project and will ask interactive questions to determine if you want to upgrade / overwrite different files.

If you switch between different projects in the same session, then you must do:

usethis::proj_set()

to set the active project to the current directory.