File: test_init.R

package info (click to toggle)
r-cran-tinytest 1.4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,072 kB
  • sloc: sh: 14; makefile: 2
file content (10 lines) | stat: -rw-r--r-- 206 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10

oldterm <- Sys.getenv("TERM")
Sys.setenv(TERM = "dumb") # will be unset by tinytest
tinytest:::.onLoad()
expect_false(getOption("tt.pr.color"))

# reset option set by .onLoad()
options(tt.pr.color=NULL)