Flags network access in code or examples that runs without a guard.
Value
checktor_check_result() with passed, issues, message.
Source
The CRAN Repository Policy
states that "Packages which use Internet resources should fail gracefully
with an informative message if the resource is not available". See
vignette("check-sources", package = "checktor") for how every check maps to its
source.
See also
checktor(), which runs this and every other check.
Examples
pkg <- example_diagnose_scenario("code_examples/tf_usage_bad.R",
show_content = FALSE)
lab_network_operations(pkg, verbose = FALSE)$passed
#> [1] TRUE