Skip to content

Required Fields

The first set of configurations are the fields that are required and most commonly used. These options must be under the [project] header.

  • name - A name for your project
  • r_version - The R version for which to install packages. See use_devel if you’re running R-devel.
  • repositories - A list of CRAN-like repositories to fetch packages from. The order matters!
  • dependencies - A list of dependencies to install
rproject.toml
[project]
name = "simple"
r_version = "4.5"
repositories = [
{ alias = "PPM", url = "https://packagemanager.posit.co/cran/latest" },
]
dependencies = [
"dplyr",
"ggplot2",
]