module_test | R Documentation |
Ensure an outsider module builds, imports correctly and all its functions successfully complete.
module_test(flpth = getwd(), verbose = FALSE, pull = FALSE)
flpth |
File path to location of module |
verbose |
Print docker and program info to console |
pull |
Pull image from Docker Hub? T/F |
Success or fail, the module is uninstalled from the machine after the test is run.
Logical
Other build:
module_build()
,
module_check()
,
module_identities()
,
module_skeleton()
,
module_travis()
,
module_upload()
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.