Skip to contents

This function downloads the JSON schemas for the various ComptoxAI API endpoints (chemical, hazard, bioactivity, exposure) from production. The schemas are saved in the 'schema' directory of the project.

Usage

ct_schema(timeout = 30)

Arguments

timeout

Maximum time (in seconds) to wait for each download. Default: 30.

Value

Invisibly returns NULL without changing endpoint settings.

Examples

if (interactive()) {
 ct_schema()
}