* using log directory ‘/srv/hornik/tmp/CRAN/spinifex.Rcheck’ * using R Under development (unstable) (2024-01-25 r85826) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 17.0.6 (3) Debian flang-new version 17.0.6 (3) * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘spinifex/DESCRIPTION’ ... OK * this is package ‘spinifex’ version ‘0.3.7.0’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [5s/5s] Note_to_CRAN_maintainers Maintainer: ‘Nicholas Spyrison ’ * 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 ‘spinifex’ can be installed ... [3s/3s] 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 R 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 ... [1s/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 ... [5s/5s] OK * checking Rd files ... [0s/0s] 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 ... [0s/0s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [2s/2s] ERROR Running examples in ‘spinifex-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: BreastCancer_na.rm > ### Title: Wisconsin Breast Cancer Database > ### Aliases: BreastCancer_na.rm > ### Keywords: datasets > > ### ** Examples > > library(spinifex) > str(BreastCancer_na.rm) 'data.frame': 675 obs. of 9 variables: $ Cell.size : int 1 4 1 8 1 10 1 1 1 2 ... $ Cell.shape : int 1 4 1 8 1 10 1 2 1 1 ... $ Marg.adhesion : int 1 5 1 1 3 8 1 1 1 1 ... $ Epith.c.size : int 2 7 2 3 2 7 2 2 2 2 ... $ Bare.nuclei : int 1 10 2 4 1 10 10 1 1 1 ... $ Bl.cromatin : int 3 3 3 3 3 9 3 3 1 2 ... $ Normal.nucleoli: int 1 2 1 7 1 7 1 1 1 1 ... $ Mitoses : int 1 1 1 1 1 1 1 1 5 1 ... $ Class : Factor w/ 2 levels "benign","malignant": 1 1 1 1 1 2 1 1 1 1 ... > dat <- scale_sd(BreastCancer_na.rm[, 1:8]) > clas <- BreastCancer_na.rm$Class > > bas <- basis_pca(dat) > mv <- manip_var_of(bas) > mt <- manual_tour(bas, mv) Error in .make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version) : invalid non-character version specification 'x' (type: integer) Calls: manual_tour ... as.numeric_version -> numeric_version -> .make_numeric_version Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [29s/27s] ERROR Running ‘spelling.R’ [0s/0s] Running ‘testthat.R’ [29s/27s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(spinifex) Loading required package: tourr -------------------------------------------------------- spinifex --- version 0.3.7.0 Please share bugs, suggestions, and feature requests at: https://github.com/nspyrison/spinifex/issues/ -------------------------------------------------------- Attaching package: 'spinifex' The following objects are masked from 'package:tourr': is_orthonormal, save_history > > test_check("spinifex") Attaching package: 'ggplot2' The following objects are masked from 'package:spinifex': scale_colour_discrete, scale_fill_discrete Loading required namespace: gganimate Loading required namespace: plotly [ FAIL 3 | WARN 0 | SKIP 0 | PASS 72 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-1_manual_tour.R:40:1'): (code run outside of `test_that()`) ──── Error in `.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)`: invalid non-character version specification 'x' (type: integer) Backtrace: ▆ 1. └─spinifex::manual_tour(basis = bas, manip_var = mv) at test-1_manual_tour.R:40:1 2. └─spinifex:::devMessage("theta is negative") 3. └─base::Ops.numeric_version(version4, 9000L) 4. └─base::as.numeric_version(e2) 5. └─base::numeric_version(x) 6. └─base::.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version) ── Error ('test-2_ggproto_visualize.r:14:3'): (code run outside of `test_that()`) ── Error in `.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)`: invalid non-character version specification 'x' (type: integer) Backtrace: ▆ 1. └─spinifex::manual_tour(bas[, 1L], mv, data = dat) at test-2_ggproto_visualize.r:14:3 2. └─spinifex:::devMessage("phi_start > pi / 2; phi_start <- phi_start - pi & phi_max <- -phi_max") 3. └─base::Ops.numeric_version(version4, 9000L) 4. └─base::as.numeric_version(e2) 5. └─base::numeric_version(x) 6. └─base::.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version) ── Error ('test-zDepricated_3_visualize.r:37:1'): (code run outside of `test_that()`) ── Error in `.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)`: invalid non-character version specification 'x' (type: integer) Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-zDepricated_3_visualize.r:37:1 2. │ └─base::withCallingHandlers(...) 3. └─spinifex::play_manual_tour(...) 4. └─spinifex:::interpolate_manual_tour(mt_array, angle = angle) 5. └─spinifex:::devMessage("manual_tour: is_mv_x_neg == TRUE; phi_start <- pi / 2L - abs(phi_start); phi_path <- rev(phi_path)") 6. └─base::Ops.numeric_version(version4, 9000L) 7. └─base::as.numeric_version(e2) 8. └─base::numeric_version(x) 9. └─base::.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version) [ FAIL 3 | WARN 0 | SKIP 0 | PASS 72 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [10s/14s] OK * checking PDF version of manual ... [4s/4s] OK * checking HTML version of manual ... [1s/1s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 2 ERRORs