tests/testthat/setup.R

# The client-side throttle would make mocked replays sleep between requests;
# nothing in the suite touches the network, so pacing protects nothing here.
# The integration test re-enables it locally.
old_throttle <- options(virustotal.throttle = FALSE)
withr::defer(options(old_throttle), teardown_env())

Try the virustotal package in your browser

Any scripts or data that you put into this service are public.

virustotal documentation built on Aug. 20, 2026, 5:07 p.m.