Learn R Programming

ECOTOXr (version 1.1.1)

check_ecotox_availability: Check whether a ECOTOX database exists locally

Description

[Stable] Tests whether a local copy of the US EPA ECOTOX database exists in get_ecotox_path().

Usage

check_ecotox_availability(target = get_ecotox_path())

Value

Returns a logical value indicating whether a copy of the database exists. It also returns a files attribute that lists which copies of the database are found.

Arguments

target

A character string specifying the path where to look for the database file.

Author

Pepijn de Vries

Details

When arguments are omitted, this function will look in the default directory (get_ecotox_path()). However, it is possible to build a database file elsewhere if necessary.

Examples

Run this code
check_ecotox_availability()

Run the code above in your browser using DataLab