The goals of this package are to provide:

Details

  • some lightweight package-dependency management tools for R projects, relying on the DESCRIPTION file.

  • some tools to support RMarkdown-based workflows.

The DESCRIPTION file is used, perhaps more famously, to manage dependencies for packages. Here, it is subject to the same limitation: the project will run using the latest version of all its dependencies. This assumption makes this a lightweight solution; the cost is making sure the project remain current with its dependencies.

This package's functions are mostly wrappers to usethis and renv functions.

There is function to create a project: proj_create().

Functions to manage dependencies:

proj_use_description()

Add a DESCRIPTION file.

proj_update_deps()

Update the package-dependency declaration in DESCRIPTION.

proj_check_deps()

Check the package-dependency declaration in DESCRIPTION.

proj_install_deps()

Install the packaage dependencies.

Functions to manage workflows:

proj_use_workflow()

Establish a workflow directory.

proj_workflow_use_rmd()

Create a workflow Rmd file from a template.

proj_workflow_use_action()

Use a GitHub Action for a workflow.