getOptionRPackageCache: Get the option for 'Require.RPackageCache'

View source: R/setup.R

getOptionRPackageCacheR Documentation

Get the option for Require.RPackageCache

Description

First checks if an environment variable Require.RPackageCache is set and defines a path. If not set, checks whether the options("Require.RPackageCache") is set. If a character string, then it returns that. If TRUE, then use RequirePkgCacheDir(). If FALSE then returns NULL.

Usage

getOptionRPackageCache()

Require documentation built on May 31, 2023, 7:06 p.m.