Skip to content

Commit 6a88763

Browse files
authored
Don't run the ffi_qaqc example when checking package (#109)
* Don't run the ffi_qaqc example when checking package * Remove output_dir shenanigans
1 parent b3dcda4 commit 6a88763

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

R/qaqc.R

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,15 @@
1414
#' @export
1515
#'
1616
#' @examples
17+
#' # We don't run this example because of tempfile errors on CRAN,
18+
#' # but it works fine otherwise!
19+
#' \dontrun{
1720
#' # Toy data
1821
#' cars$Plot <- c("A", "B")
1922
#' fd <- ffi_compute_fluxes(cars, "Plot", "speed", "dist")
20-
#' x <- ffi_qaqc(fd, group_column = "Plot", output_dir = tempdir())
23+
#' x <- ffi_qaqc(fd, group_column = "Plot")
2124
#' file.remove(x) # clean up
25+
#' }
2226
#' # See the introductory vignette for a fully-worked example with real data
2327
ffi_qaqc <- function(flux_data,
2428
group_column,

man/ffi_qaqc.Rd

Lines changed: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)