Skip to contents

Allorw to get paths from the package installation location for all extdata files.

Usage

IAM_example(file)

Arguments

file

Name of the file. Need to be in inst/extdata/ directory of the package

Details

simplified system from readr package.

Examples

IAM_example("IAM_SS3_2009.RData")
#> [1] "/home/runner/work/_temp/Library/IAM/extdata/IAM_SS3_2009.RData"
IAM_example("inputFile.xlsx")
#> [1] "/home/runner/work/_temp/Library/IAM/extdata/inputFile.xlsx"
IAM_example("fleets")
#> [1] "/home/runner/work/_temp/Library/IAM/extdata/fleets"