pkg_resource: Fetch a Resource from the Current Package

View source: R/pkg_resource.R

pkg_resourceR Documentation

Fetch a Resource from the Current Package

Description

Fetch a Resource from the Current Package

Usage

pkg_resource(..., package = "bscContentHelpers")

Arguments

...

The search string for the desired resource

package

The name of the package

Value

The path to the resource

Examples

pkg_resource("rmd_files/custom.css")

rmlane/bscContentHelpers documentation built on Jan. 30, 2024, 9:43 a.m.