createFunctionExtdataFile: Create Function to Compose Path in Package

View source: R/createFunctionExtdataFile.R

createFunctionExtdataFileR Documentation

Create Function to Compose Path in Package

Description

Create Function to Compose Path in Package

Usage

createFunctionExtdataFile(package)

Arguments

package

name of package for which to create a shortcut to system.file("extdata", ..., package = package)

Value

This function returns a function that internally calls system.file("extdata", ..., package = package)

Examples

extdataFile <- createFunctionExtdataFile("kwb.utils")
dir(extdataFile())

KWB-R/kwb.utils documentation built on April 1, 2024, 7:12 a.m.