tests/testthat.R

library(testthat)

set.seed(10231)

.on_cran <- function() !identical(Sys.getenv("NOT_CRAN"), "true")

if (!.on_cran()) {
  cat("Starting tests for 'LambertW' package ...")
  test_check("LambertW")
} else {
  cat("Skipping tests on CRAN.")
}

Try the LambertW package in your browser

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

LambertW documentation built on May 29, 2024, 4:30 a.m.