tests/testthat.R

library(testthat)
library(sparrpowR)

## WORKAROUND: Avoid R bug 18119 [1] that is trigger when for instance the
## 'tcltk' package is loaded on macOS, or when running in the RStudio Console
## [1] https://bugs.r-project.org/bugzilla/show_bug.cgi?id=18119
options(parallelly.makeNodePSOCK.setup_strategy = "sequential")

test_check("sparrpowR")
future::plan(future::sequential)

Try the sparrpowR package in your browser

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

sparrpowR documentation built on Feb. 16, 2023, 5:53 p.m.