Learn R Programming

packager (version 1.9.0)

get_package_makelist: Provide a makelist Suitable for Packages with packager

Description

Provide a makelist Suitable for Packages with packager

Usage

get_package_makelist(is_cran = FALSE, gitlab_token = NULL)

Arguments

is_cran

Streamline makelist for usage on CRAN?

gitlab_token

A private gitlab token. Used to query logs on https://about.gitlab.com.

Value

A list for fakemake::make.

Examples

Run this code
# NOT RUN {
ml <- packager::get_package_makelist()
cbind(lapply(ml, function(x) x[["target"]]),
      lapply(ml, function(x) x[["alias"]]))

cl <- packager::get_package_makelist(is_cran = TRUE)
setdiff(sapply(ml, function(x) x[["target"]]),
        sapply(cl, function(x) x[["target"]]))
# }

Run the code above in your browser using DataLab