SciViews_packages: Give the list of SciViews::R packages and check for conflicts

View source: R/SciViews_packages.R

SciViews_packagesR Documentation

Give the list of SciViews::R packages and check for conflicts

Description

List required packages or conflicting functions. These functions are inspired by tidyverse::tidyverse_packages() and tidyverse::tidyverse_conflicts(), but adapted to the SciViews::R context.

Usage

SciViews_packages(..., all = FALSE)

SciViews_packages_topics(all = FALSE)

SciViews_conflicts(all = TRUE)

## S3 method for class 'SciViews_conflicts'
print(x, ..., startup = FALSE)

Arguments

...

Further topics to consider in SciViews::R. Currently, "infer", "model", "explore", "ml", "ts" or "spatial".

all

Should all packages be listed (TRUE) or only those that are attached to the search path (FALSE).

x

A SciViews_conflicts object

startup

Should the message be printed at startup?

Value

A list of packages for SciViews_packages(), or a SciViews_conflicted object with a print() method for SciViews_conflicts().

Examples

# List of packages attached to the search path with SciViews::R
SciViews_packages()
# More complete list of packages used by SciViews::R
SciViews_packages(all = TRUE)
# Even more packages, by adding also 'model' and 'ml' topics
SciViews_packages("model", "ml", all = TRUE)
# Conflicts
SciViews_conflicts()

SciViews/SciViews documentation built on Sept. 16, 2023, 10:26 p.m.