interactive_model_check: check model existance during interactive use to protect...

Description Usage Arguments Examples

Description

check model existance during interactive use to protect against improperly set paths

Usage

1

Arguments

.model

modelfile name in directory of file where overseer is set

Examples

1
2
3
4
5
6
7
8
## Not run: 
# given a model my_model.cpp
if (!interactive_model_check("my_model.cpp")) {
  stop("make sure the directory is set to the models directory before running
  interactively to make sure the relative paths will be the same as when sourcing")
}

## End(Not run)

dpastoor/overseer documentation built on May 15, 2019, 1:22 p.m.