View source: R/database_access.r
check_ecotox_build | R Documentation |
Performs some simple tests to check whether the locally built database is not corrupted.
check_ecotox_build(path = get_ecotox_path(), version, ...)
path |
A |
version |
A |
... |
Arguments that are passed to |
For now this function tests if all expected tables are present in the locally built
database. Note that in later release of the database some tables were added. Therefore
for older builds this function might return FALSE
whereas it is actually just fine
(just out-dated).
Furthermore, this function tests if all tables contain one or more records. Obviously, this is no guarantee that the database is valid, but it is a start.
More tests may be added in future releases.
Returns an indicative logical value whether the database is not corrupted.
TRUE
indicates the database is most likely OK. FALSE
indicates that something might
be wrong. Additional messages (when FALSE
) are included as attributes containing hints
on the outcoming of the tests. See also the 'details' section.
Pepijn de Vries
## Not run:
check_ecotox_build()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.