tests/testthat.R

# Suggested packages are used conditionally, so the package still checks
# where testthat is not installed.
if (requireNamespace("testthat", quietly = TRUE)) {
  library(testthat)
  library(qpmR)

  test_check("qpmR")
}

Try the qpmR package in your browser

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

qpmR documentation built on Sept. 29, 2026, 5:10 p.m.