* using log directory ‘/Users/ripley/R/packages/tests-devel/rTLS.Rcheck’ * using R Under development (unstable) (2023-04-17 r84270) * using platform: aarch64-apple-darwin22.4.0 (64-bit) * R was compiled by Apple clang version 14.0.3 (clang-1403.0.22.14.1) GNU Fortran (GCC) 12.2.0 * running under: macOS Ventura 13.3.1 * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘rTLS/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘rTLS’ version ‘0.2.5.6’ * 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 ‘rTLS’ can be installed ... [29s/29s] OK * used C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’ * used SDK: ‘MacOSX13.3.sdk’ * checking C++ specification ... NOTE Specified C++11: please drop specification unless essential * checking installed package size ... NOTE installed size is 6.0Mb sub-directories of 1Mb or more: data 4.0Mb extdata 1.4Mb * 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 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 ... NOTE Namespaces in Imports field not imported from: ‘Rcpp’ ‘RcppProgress’ All declared Imports should be used. * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... OK * checking Rd files ... 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 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 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/13s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ ERROR Running the tests in ‘tests/testthat.R’ failed. Complete output: > Sys.setenv("R_TESTS" = "") > > library(testthat) > library(rTLS) Loading required package: data.table Attaching package: 'rTLS' The following object is masked from 'package:stats': filter > > test_check("rTLS") 0% 10 20 30 40 50 60 70 80 90 100% [----|----|----|----|----|----|----|----|----|----| **************************************************| [ FAIL 2 | WARN 14 | SKIP 0 | PASS 136 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-geometry_features.R:14:3'): Whether geometry features works ── round(unique(to_test_knn[, 1, 1]), 4) (`actual`) not equal to c(0.5556, 0.5) (`expected`). `actual`: 0.5556 0.5 0.5556 `expected`: 0.5556 0.5 value of PC1 ── Failure ('test-geometry_features.R:16:3'): Whether geometry features works ── round(unique(to_test_knn[, 3, 1]), 4) (`actual`) not equal to c(0.1667, 0) (`expected`). `actual`: 0.1667 0 0.1667 `expected`: 0.1667 0 value of PC3 [ FAIL 2 | WARN 14 | SKIP 0 | PASS 136 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes in ‘inst/doc’ ... OK * checking re-building of vignette outputs ... OK * checking PDF version of manual ... OK * checking HTML version of manual ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR, 3 NOTEs See ‘/Users/ripley/R/packages/tests-devel/rTLS.Rcheck/00check.log’ for details. 78.12 real 68.50 user 7.37 sys