* using log directory ‘/home/hornik/tmp/CRAN_special_noSuggests/aqp.Rcheck’ * using R Under development (unstable) (2025-02-05 r87692) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc-14 (Debian 14.2.0-12) 14.2.0 GNU Fortran (Debian 14.2.0-12) 14.2.0 * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘aqp/DESCRIPTION’ ... OK * this is package ‘aqp’ version ‘2.2’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [7s/9s] NOTE Maintainer: ‘Dylan Beaudette ’ Suggests or Enhances not in mainstream repositories: sharpshootR * checking package namespace information ... OK * checking package dependencies ... INFO Package suggested but not available for checking: ‘sharpshootR’ * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘aqp’ can be installed ... [12s/12s] OK * checking package directory ... OK * checking for future file timestamps ... 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/1s] OK * checking whether the package can be loaded with stated dependencies ... [0s/0s] OK * checking whether the package can be unloaded cleanly ... [0s/0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK * checking whether the namespace can be unloaded cleanly ... [1s/1s] OK * checking loading without being on the library search path ... [1s/1s] OK * checking whether startup messages can be suppressed ... [0s/0s] 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 ... [23s/23s] OK * checking Rd files ... [1s/1s] OK * checking Rd metadata ... OK * checking Rd line widths ... 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 contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... [1s/1s] OK * checking data for ASCII and uncompressed saves ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [6s/6s] ERROR Running examples in ‘aqp-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: colorContrast > ### Title: Metrics of Contrast Suitable for Comparing Soil Colors > ### Aliases: colorContrast > ### Keywords: manip > > ### ** Examples > > > # keep examples from using more than 2 cores > data.table::setDTthreads(Sys.getenv("OMP_THREAD_LIMIT", unset = 2)) > > # two sets of colors to compare > m1 <- c('10YR 6/3', '7.5YR 3/3', '10YR 2/2', '7.5YR 3/4') > m2 <- c('5YR 3/4', '7.5YR 4/4', '2.5YR 2/2', '7.5YR 6/3') > > # contrast metrics > colorContrast(m1, m2) m1 m2 dH dV dC dE00 cc 1 10YR 6/3 5YR 3/4 2 3 1 31.286374 Prominent 2 7.5YR 3/3 7.5YR 4/4 0 1 1 9.657423 Faint 3 10YR 2/2 2.5YR 2/2 3 0 0 6.814101 Faint 4 7.5YR 3/4 7.5YR 6/3 0 3 1 30.261643 Distinct > > # adjacent chips > colorContrast('10YR 3/3', '10YR 3/4') m1 m2 dH dV dC dE00 cc 1 10YR 3/3 10YR 3/4 0 0 1 3.151168 Faint > colorContrast('10YR 3/3', '7.5YR 3/3') m1 m2 dH dV dC dE00 cc 1 10YR 3/3 7.5YR 3/3 1 0 0 3.313277 Faint > > # highly contrasting colors > # http://colour.granjow.net/fabercastell-polychromos.html > colorContrastPlot('10B 4/13', '10YR 10/15', + labels = c('helioblue-reddish', 'light cadmium yellow') + ) Error in loadNamespace(x) : there is no package called ‘colorspace’ Calls: colorContrastPlot ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart Execution halted * checking for unstated dependencies in ‘demo’ ... OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [25s/24s] ERROR Running ‘testthat.R’ [24s/23s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(aqp) This is aqp 2.2 > > # limit all tests involving data.table > # to 2 threads for CRAN compliance > data.table::setDTthreads(Sys.getenv("OMP_THREAD_LIMIT", unset = 2)) > > # Sys.setenv("_SP_EVOLUTION_STATUS_"=2) > test_check("aqp") Failed with error: 'there is no package called 'sf'' Failed with error: 'there is no package called 'sf'' [ FAIL 2 | WARN 0 | SKIP 23 | PASS 1343 ] ══ Skipped tests (23) ══════════════════════════════════════════════════════════ • On CRAN (4): 'test-DT-tbl.R:6:3', 'test-color-signature.R:64:3', 'test-fix-find-overlap.R:40:3', 'test-fix-find-overlap.R:89:3' • {Gmedian} is not installed (5): 'test-L1_profiles.R:7:3', 'test-SoilProfileCollection-metadata.R:48:3', 'test-colorQuantiles.R:8:3', 'test-colorQuantiles.R:23:3', 'test-colorQuantiles.R:37:3' • {Hmisc} is not installed (2): 'test-slab.R:90:3', 'test-textureTriangleSummary.R:11:3' • {compositions} is not installed (1): 'test-bootstrapSoilTexture.R:11:3' • {gower} is not installed (8): 'test-aggregateColor.R:14:3', 'test-aggregateColor.R:40:3', 'test-aggregateColor.R:48:3', 'test-aggregateColor.R:78:3', 'test-mixMunsell.R:42:3', 'test-mixMunsell.R:57:3', 'test-mixMunsell.R:107:3', 'test-simulateColor.R:12:3' • {mpspline2} is not installed (2): 'test-spc2mpspline.R:2:3', 'test-spc2mpspline.R:51:3' • {sf} is not installed (1): 'test-SPC-objects.R:205:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-DT-tbl.R:104:5'): basic functionality of tbl_df ──────────────── Error: unable to find an inherited method for function 'depths<-' for signature 'object = "NULL"' Backtrace: ▆ 1. ├─testthat::expect_message(depths(test) <- id ~ top + bottom, c("converting profile IDs from integer to character")) at test-DT-tbl.R:104:5 2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─aqp::`depths<-`(`*tmp*`, value = ``) 7. └─methods (local) ``(``, ``, ``) ── Error ('test-genhz.R:95:3'): evalGenHZ works as expected ──────────────────── Error: package `MASS` is required Backtrace: ▆ 1. └─aqp::evalGenHZ(sp3, genhz = "genhz", vars = "clay") at test-genhz.R:95:3 [ FAIL 2 | WARN 0 | SKIP 23 | PASS 1343 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [2s/2s] OK * checking PDF version of manual ... [8s/8s] OK * checking HTML version of manual ... [5s/6s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 2 ERRORs, 1 NOTE