Do

module_build(
  flpth = getwd(),
  tag = "latest",
  build_documents = TRUE,
  build_package = TRUE,
  build_image = TRUE,
  build_readme = TRUE,
  verbose = TRUE
)

Arguments

flpth

File path to location of module.

tag

Docker tag, e.g. latest.

build_documents

Build R documentation? T/F

build_package

Build R package? T/F

build_image

Build Docker image? T/F

build_readme

Build README.md? T/F

verbose

Be verbose? T/F

Value

Logical

See also

Examples

#> Docker is not installed. Follow the installation instructions for your system: #> https://docs.docker.com/
#> ---------------- #> outsider v 0.1.1 #> ---------------- #> - Security notice: be sure of which modules you install #> - Warning: no Docker detected!
# NOT RUN # # build a skeleton package # module_path <- module_skeleton(program_name = 'echo', flpth = getwd()) # # check the file structure # module_check(flpth = module_path) # # look-up key identifying names: R package name, Docker image name # module_identities(flpth = module_path) # # build the R package and Docker image # module_build(flpth = module_path, tag = 'latest') # # test the module # module_test(flpth = module_path) # # clean-up # unlink(x = module_path, recursive = TRUE)