setup_nm_demo: Setup demo in current directory

View source: R/directory-management.R

setup_nm_demoR Documentation

Setup demo in current directory

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

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 Sept. 30, 2022, 1:06 a.m.