load_yaml_tricks: Load tricks from YAML file

View source: R/10-yaml.R

load_yaml_tricksR Documentation

Load tricks from YAML file

Description

Load tricks from YAML file

Usage

load_yaml_tricks(file = NULL, labels = NULL, reset = FALSE)

Arguments

file

Path to a YAML file, if NULL (the default) tricks are loaded from the user level and project level .r-tricks.yaml files if they exist

labels

labels of tricks to load, by default all tricks are loaded

reset

Whether to unload previously loaded tricks

Value

Returns the first argument invisibly, called for side effects.

Examples

yaml_path <- system.file("tricks.yaml", package = "tricks")
load_yaml_tricks(yaml_path)

moodymudskipper/poof documentation built on Dec. 10, 2024, 12:07 a.m.