C System Dependency Detection

R packages often depend on system libraries or other software external to R. These dependencies are not automatically installed, but a package’s DESCRIPTION file may reference them using the SystemRequirements field. The SystemRequirements field serves as a helpful reference but does not provide detailed installation instructions; installing system dependencies for a package can be challenging, especially when the instructions differ by operating system.

RStudio Package Manager simplifies this task by automatically detecting known system dependencies and providing installation commands for supported Linux operating systems:

  • Ubuntu 16.04, 18.04
  • CentOS 6, 7
  • Red Hat Enterprise Linux 6, 7
  • openSUSE 42.3, 15.0
  • SUSE Linux Enterprise 12 SP3+, 15

Installation commands for known system dependencies are displayed on the package page in the web interface.

NOTE: While RStudio Package Manager makes a best effort to provide accurate information, these installation commands may be insufficient if a package has not declared its system dependencies or if a particular system dependency is unknown to RStudio Package Manager. Please refer to the package’s system requirements information or README file if you are having trouble installing its system dependencies.