Running examples in ‘reproducible-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: Cache
> ### Title: Saves a wide variety function call outputs to disk and
> ###   optionally RAM, for recovery later
> ### Aliases: Cache
> 
> ### ** Examples
> 
> data.table::setDTthreads(2)
> tmpDir <- file.path(tempdir())
> opts <- options(reproducible.cachePath = tmpDir)
> 
> # Usage -- All below are equivalent; even where args are missing or provided,
> #   Cache evaluates using default values, if these are specified in formals(FUN)
> a <- list()
> b <- list(fun = rnorm)
> bbb <- 1
> ee <- new.env(parent = emptyenv())
> ee$qq <- bbb
> 
> a[[1]] <- Cache(rnorm(1)) # no evaluation prior to Cache
No cachePath supplied and getOption('reproducible.cachePath') is inside a temporary directory;
  this will not persist across R sessions.
> a[[2]] <- Cache(rnorm, 1) # no evaluation prior to Cache
No cachePath supplied and getOption('reproducible.cachePath') is inside a temporary directory;
  this will not persist across R sessions.
  ...(Object to retrieve (422bae4ed2f770cc.rds))
     loaded cached result from previous rnorm call
> a[[3]] <- Cache(do.call, rnorm, list(1))
No cachePath supplied and getOption('reproducible.cachePath') is inside a temporary directory;
  this will not persist across R sessions.
  ...(Object to retrieve (422bae4ed2f770cc.rds))
     loaded cached result from previous rnorm call
> a[[4]] <- Cache(do.call(rnorm, list(1)))
No cachePath supplied and getOption('reproducible.cachePath') is inside a temporary directory;
  this will not persist across R sessions.
  ...(Object to retrieve (422bae4ed2f770cc.rds))
     loaded cached result from previous rnorm call
> a[[5]] <- Cache(do.call(b$fun, list(1)))
No cachePath supplied and getOption('reproducible.cachePath') is inside a temporary directory;
  this will not persist across R sessions.
  ...(Object to retrieve (422bae4ed2f770cc.rds))
     loaded cached result from previous b$fun call
> a[[6]] <- Cache(do.call, b$fun, list(1))
No cachePath supplied and getOption('reproducible.cachePath') is inside a temporary directory;
  this will not persist across R sessions.
  ...(Object to retrieve (422bae4ed2f770cc.rds))
     loaded cached result from previous b$fun call
> a[[7]] <- Cache(b$fun, 1)
No cachePath supplied and getOption('reproducible.cachePath') is inside a temporary directory;
  this will not persist across R sessions.
  ...(Object to retrieve (422bae4ed2f770cc.rds))
     loaded cached result from previous b$fun call
> a[[8]] <- Cache(b$fun(1))
No cachePath supplied and getOption('reproducible.cachePath') is inside a temporary directory;
  this will not persist across R sessions.
  ...(Object to retrieve (422bae4ed2f770cc.rds))
     loaded cached result from previous $ call
> a[[10]] <- Cache(quote(rnorm(1)))
No cachePath supplied and getOption('reproducible.cachePath') is inside a temporary directory;
  this will not persist across R sessions.
  ...(Object to retrieve (422bae4ed2f770cc.rds))
     loaded cached result from previous quote call
> a[[11]] <- Cache(stats::rnorm(1))
No cachePath supplied and getOption('reproducible.cachePath') is inside a temporary directory;
  this will not persist across R sessions.
  ...(Object to retrieve (422bae4ed2f770cc.rds))
     loaded cached result from previous stats::rnorm call
> a[[12]] <- Cache(stats::rnorm, 1)
No cachePath supplied and getOption('reproducible.cachePath') is inside a temporary directory;
  this will not persist across R sessions.
  ...(Object to retrieve (422bae4ed2f770cc.rds))
     loaded cached result from previous stats::rnorm call
> a[[13]] <- Cache(rnorm(1, 0, get("bbb", inherits = FALSE)))
No cachePath supplied and getOption('reproducible.cachePath') is inside a temporary directory;
  this will not persist across R sessions.
  ...(Object to retrieve (422bae4ed2f770cc.rds))
     loaded cached result from previous rnorm call
> a[[14]] <- Cache(rnorm(1, 0, get("qq", inherits = FALSE, envir = ee)))
No cachePath supplied and getOption('reproducible.cachePath') is inside a temporary directory;
  this will not persist across R sessions.
  ...(Object to retrieve (422bae4ed2f770cc.rds))
     loaded cached result from previous rnorm call
> a[[15]] <- Cache(rnorm(1, bbb - bbb, get("bbb", inherits = FALSE)))
No cachePath supplied and getOption('reproducible.cachePath') is inside a temporary directory;
  this will not persist across R sessions.
  ...(Object to retrieve (422bae4ed2f770cc.rds))
     loaded cached result from previous rnorm call
> a[[16]] <- Cache(rnorm(sd = 1, 0, n = get("bbb", inherits = FALSE))) # change order
No cachePath supplied and getOption('reproducible.cachePath') is inside a temporary directory;
  this will not persist across R sessions.
  ...(Object to retrieve (422bae4ed2f770cc.rds))
     loaded cached result from previous rnorm call
> a[[17]] <- Cache(rnorm(1, sd = get("ee", inherits = FALSE)$qq), mean = 0)
No cachePath supplied and getOption('reproducible.cachePath') is inside a temporary directory;
  this will not persist across R sessions.
  ...(Object to retrieve (422bae4ed2f770cc.rds))
     loaded cached result from previous rnorm call
> 
> # with base pipe -- this is put in quotes ('') because R version 4.0 can't understand this
> #  if you are using R >= 4.1 or R >= 4.2 if using the _ placeholder,
> #  then you can just use pipe normally
> usingPipe1 <- 'b$fun(1) |> Cache()'  # base pipe
> 
> # For long pipe, need to wrap sequence in { }, or else only last step is cached
> usingPipe2 <-
+   '{"bbb" |>
+       parse(text = _) |>
+       eval() |>
+       rnorm()} |>
+     Cache()'
> if (getRversion() >= 4.1) {
+   a[[9]] <- eval(parse(text = usingPipe1)) # recovers cached copy
+ }
Error in .make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version) : 
  invalid non-character version specification 'x' (type: double)
Calls: Ops.numeric_version ... as.numeric_version -> numeric_version -> .make_numeric_version
Execution halted