* using log directory 'd:/Rcompile/CRANpkg/local/4.5/clam.Rcheck' * using R version 4.5.1 (2025-06-13 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.2.0 GNU Fortran (GCC) 14.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'clam/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'clam' version '2.6.2' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'clam' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [1s] OK * checking whether the package can be loaded with stated dependencies ... [1s] OK * checking whether the package can be unloaded cleanly ... [1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s] OK * checking whether the namespace can be unloaded cleanly ... [1s] OK * checking loading without being on the library search path ... [1s] OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [7s] OK * checking Rd files ... [1s] OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [2s] ERROR Running examples in 'clam-Ex.R' failed The error most likely occurred in: > ### 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: D:\temp\2025_07_26_01_50_00_9596\RtmpkDjjjz\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 * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [2s] 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 * checking PDF version of manual ... [21s] OK * checking HTML version of manual ... [2s] OK * DONE Status: 2 ERRORs