Package: clam Check: examples New result: ERROR Running examples in ‘clam-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: add.dates > ### Title: Add dates to age-depth plots > ### Aliases: add.dates > > ### ** Examples > > base_temp_dir <- tempdir() > clam_dir <- file.path(base_temp_dir, "clam_runs") > dir.create(clam_dir, recursive = TRUE, showWarnings = FALSE) > clam(, coredir=clam_dir, ask=FALSE) The run's files will be put in this folder: /home/hornik/tmp/scratch/RtmpFONyE5/clam_runs/Example Warning, some dates lie partly outside the calibration curve! Error in `[.data.frame`(dat$hpd[[i]], 2 * nrow(dat$hpd[[i]])) : undefined columns selected Calls: clam -> .read.clam -> [ -> [.data.frame Execution halted Package: clam Check: re-building of vignette outputs New result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘clam.Rmd’ using rmarkdown Quitting from clam.Rmd:30-36 [unnamed-chunk-4] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error in `[.data.frame`: ! undefined columns selected --- Backtrace: ▆ 1. └─clam::clam(, ask = FALSE, coredir = clam_dir) 2. └─clam:::.read.clam(...) 3. ├─dat$hpd[[i]][2 * nrow(dat$hpd[[i]])] 4. └─base::`[.data.frame`(dat$hpd[[i]], 2 * nrow(dat$hpd[[i]])) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'clam.Rmd' failed with diagnostics: undefined columns selected --- failed re-building ‘clam.Rmd’ SUMMARY: processing the following file failed: ‘clam.Rmd’ Error: Vignette re-building failed. Execution halted