Trying to get reactR to run on the Ubuntu 18.04 image rstudio/r-base:3.6-bionic, I needed to install the following system dependencies:
curl -sL https://deb.nodesource.com/setup_13.x | sudo -E bash -
sudo apt-get install -y nodejs
(I chose the nodesource version here, because I couldn't get vanilla apt to work)
sudo npm install -g yarn
(needs to be installed from npm, not apt otherwise any later yarn install won't work)
I'm not much of a node expert -- are these dependencies alright or are different versions recommended?
I think it'd be nice if these system dependencies could be:
All of this might make it a bit easier on users who might typically not be fluent in these ecosystems (node).
If this is of interest, I'd be happy to write up a PR as well.
I'd appreciate any feedback you might have on what proper dependencies and sources thereof might be for the different OSes.
Trying to get reactR to run on the Ubuntu 18.04 image
rstudio/r-base:3.6-bionic, I needed to install the following system dependencies:curl -sL https://deb.nodesource.com/setup_13.x | sudo -E bash -sudo apt-get install -y nodejs(I chose the nodesource version here, because I couldn't get vanilla apt to work)
sudo npm install -g yarn(needs to be installed from npm, not apt otherwise any later
yarn installwon't work)I'm not much of a node expert -- are these dependencies alright or are different versions recommended?
I think it'd be nice if these system dependencies could be:
DESCRIPTIONThis way authors of htmlwidgets wouldn't even necessarily have to document sysreqs in their
DESCRIPTION, because they would carry over fromImports: reactR.All of this might make it a bit easier on users who might typically not be fluent in these ecosystems (node).
If this is of interest, I'd be happy to write up a PR as well.
I'd appreciate any feedback you might have on what proper dependencies and sources thereof might be for the different OSes.