check_ecotox_availability: Check whether a ECOTOX database exists locally

View source: R/init.r

check_ecotox_availabilityR Documentation

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())

Arguments

target

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

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.

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.

Author(s)

Pepijn de Vries

Examples

check_ecotox_availability()

ECOTOXr documentation built on Oct. 10, 2023, 1:05 a.m.