setup_nm_demo: Setup demo in current directory

Description Usage Arguments Details Value See Also

View source: R/directory-management.R

Description

[Stable]

Following through the demo is the fastest way to learn the syntax of NMproject. The default demo is a Theophylline ("theopp") pharmacometric analysis. Scripts will be copied numbered s01_XXX.Rmd, s02_XXX.Rmd in the "Scripts" directory and a dataset into "SourceData". The "staging" area will also be pre-filled with the code library model, "ADVAN2.mod". To practice copying this yourself, see code_library() for how the app works.

Usage

1
2
3
4
5
setup_nm_demo(
  demo_name = "theopp",
  overwrite = FALSE,
  additional_demo_locations = NULL
)

Arguments

demo_name

Character. Name of demo. Default = "theopp". See details to find other demos

overwrite

Logical. Default changed to FALSE.

additional_demo_locations

Character vector. default = NULL. Locations for demo directories.

Details

Available demo_name correspond to directory locations in system.file("extdata","examples",package = "NMproject")

Value

Invisibly returns a tibble with imported file information.

See Also

code_library()


NMproject documentation built on Oct. 18, 2021, 1:08 a.m.