tests/testthat.R

library(testthat)
library(pkgload)

# Needed so that install.packages works correctly
Sys.setenv("R_TESTS" = "")

test_check("pkgload")
r-lib/pkgload documentation built on Feb. 3, 2024, 9:48 p.m.