distro_req: Get system requirements from package name

Description Usage Arguments Value

View source: R/distro_req.R

Description

This function use RStudio's repository of system requirements: https://github.com/rstudio/r-system-requirements. A local copy/clone of this repository must be available.

Usage

1
distro_req(reqs, distro, system_req_folder)

Arguments

reqs

A data.frame from get_package_reqs() with free-form system requirements.

distro

[character] Name of the Linux distribution.

system_req_folder

The location of a local clone of "System Requirements for R Packages".

Value

A data.frame with columns "Rule" and "Package", where "Package" is the name of systems package on distro.


robertdj/pkg.deps documentation built on June 25, 2021, 9:51 p.m.