seal: Sealing the test results

Description Usage Arguments Examples

View source: R/seal.R

Description

Recording the state of the object

Usage

1
2
seal(test, load_testthat = FALSE, clip = TRUE, ts = TRUE,
  mask_seal = FALSE)

Arguments

test

test

load_testthat

include library(testthat) when TRUE

clip

If TRUE will overwrite the system clipboard. When clipr is not available, The clip arguments is forcibly FALSE.

ts

include comments that timestamp?

mask_seal

Whether to comment out after executing the function. Default FALSE. This option is effective only when using RStudio.

Examples

1
2
3
4
5
6
7
8
## Not run: 
x <- 3.14
tests <- transcribe(x, seal = FALSE)
seal(tests, load_testthat = TRUE)
seal(tests, load_testthat = FALSE)
seal(tests, load_testthat = FALSE, clip = FALSE)

## End(Not run)

uribo/sealr documentation built on May 26, 2019, 5:34 a.m.