install_nodejs: Install Node.js

View source: R/install_nodejs.R

install_nodejsR Documentation

Install Node.js

Description

Install Node.js

Usage

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
)

Arguments

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()

Value

installed or checked nodejs_path


chasemc/electricShine documentation built on Oct. 12, 2022, 8:50 a.m.