Learn R Programming

SweaveListingUtils (version 0.7.7)

isBaseOrRecommended: isBaseOrRecommended

Description

finds out whether a package is of priority base and recommended.

Usage

isBaseOrRecommended(pkgs)

Arguments

pkgs
character; the packages for which we want to find out if it is of priority base and recommended.

Value

a logical of the same length as the input

Details

reads out the DESCRIPTION files of the packages to get the information.

Examples

Run this code
isBaseOrRecommended(pkgs = c("SweaveListingUtils","Matrix","splines"))

Run the code above in your browser using DataLab