tests/testthat.R

#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")

Try the jsonlite package in your browser

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

jsonlite documentation built on July 9, 2023, 6:11 p.m.