tests/testthat.R

library(testthat)
library(envi)

## 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("envi")
future::plan(future::sequential)

Try the envi package in your browser

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

envi documentation built on Feb. 16, 2023, 7:38 p.m.