outsider
outsider
modules!This package aims to make life easier for those who wish to build their own
outsider
modules. In just a few function calls: build a module skeleton,
check the file structures, test the module and upload it online!
Top banana! :banana:
Acquaint yourself better with all these steps by reading up on:
Happy building! :wrench:
Install via GitHub ....
# install.packages("remotes")
remotes::install_github("ropensci/outsider.devtools")
In addition to installing outsider.devtools
, the above code will also install
the key dependency packages
outsider.base
and
outsider
. (Read up on
remotes
)
Build an outsider
module to run echo
via the Linux distribution Ubuntu in just a few function calls.
# make my own quick package
library(outsider.devtools)
# construct a skeleton file structure for the module
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)
Visit the webpage "The Basics" to find out more.
outsider
packages interact?Bennett et al., (2020). outsider: Install and run programs, outside of R, inside of R. Journal of Open Source Software, 5(45), 2038, https://doi.org/10.21105/joss.02038
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.