Skip to contents

This function builds an appifyr application by rendering the R Markdown site, documenting the package, and installing it for use with OpenCPU.

Usage

build_app(
  app_dir = "app/website",
  document = TRUE,
  install = TRUE,
  quiet = FALSE
)

Arguments

app_dir

Path to the app directory (default: "app/website")

document

Logical; whether to run roxygen2 documentation (default: TRUE)

install

Logical; whether to install the package (default: TRUE)

quiet

Logical; whether to suppress output messages (default: FALSE)

Value

Invisibly returns TRUE if successful

Examples

if (FALSE) { # \dontrun{
# Build the app with default settings
build_app()

# Build without installing
build_app(install = FALSE)

# Build a specific app directory
build_app("my_custom_app/website")
} # }