Construct paths to files in the extdata folder of a package
find_extdata(..., package = NULL, firstpath = NULL, Verbose = FALSE)
A character vector containing the constructed path
inst/extdata
is the conventional place to store data that is
not managed directly by the standard R package mechanisms. Unfortunately
its location changes at different stages of the package build/load process,
since in the final package all folders underneath inst
are moved
directly to the package root.
Other extdata:
read_nl_from_parts()
,
save_nl_in_parts()
find_extdata(package='nat.utils')
#> [1] "/Users/runner/work/_temp/Library/nat.utils/extdata"