list_LEEF_packages: List packages on which LEEF depends from the LEEF-UZH repo

View source: R/list_LEEF_packages.R

list_LEEF_packagesR Documentation

List packages on which LEEF depends from the LEEF-UZH repo

Description

This function is a wrapper around tools::package_dependencies("LEEF", which = "all", recursive = TRUE) which returns only the packages which contain .LEEF or LEEF. and the package LEEF itself.

Usage

list_LEEF_packages(recursive = TRUE, versions = FALSE)

Arguments

recursive

logical: should (reverse) dependencies of (reverse) dependencies (and so on) be included? defaults to TRUE

versions

logical: should versions be returned as well.

Details

This function is a convenience function and only returns useful results when all packages which are dependencies of the LEEF package are prefixed with LEEF. or postficxed with .LEEF.

Value

list of all packages which are installed which contain .LEEF or LEEF. and the package LEEF itself

Examples

## Not run: 
list_LEEF_packages()

## End(Not run)

LEEF-UZH/LEEF documentation built on Feb. 10, 2025, 5:20 a.m.