check_node_fn_deps: Check node module dependencies and install if missing

Description Usage Arguments

View source: R/node.R

Description

Put this function in .onAttach to check and install node module dependencies. This is useful because some dependencies are binary and can not be hosted on CRAN.

Usage

1
2
check_node_fn_deps(node_package, node_dir = "node", r_package = NULL,
  ask = TRUE, verbose = FALSE)

Arguments

node_package

the directory name of the node package in the R package

node_dir

the directory where node packages are kept. Defaults to 'node', which should be a directory under 'inst' when creaing your own package.

r_package

the package name which wraps the function. Must be specified as the function can't automatically detect the package inside .onAttach

ask

Ask before installing dependencies?

verbose

Show verbose installation? If \textask=TRUE, user decides


noamross/quickscraper documentation built on May 23, 2019, 9:30 p.m.