Skip to content

add/document recommended system dependencies for reactR #36

@maxheld83

Description

@maxheld83

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:

  • 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 their DESCRIPTION, because they would carry over from Imports: 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
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions