Running examples in 'heatwaveR-Ex.R' failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: block_average
> ### Title: Calculate yearly means for event metrics.
> ### Aliases: block_average
> 
> ### ** Examples
> 
> ts <- ts2clm(sst_WA, climatologyPeriod = c("1983-01-01", "2012-12-31"))
Error in clim_calc_cpp(ts_wide, windowHalfWidth, pctile) : 
  function 'enterRNGScope' not provided by package 'Rcpp'
Calls: ts2clm -> clim_calc_cpp
Execution halted
Running examples in ‘heatwaveR-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: block_average
> ### Title: Calculate yearly means for event metrics.
> ### Aliases: block_average
> 
> ### ** Examples
> 
> ts <- ts2clm(sst_WA, climatologyPeriod = c("1983-01-01", "2012-12-31"))
Error in clim_calc_cpp(ts_wide, windowHalfWidth, pctile) : 
  function 'enterRNGScope' not provided by package 'Rcpp'
Calls: ts2clm -> clim_calc_cpp
Execution halted
Running examples in ‘heatwaveR-Ex.R’ failed
The error most likely occurred in:

> ### Name: block_average
> ### Title: Calculate yearly means for event metrics.
> ### Aliases: block_average
> 
> ### ** Examples
> 
> ts <- ts2clm(sst_WA, climatologyPeriod = c("1983-01-01", "2012-12-31"))
Error in clim_calc_cpp(ts_wide, windowHalfWidth, pctile) : 
  function 'enterRNGScope' not provided by package 'Rcpp'
Calls: ts2clm -> clim_calc_cpp
Execution halted
Running ‘testthat.R’ [0m/90m]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(heatwaveR)
  > 
  > test_check("heatwaveR")
Running examples in ‘heatwaveR-Ex.R’ failed
The error most likely occurred in:

> ### Name: block_average
> ### Title: Calculate yearly means for event metrics.
> ### Aliases: block_average
> 
> ### ** Examples
> 
> ts <- ts2clm(sst_WA, climatologyPeriod = c("1983-01-01", "2012-12-31"))
Error in clim_calc_cpp(ts_wide, windowHalfWidth, pctile) : 
  function 'enterRNGScope' not provided by package 'Rcpp'
Calls: ts2clm -> clim_calc_cpp
Execution halted
Running ‘testthat.R’
Running examples in 'heatwaveR-Ex.R' failed
The error most likely occurred in:

> ### Name: block_average
> ### Title: Calculate yearly means for event metrics.
> ### Aliases: block_average
> 
> ### ** Examples
> 
> ts <- ts2clm(sst_WA, climatologyPeriod = c("1983-01-01", "2012-12-31"))
Error in clim_calc_cpp(ts_wide, windowHalfWidth, pctile) : 
  function 'enterRNGScope' not provided by package 'Rcpp'
Calls: ts2clm -> clim_calc_cpp
Execution halted
Check process probably crashed or hung up for 20 minutes ... killed
Most likely this happened in the example checks (?),
if not, ignore the following last lines of example output:

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> pkgname <- "heatwaveR"
> source(file.path(R.home("share"), "R", "examples-header.R"))
> options(warn = 1)
> options(pager = "console")
> library('heatwaveR')
> 
> base::assign(".oldSearch", base::search(), pos = 'CheckExEnv')
> base::assign(".old_wd", base::getwd(), pos = 'CheckExEnv')
> cleanEx()
> nameEx("block_average")
> ### * block_average
> 
> flush(stderr()); flush(stdout())
> 
> ### Name: block_average
> ### Title: Calculate yearly means for event metrics.
> ### Aliases: block_average
> 
> ### ** Examples
> 
> ts <- ts2clm(sst_WA, climatologyPeriod = c("1983-01-01", "2012-12-31"))
Error in clim_calc_cpp(ts_wide, windowHalfWidth, pctile) : 
  function 'enterRNGScope' not provided by package 'Rcpp'
Calls: ts2clm -> clim_calc_cpp
Execution halted
======== End of example output (where/before crash/hang up occured ?) ========
Running examples in 'heatwaveR-Ex.R' failed
The error most likely occurred in:

> ### Name: block_average
> ### Title: Calculate yearly means for event metrics.
> ### Aliases: block_average
> 
> ### ** Examples
> 
> ts <- ts2clm(sst_WA, climatologyPeriod = c("1983-01-01", "2012-12-31"))
Error in clim_calc_cpp(ts_wide, windowHalfWidth, pctile) : 
  function 'enterRNGScope' not provided by package 'Rcpp'
Calls: ts2clm -> clim_calc_cpp
Execution halted
Running 'testthat.R'
Running examples in ‘heatwaveR-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: block_average
> ### Title: Calculate yearly means for event metrics.
> ### Aliases: block_average
> 
> ### ** Examples
> 
> ts <- ts2clm(sst_WA, climatologyPeriod = c("1983-01-01", "2012-12-31"))
Error in clim_calc_cpp(ts_wide, windowHalfWidth, pctile) : 
  function 'enterRNGScope' not provided by package 'Rcpp'
Calls: ts2clm -> clim_calc_cpp
Execution halted
Running examples in ‘heatwaveR-Ex.R’ failed
The error most likely occurred in:

> ### Name: block_average
> ### Title: Calculate yearly means for event metrics.
> ### Aliases: block_average
> 
> ### ** Examples
> 
> ts <- ts2clm(sst_WA, climatologyPeriod = c("1983-01-01", "2012-12-31"))
Error in clim_calc_cpp(ts_wide, windowHalfWidth, pctile) : 
  function 'enterRNGScope' not provided by package 'Rcpp'
Calls: ts2clm -> clim_calc_cpp
Execution halted
Running ‘testthat.R’ [0m/180m]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(heatwaveR)
  > 
  > test_check("heatwaveR")
Running examples in ‘heatwaveR-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: block_average
> ### Title: Calculate yearly means for event metrics.
> ### Aliases: block_average
> 
> ### ** Examples
> 
> ts <- ts2clm(sst_WA, climatologyPeriod = c("1983-01-01", "2012-12-31"))
Error in clim_calc_cpp(ts_wide, windowHalfWidth, pctile) : 
  function 'enterRNGScope' not provided by package 'Rcpp'
Calls: ts2clm -> clim_calc_cpp
Execution halted
Running examples in 'heatwaveR-Ex.R' failed
The error most likely occurred in:

> ### Name: block_average
> ### Title: Calculate yearly means for event metrics.
> ### Aliases: block_average
> 
> ### ** Examples
> 
> ts <- ts2clm(sst_WA, climatologyPeriod = c("1983-01-01", "2012-12-31"))
Error in clim_calc_cpp(ts_wide, windowHalfWidth, pctile) : 
  function 'enterRNGScope' not provided by package 'Rcpp'
Calls: ts2clm -> clim_calc_cpp
Execution halted
Running examples in 'heatwaveR-Ex.R' failed
The error most likely occurred in:

> ### Name: block_average
> ### Title: Calculate yearly means for event metrics.
> ### Aliases: block_average
> 
> ### ** Examples
> 
> ts <- ts2clm(sst_WA, climatologyPeriod = c("1983-01-01", "2012-12-31"))
Error in clim_calc_cpp(ts_wide, windowHalfWidth, pctile) : 
  function 'enterRNGScope' not provided by package 'Rcpp'
Calls: ts2clm -> clim_calc_cpp
Execution halted
Check process probably crashed or hung up for 20 minutes ... killed
Most likely this happened in the example checks (?),
if not, ignore the following last lines of example output:

======== End of example output (where/before crash/hang up occured ?) ========