/usr/share/doc/r-cran-jsonlite/tests/testthat.R is in r-cran-jsonlite 1.5-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 | #This file runs all unit tests on every R CMD check.
#Comment this out to disable.
library(testthat)
#filter is to disable tests that rely on external servers
test_check("jsonlite", filter="toJSON|fromJSON|libjson|serializeJSON")
|