View source: R/helpers-for-tests.R
skip_vdiffr | R Documentation |
PMF_SKIP_VDIFFR
environment variable set to TRUE
Checks for custom PMF_SKIP_VDIFFR
environment variable and skips any tests
that use vdiffr
if set to "true"
. This is useful because
vdiffr::expect_doppleganger()
is very fragile and tends to fail with false
positives in other environments (like CI and R CMD CHECK
).
skip_vdiffr()
Uses isTRUE(as.logical(Sys.getenv("PMF_SKIP_VDIFFR")))
to check. This resolves to TRUE
if PMF_SKIP_VDIFFR
is set to any of the following:
"true"
"TRUE"
"T"
"True"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.