tests/testthat.R

library(testthat)

# Source all R files since package may not be installed
r_files <- list.files("../../R", pattern = "\\.R$", full.names = TRUE)
for (file in r_files) {
  source(file, local = FALSE)
}

test_check("pricesensitivitymeter")

Try the pricesensitivitymeter package in your browser

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

pricesensitivitymeter documentation built on Aug. 24, 2025, 1:09 a.m.