R_user_dir: Backport of R_user_dir for R < 4.0.0

View source: R/R_user_dir.R

R_user_dirR Documentation

Backport of R_user_dir for R < 4.0.0

Description

See the original description in tools::R_user_dir.

Usage

R_user_dir(package, which = c("data", "config", "cache"))

Examples

# get function from namespace instead of possibly getting
# implementation shipped with recent R versions:
bp_R_user_dir = getFromNamespace("R_user_dir", "backports")

bp_R_user_dir("backports")

backports documentation built on June 24, 2024, 5:24 p.m.