Ensure an outsider module builds, imports correctly and all its functions successfully complete.

module_test(flpth = getwd(), verbose = FALSE, pull = FALSE)

Arguments

flpth

File path to location of module

verbose

Print docker and program info to console

pull

Pull image from Docker Hub? T/F

Value

Logical

Details

Success or fail, the module is uninstalled from the machine after the test is run.

See also

Examples

library(outsider) repo <- 'dombennett/om..hello.world' # installs, checks functions, runs function examples, uninstalls # module must already be uploaded to GitHub and Docker Hub # NOT RUN # module_test(repo = repo, verbose = TRUE)