file_local: Find a file specific to the lingcod package

View source: R/file_local.R

file_localR Documentation

Find a file specific to the lingcod package

Description

A shortcut for system.file when you get tired of typing which package you need to find the file in.

Usage

file_local(...)

Arguments

...

Sections of a file path passed to system.file. This will be valid for anything inside of ⁠inst\⁠.

Author(s)

Kelli F. Johnson thanks to bookdown.

Examples

# List the files in the directory inst\extdata
dir(file_local("extdata"))


iantaylor-NOAA/Lingcod_2021 documentation built on Oct. 30, 2024, 6:42 p.m.