* using log directory 'd:/RCompile/CRANincoming/R-devel/quollr.Rcheck' * using R Under development (unstable) (2025-07-21 r88439 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 'quollr/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'quollr' version '0.3.5' * package encoding: UTF-8 * checking CRAN incoming feasibility ... [13s] NOTE Maintainer: 'Jayani P. Gamage ' Possibly misspelled words in DESCRIPTION: NLDR (17:57, 21:9) * 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 'quollr' can be installed ... OK * used C++ compiler: 'g++.exe (GCC) 14.2.0' * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... NOTE Missing dependency on R >= 4.1.0 because package code uses the pipe |> or function shorthand \(...) syntax added in R 4.1.0. File(s) using such syntax: '2d.R' 'gen_diffbin1_errors.Rd' 'geom_hexgrid.Rd' 'geom_trimesh.R' 'geom_trimesh.Rd' 'highd.R' 'link_plots.R' 'model.R' 'parameters.R' 'prediction.R' 'projection.R' 'stat_hexgrid.R' 'stat_trimesh.R' * 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 ... 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 ... [12s] 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 contents of 'data' directory ... OK * checking data for non-ASCII characters ... OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking compilation flags in Makevars ... OK * checking for GNU extensions in Makefiles ... OK * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking use of PKG_*FLAGS in Makefiles ... OK * checking use of SHLIB_OPENMP_*FLAGS in Makefiles ... OK * checking pragmas in C/C++ headers and code ... OK * checking compilation flags used ... OK * checking compiled code ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [13s] ERROR Running examples in 'quollr-Ex.R' failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: show_error_link_plots > ### Title: Visualise the model overlaid on high-dimensional data along with > ### 2-D wireframe model and error. > ### Aliases: show_error_link_plots > > ### ** Examples > > model_error <- augment(highd_data = scurve, model_highd = scurve_model_obj$model_highd, + model_2d = scurve_model_obj$model_2d) > df_exe <- comb_all_data_model_error(highd_data = scurve, nldr_data = scurve_umap, + model_highd = scurve_model_obj$model_highd, model_2d = scurve_model_obj$model_2d, + error_data = model_error) > edge_data <- scurve_model_obj$trimesh_data > show_error_link_plots(point_data = df_exe, edge_data = edge_data) Error in switch(units, `in` = res, cm = res/2.54, mm = res/25.4, px = 1) * : non-numeric argument to binary operator Calls: show_error_link_plots ... ggplotly -> ggplotly.ggplot -> gg2list -> dev_fun -> .geometry Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [10s] ERROR Running 'testthat.R' Running the tests in 'tests/testthat.R' failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(quollr) > library(vdiffr) > > test_check("quollr") New names: * `` -> `...1` * `` -> `...2` New names: * `` -> `...1` * `` -> `...2` [ FAIL 2 | WARN 0 | SKIP 30 | PASS 6 ] ══ Skipped tests (30) ══════════════════════════════════════════════════════════ • On CRAN (30): 'test-2d.R:6:3', 'test-2d.R:16:3', 'test-2d.R:26:3', 'test-2d.R:35:3', 'test-2d.R:43:3', 'test-2d.R:49:3', 'test-2d.R:56:3', 'test-2d.R:69:3', 'test-2d.R:80:3', 'test-2d.R:94:3', 'test-2d.R:102:3', 'test-2d.R:115:3', 'test-2d.R:122:3', 'test-data_processing.R:2:3', 'test-geom_hexgrid.R:5:3', 'test-geom_trimesh.R:6:3', 'test-highd.R:4:3', 'test-highd.R:11:3', 'test-link_plots.R:3:3', 'test-link_plots.R:27:3', 'test-model.R:3:3', 'test-parameters.R:3:3', 'test-parameters.R:11:3', 'test-prediction.R:3:3', 'test-prediction.R:11:3', 'test-prediction.R:20:3', 'test-prediction.R:28:3', 'test-projection.R:7:3', 'test-projection.R:20:3', 'test-projection.R:45:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-link_plots.R:15:3'): show_link_plots() works ─────────────────── Error in `switch(units, `in` = res, cm = res/2.54, mm = res/25.4, px = 1) * width`: non-numeric argument to binary operator Backtrace: ▆ 1. └─quollr::show_link_plots(point_data = df_exe, edge_data = edge_data) at test-link_plots.R:15:3 2. ├─plotly::config(...) 3. │ └─plotly:::modify_list(p$x$config, args) 4. │ ├─utils::modifyList(x %||% list(), y %||% list(), ...) 5. │ │ └─base::stopifnot(is.list(x), is.list(val)) 6. │ └─x %||% list() 7. ├─plotly::highlight(...) 8. ├─plotly::style(...) 9. │ └─plotly::plotly_build(p) 10. ├─plotly::ggplotly(nldr_plt, width = "600", height = "600", tooltip = "none") 11. └─plotly:::ggplotly.ggplot(...) 12. └─plotly::gg2list(...) 13. └─grDevices (local) dev_fun(...) 14. └─grDevices:::.geometry(width, height, units, res) ── Error ('test-link_plots.R:44:3'): show_link_plots() works ─────────────────── Error in `switch(units, `in` = res, cm = res/2.54, mm = res/25.4, px = 1) * width`: non-numeric argument to binary operator Backtrace: ▆ 1. └─quollr::show_error_link_plots(point_data = df_exe, edge_data = edge_data) at test-link_plots.R:44:3 2. ├─plotly::config(...) 3. │ └─plotly:::modify_list(p$x$config, args) 4. │ ├─utils::modifyList(x %||% list(), y %||% list(), ...) 5. │ │ └─base::stopifnot(is.list(x), is.list(val)) 6. │ └─x %||% list() 7. ├─plotly::highlight(...) 8. ├─plotly::style(...) 9. │ └─plotly::plotly_build(p) 10. ├─plotly::ggplotly(error_plt, width = "400", height = "400", tooltip = "none") 11. └─plotly:::ggplotly.ggplot(...) 12. └─plotly::gg2list(...) 13. └─grDevices (local) dev_fun(...) 14. └─grDevices:::.geometry(width, height, units, res) [ FAIL 2 | WARN 0 | SKIP 30 | PASS 6 ] Deleting unused snapshots: • geom_hexgrid/geom-hexgrid-basic-with-all-bin-centroids.svg • geom_trimesh/geom-hexgrid-basic-with-all-bin-centroids.svg Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [17s] OK * checking PDF version of manual ... [21s] OK * checking HTML version of manual ... OK * DONE Status: 2 ERRORs, 2 NOTEs