tests/testthat.R

library(testthat)
library(potools)

# Failed on Solaris because the command-line tools are missing there (which means tools doesn't work there), #186
if (isTRUE(check_potools_sys_reqs())) {
  test_check("potools")
} else {
  writeLines("Skipping tests on system without gettext installed")
}

Try the potools package in your browser

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

potools documentation built on Nov. 2, 2023, 5:20 p.m.