powered by
This creates a minimal TOML file with a [manifesto], [project], [environment], and empty [dependencies] section.
[manifesto]
[project]
[environment]
[dependencies]
manifest_create( path, project_name = "Project", project_version = "0.0.1", manifesto_version = manifest_version(), r_version = "*", ... )
Invisibly returns the written path.
File path to write to. If missing, a temporary file will be used.
Optional project name. Defaults to Project.
Project
Optional project version. Defaults to 0.0.1.
0.0.1
Optional manifesto version. Defaults to the current package version.
manifesto
Optional R version settings. Defaults to '*'.
'*'
Additional named arguments to add to the manifest. These will be added to the top-level of the TOML file.
path <- manifest_create( dependencies = list(dplyr = '>= 1.0.0'), 'suggests-dependencies' = list(testthat = '>= 3.0.0') )
Run the code above in your browser using DataLab