-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
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 lateryarn 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:
- tightened up (i.e. are these the right versions / package repositories?)
- documented in
DESCRIPTION - documented in the vignette
- entering the necessary info to sysreqs and/or system requirements to programmatically install the system requirements.
This way authors of htmlwidgets wouldn't even necessarily have to document sysreqs in theirDESCRIPTION, 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.
Metadata
Metadata
Assignees
Labels
No labels