Check if the locally build database is up to date
Source:R/database_access.r
check_ecotox_version.Rd
Checks the version of the database available on-line
from the EPA against the specified version (latest by default) of the database build
locally. Returns TRUE
when they are the same.
Usage
check_ecotox_version(path = get_ecotox_path(), version, verbose = TRUE)
Arguments
- path
When you have a copy of the database somewhere other than the default directory (
get_ecotox_path()
), you can provide the path here.- version
A
character
string referring to the release version of the database you wish to locate. It should have the same format as the date in the EPA download link, which is month, day, year, separated by underscores ("%m_%d_%Y"). When missing, the most recent available copy is selected automatically.- verbose
A
logical
value. If true messages are shown on the console reporting on the check.