This function downloads the products folder from
the SHARK4R GitHub repository and places them in a user-specified directory.
These folders contain Shiny applications and R Markdown documents used for
quality control (QC) of SHARK data.
Arguments
- path
Character string specifying the target directory where the
productsfolder should be stored. Defaults to the current working directory (".").- run_app
Logical, if
TRUEruns the QC Shiny app located in theproductsfolder after setup. Default isFALSE.- force
Logical, if
TRUEforces a re-download and overwrites existing folder. Default isFALSE.- verbose
Logical, if
TRUEprints progress messages. Default isTRUE.
Details
By default, the folders are downloaded into the current working directory.
If the folders already exist, the download will be skipped unless
force = TRUE is specified. Optionally, the function can launch the
QC Shiny app directly after setup.
Examples
if (FALSE) { # \dontrun{
# Download support files into current working directory
check_setup()
# Download into a specific folder in current working directory
check_setup(path = "shark_qc")
# Force re-download if already present
check_setup(force = TRUE)
# Download and run the QC Shiny app
check_setup(run_app = TRUE)
} # }
