View source: R/install_nodejs.R
install_nodejs | R Documentation |
Install Node.js
install_nodejs( node_url = "https://nodejs.org/dist", nodejs_path = file.path(system.file(package = "electricShine"), "nodejs"), force_install = FALSE, nodejs_version = "v12.16.2", permission_to_install = FALSE )
node_url |
path to node.js.org |
nodejs_path |
parent folder of node.exe (~nodejs_path/node.exe) |
force_install |
try and install even if nodejs exists (TRUE/FALSE) |
nodejs_version |
version of node.js (eg "v10.16.0") |
permission_to_install |
whether to skip .prompt_install_nodejs() |
installed or checked nodejs_path
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.