Flags system() / system2() / shell(), which need review for portability and for shell-injection risk.
Value
checktor_check_result() with passed, issues, message.
Source
No flat rule. A raw system() or system2() call needs review for
portability rather than being an automatic violation, which is why this sits
at robustness tier. 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_system_calls(pkg, verbose = FALSE)$passed
#> [1] TRUE