mm_locate_filename: Look for a model file

View source: R/mm_locate_filename.R

mm_locate_filenameR Documentation

Look for a model file

Description

Looks first in the models folder of the streamMetabolizer package, second along the relative or absolute file path given by model_name

Usage

mm_locate_filename(model_name)

Arguments

model_name

a model file in the 'models' folder of the streamMetabolizer package or a relative or absolute file path of a model file

Value

a file path if the file exists or an error otherwise


USGS-R/streamMetabolizer documentation built on Aug. 15, 2023, 7:50 a.m.