* using log directory ‘/srv/hornik/tmp/CRAN/proxyC.Rcheck’ * using R Under development (unstable) (2024-04-03 r86327) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 17.0.6 (5) Debian flang-new version 17.0.6 (5) * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘proxyC/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘proxyC’ version ‘0.4.0’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [4s/5s] Note_to_CRAN_maintainers Maintainer: ‘Kohei Watanabe ’ * 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 serialization versions ... OK * checking whether package ‘proxyC’ can be installed ... [26s/26s] OK * used C++ compiler: ‘Debian clang version 17.0.6 (5)’ * 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 ... [1s/1s] OK * checking whether the package can be unloaded cleanly ... [1s/1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s/1s] 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 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 line endings in shell scripts ... WARNING Found the following shell script(s) with CR or CRLF line endings: configure.ac Non-Windows OSes require LF line endings. * 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 ... [1s/1s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [3s/3s] ERROR Running ‘testthat.R’ [2s/2s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > require(proxyC) Loading required package: proxyC Attaching package: 'proxyC' The following object is masked from 'package:stats': dist > require(testthat) Loading required package: testthat > test_check("proxyC") [ FAIL 12 | WARN 0 | SKIP 0 | PASS 184 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-simil.R:26:5'): test cosine similarity ───────────────────────── Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'as.matrix': proxyC.threads must be an integer Backtrace: ▆ 1. ├─global test_simil(mat_test, "cosine", margin = 1, use_nan = TRUE) at test-simil.R:26:5 2. │ ├─base::suppressWarnings(...) 3. │ │ └─base::withCallingHandlers(...) 4. │ ├─base::as.matrix(...) 5. │ └─proxyC::simil(...) 6. │ └─proxyC:::proxy(...) 7. │ └─base::stop("proxyC.threads must be an integer") 8. └─base::.handleSimpleError(...) 9. └─base (local) h(simpleError(msg, call)) ── Error ('test-simil.R:32:5'): test correlation similarity ──────────────────── Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'as.matrix': proxyC.threads must be an integer Backtrace: ▆ 1. ├─global test_simil(mat_test, "correlation", margin = 1, use_nan = TRUE) at test-simil.R:32:5 2. │ ├─base::suppressWarnings(...) 3. │ │ └─base::withCallingHandlers(...) 4. │ ├─base::as.matrix(...) 5. │ └─proxyC::simil(...) 6. │ └─proxyC:::proxy(...) 7. │ └─base::stop("proxyC.threads must be an integer") 8. └─base::.handleSimpleError(...) 9. └─base (local) h(simpleError(msg, call)) ── Error ('test-simil.R:39:5'): test jaccard similarity ──────────────────────── Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'as.matrix': proxyC.threads must be an integer Backtrace: ▆ 1. ├─global test_simil(mat_test[-1, ], "jaccard", margin = 1) at test-simil.R:39:5 2. │ ├─base::suppressWarnings(...) 3. │ │ └─base::withCallingHandlers(...) 4. │ ├─base::as.matrix(...) 5. │ └─proxyC::simil(...) 6. │ └─proxyC:::proxy(...) 7. │ └─base::stop("proxyC.threads must be an integer") 8. └─base::.handleSimpleError(...) 9. └─base (local) h(simpleError(msg, call)) ── Error ('test-simil.R:46:5'): test ejaccard similarity ─────────────────────── Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'as.matrix': proxyC.threads must be an integer Backtrace: ▆ 1. ├─global test_simil(mat_test[-1, ], "ejaccard", margin = 1) at test-simil.R:46:5 2. │ ├─base::suppressWarnings(...) 3. │ │ └─base::withCallingHandlers(...) 4. │ ├─base::as.matrix(...) 5. │ └─proxyC::simil(...) 6. │ └─proxyC:::proxy(...) 7. │ └─base::stop("proxyC.threads must be an integer") 8. └─base::.handleSimpleError(...) 9. └─base (local) h(simpleError(msg, call)) ── Error ('test-simil.R:55:5'): test fjaccard similarity ─────────────────────── Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'as.matrix': proxyC.threads must be an integer Backtrace: ▆ 1. ├─base::as.matrix(simil(mat_prob, margin = 1, method = "fjaccard")) at test-simil.R:55:5 2. ├─proxyC::simil(mat_prob, margin = 1, method = "fjaccard") 3. │ └─proxyC:::proxy(...) 4. │ └─base::stop("proxyC.threads must be an integer") 5. └─base::.handleSimpleError(...) 6. └─base (local) h(simpleError(msg, call)) ── Error ('test-simil.R:67:5'): test dice similarity ─────────────────────────── Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'as.matrix': proxyC.threads must be an integer Backtrace: ▆ 1. ├─global test_simil(mat_test[1:3 * -1, ], "dice", margin = 1) at test-simil.R:67:5 2. │ ├─base::suppressWarnings(...) 3. │ │ └─base::withCallingHandlers(...) 4. │ ├─base::as.matrix(...) 5. │ └─proxyC::simil(...) 6. │ └─proxyC:::proxy(...) 7. │ └─base::stop("proxyC.threads must be an integer") 8. └─base::.handleSimpleError(...) 9. └─base (local) h(simpleError(msg, call)) ── Error ('test-simil.R:74:5'): test edice similarity ────────────────────────── Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'as.matrix': proxyC.threads must be an integer Backtrace: ▆ 1. ├─global test_simil(mat_test[1:3 * -1, ], "edice", margin = 1) at test-simil.R:74:5 2. │ ├─base::suppressWarnings(...) 3. │ │ └─base::withCallingHandlers(...) 4. │ ├─base::as.matrix(...) 5. │ └─proxyC::simil(...) 6. │ └─proxyC:::proxy(...) 7. │ └─base::stop("proxyC.threads must be an integer") 8. └─base::.handleSimpleError(...) 9. └─base (local) h(simpleError(msg, call)) ── Error ('test-simil.R:80:5'): test simple matching similarity ──────────────── Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'as.matrix': proxyC.threads must be an integer Backtrace: ▆ 1. ├─global test_simil(mat_test, "simple matching", margin = 1) at test-simil.R:80:5 2. │ ├─base::suppressWarnings(...) 3. │ │ └─base::withCallingHandlers(...) 4. │ ├─base::as.matrix(...) 5. │ └─proxyC::simil(...) 6. │ └─proxyC:::proxy(...) 7. │ └─base::stop("proxyC.threads must be an integer") 8. └─base::.handleSimpleError(...) 9. └─base (local) h(simpleError(msg, call)) ── Error ('test-simil.R:86:5'): test hamanm similarity ───────────────────────── Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'as.matrix': proxyC.threads must be an integer Backtrace: ▆ 1. ├─global test_simil(mat_test, "hamman", margin = 1) at test-simil.R:86:5 2. │ ├─base::suppressWarnings(...) 3. │ │ └─base::withCallingHandlers(...) 4. │ ├─base::as.matrix(...) 5. │ └─proxyC::simil(...) 6. │ └─proxyC:::proxy(...) 7. │ └─base::stop("proxyC.threads must be an integer") 8. └─base::.handleSimpleError(...) 9. └─base (local) h(simpleError(msg, call)) ── Error ('test-simil.R:92:5'): test faith similarity ────────────────────────── Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'as.matrix': proxyC.threads must be an integer Backtrace: ▆ 1. ├─global test_simil(mat_test, "faith", margin = 1, ignore_upper = TRUE) at test-simil.R:92:5 2. │ ├─base::suppressWarnings(...) 3. │ │ └─base::withCallingHandlers(...) 4. │ ├─base::as.matrix(...) 5. │ └─proxyC::simil(...) 6. │ └─proxyC:::proxy(...) 7. │ └─base::stop("proxyC.threads must be an integer") 8. └─base::.handleSimpleError(...) 9. └─base (local) h(simpleError(msg, call)) ── Error ('test-simil.R:104:5'): use_nan is working ──────────────────────────── Error in `proxy(x, y, margin, method, min_proxy = min_simil, rank = rank, drop0 = drop0, diag = diag, use_nan = use_nan, digits = digits)`: proxyC.threads must be an integer Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test-simil.R:104:5 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─proxyC::simil(mat1, mat2, method = "correlation") 7. └─proxyC:::proxy(...) ── Error ('test-simil.R:170:5'): simil returns zero or NaN correctly ─────────── Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'as.matrix': proxyC.threads must be an integer Backtrace: ▆ 1. ├─testthat::expect_equivalent(...) at test-simil.R:170:5 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::suppressWarnings(...) 5. │ └─base::withCallingHandlers(...) 6. ├─base::as.matrix(...) 7. ├─proxyC::simil(mat, method = "cosine", margin = 1) 8. │ └─proxyC:::proxy(...) 9. │ └─base::stop("proxyC.threads must be an integer") 10. └─base::.handleSimpleError(...) 11. └─base (local) h(simpleError(msg, call)) [ FAIL 12 | WARN 0 | SKIP 0 | PASS 184 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [0s/1s] OK * checking PDF version of manual ... [3s/2s] OK * checking HTML version of manual ... [0s/0s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR, 1 WARNING