* using log directory ‘/data/gannet/ripley/R/packages/tests-Suggests/inlmisc.Rcheck’ * using R Under development (unstable) (2022-07-07 r82555) * using platform: x86_64-pc-linux-gnu (64-bit) * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘inlmisc/DESCRIPTION’ ... OK * this is package ‘inlmisc’ version ‘0.5.5’ * 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 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 ‘inlmisc’ can be installed ... [53s/116s] OK * checking package 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 R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... 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 ... [78s/106s] OK * checking Rd files ... 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 R/sysdata.rda ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking pragmas in C/C++ headers and code ... OK * checking compilation flags used ... OK * checking compiled code ... OK * checking examples ... [21s/34s] ERROR Running examples in ‘inlmisc-Ex.R’ failed The error most likely occurred in: > ### Name: GetColors > ### Title: Get Palette Colors > ### Aliases: GetColors > ### Keywords: color > > ### ** Examples > > pal <- GetColors(n = 10) > print(pal) [1] "#E7EBFA" "#B997C6" "#824D99" "#4E79C4" "#57A2AC" "#7EB875" "#D0B440" [8] "#E67F33" "#CE2220" "#521913" attr(,"nan") [1] "#666666" attr(,"call") GetColors(n = 10, scheme = "smooth rainbow", alpha = NULL, stops = c(0, 1), bias = 1, reverse = FALSE, blind = NULL, gray = FALSE) attr(,"class") [1] "inlpal" "character" > plot(pal) > > Pal <- GetColors(scheme = "turbo") > formals(Pal) $n $scheme [1] "turbo" $alpha NULL $stops [1] 0 1 $bias [1] 1 $reverse [1] FALSE $blind NULL $gray [1] FALSE > filled.contour(datasets::volcano, color.palette = Pal, + plot.axes = FALSE) > > # Diverging color schemes (scheme) > op <- par(mfrow = c(6, 1), oma = c(0, 0, 0, 0)) > plot(GetColors( 9, scheme = "BuRd")) > plot(GetColors(255, scheme = "BuRd")) > plot(GetColors( 9, scheme = "PRGn")) > plot(GetColors(255, scheme = "PRGn")) > plot(GetColors( 11, scheme = "sunset")) > plot(GetColors(255, scheme = "sunset")) > par(op) > > # Qualitative color schemes (scheme) > op <- par(mfrow = c(7, 1), oma = c(0, 0, 0, 0)) > plot(GetColors(7, scheme = "bright")) > plot(GetColors(6, scheme = "dark")) > plot(GetColors(5, scheme = "high-contrast")) > plot(GetColors(9, scheme = "light")) > plot(GetColors(9, scheme = "muted")) > plot(GetColors(6, scheme = "pale")) > plot(GetColors(7, scheme = "vibrant")) > par(op) > > # Sequential color schemes (scheme) > op <- par(mfrow = c(7, 1), oma = c(0, 0, 0, 0)) > plot(GetColors( 23, scheme = "discrete rainbow")) > plot(GetColors( 34, scheme = "smooth rainbow")) > plot(GetColors(255, scheme = "smooth rainbow")) > plot(GetColors( 9, scheme = "YlOrBr")) > plot(GetColors(255, scheme = "YlOrBr")) > plot(GetColors( 23, scheme = "iridescent")) > plot(GetColors(255, scheme = "iridescent")) > par(op) > > # Alpha transparency (alpha) > op <- par(mfrow = c(5, 1), oma = c(0, 0, 0, 0)) > plot(GetColors(34, alpha = 1.0)) > plot(GetColors(34, alpha = 0.8)) > plot(GetColors(34, alpha = 0.6)) > plot(GetColors(34, alpha = 0.4)) > plot(GetColors(34, alpha = 0.2)) > par(op) > > # Color stops (stops) > op <- par(mfrow = c(4, 1), oma = c(0, 0, 0, 0)) > plot(GetColors(255, stops = c(0.0, 1.0))) > plot(GetColors(255, stops = c(0.0, 0.5))) > plot(GetColors(255, stops = c(0.5, 1.0))) > plot(GetColors(255, stops = c(0.3, 0.9))) > par(op) > > # Interpolation bias (bias) > op <- par(mfrow = c(7, 1), oma = c(0, 0, 0, 0)) > plot(GetColors(255, bias = 0.4)) > plot(GetColors(255, bias = 0.6)) > plot(GetColors(255, bias = 0.8)) > plot(GetColors(255, bias = 1.0)) > plot(GetColors(255, bias = 1.2)) > plot(GetColors(255, bias = 1.4)) > plot(GetColors(255, bias = 1.6)) > par(op) > > # Reverse colors (reverse) > op <- par(mfrow = c(2, 1), oma = c(0, 0, 0, 0), + cex = 0.7) > plot(GetColors(10, reverse = FALSE)) > plot(GetColors(10, reverse = TRUE)) > par(op) > > # Color blindness (blind) > op <- par(mfrow = c(5, 1), oma = c(0, 0, 0, 0)) > plot(GetColors(34, blind = NULL)) > plot(GetColors(34, blind = "deutan")) Error in GetColors(34, blind = "deutan") : simulating partial color blindness requires the dichromat package Calls: plot -> GetColors Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ [15s/25s] [15s/25s] OK * checking PDF version of manual ... OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR See ‘/data/gannet/ripley/R/packages/tests-Suggests/inlmisc.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 11:14.39, 398.52 + 19.39