This is the underlying function used by:
New Project ->
New Directory ->
New NMproject. It creates a new analysis working
directory with a directory structure similar to an R package.
Character path (relative or absolute) to project. If just specifying a name, this will create the analysis project in the current working directory. See details for naming requirements.
Character list or vector. Default =
also handle an ordered string which is supplied by the RStudio project
path requirements and function behaviour.
Logical (default =
renv be used or not in
Package name from which to load the README
template (default =
The function works like as is inspired by
starters::create_analysis_project(). There is no restriction on directory
name. It is therefore possible to violate R package naming conventions.
style = "analysis" is selected, the analysis directory will be
package-like in structure, with the package name
style = "analysis-package",
path should contain only (ASCII)
letters, numbers and dot, have at least two characters and start with a
letter and not end in a dot. See Description file requirements
for more information.
This is to cater to users who like underscores and aren't interested in creating a package.
Default modelling directories can be modified with
options() for information on how to modify this). A (partially) named
list of directories to be used by
nm_create_analysis_project Required names
"results". By default these are set to
"Results", respectively. Additional nameless
"SourceData") correspond to additional modelling
intended for unmodified source datasets entering the analysis project.
intended for cleaned and processed NONMEM ready datasets
intended for all R scripts
intended for all NONMEM modelling
intended as default location for run diagnostics, plots and tables
nm_default_dirs() for modifying default directory structure.