File: special-files.R

package info (click to toggle)
r-cran-testthat 3.2.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,452 kB
  • sloc: cpp: 9,261; ansic: 37; sh: 14; makefile: 5
file content (20 lines) | stat: -rw-r--r-- 652 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
## ----include = FALSE----------------------------------------------------------
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

## ----setup--------------------------------------------------------------------
library(testthat)

## ----eval = FALSE-------------------------------------------------------------
# op <- options(reprex.clipboard = FALSE, reprex.html_preview = FALSE)
# 
# withr::defer(options(op), teardown_env())

## ----eval = FALSE-------------------------------------------------------------
# withr::local_options(
#   list(reprex.clipboard = FALSE, reprex.html_preview = FALSE),
#   .local_envir = teardown_env()
# )