standardize_pkgs {RInno}R Documentation

Standardize package dependencies

Description

Standardizes (named or not) character vectors of package dependencies and formats it for config.cfg.

Usage

standardize_pkgs(pkgs, check_version = FALSE, names = FALSE)

Arguments

pkgs

Processes pkgs, and locals, arguments of create_config and create_app.

check_version

Boolean. If true, check to make sure the package version is not ahead of CRAN.

Value

Package dependency list with version numbers and inequalities. Defaults to paste0(">=", packageVersion(pkg)).

Author(s)

William Bradley and Jonathan Hill


[Package RInno version 0.2.1 Index]