| check_files | R Documentation |
Check file structure before running the age model.
check_files(wdir, entity = NULL, am = "bacon")
wdir |
Working directory, absolute or relative path. |
entity |
Entity name. |
am |
Age model name. |
If only wdir is passed, the value of entity will be extracted
from the last portion of wdir. For example, if
wdir = "/path/to/a", then entity = "a" and
wdir = "/path/to". If entity = NULL and wdir = "/"
the function will return an error message, because the path is too short.
To use the current working directory, wdir = "./".
Stop the execution if the file structure does not match the expected for the age model.
## Not run:
ageR:::check_files("/", "test")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.