• using R version 4.4.1 (2024-06-14)
  • using platform: x86_64-apple-darwin20
  • R was compiled by     Apple clang version 14.0.0 (clang-1400.0.29.202)     GNU Fortran (GCC) 12.2.0
  • running under: macOS Ventura 13.3.1
  • using session charset: UTF-8
  • checking for file ‘letsRept/DESCRIPTION’ ... OK
  • this is package ‘letsRept’ version ‘1.0.0’
  • 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 ‘letsRept’ can be installed ... [17s/25s] OK See the install log for details.
  • checking installed package size ... OK
  • 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 code files for non-ASCII characters ... OK
  • checking R files for syntax errors ... OK
  • checking whether the package can be loaded ... [0s/0s] 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 ... [0s/0s] OK
  • checking loading without being on the library search path ... [0s/0s] OK
  • checking whether startup messages can be suppressed ... [0s/0s] 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 ... [3s/4s] OK
  • checking Rd files ... [0s/0s] 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 ... [2s/3s] 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 ... [1s/1s] OK
  • checking for unstated dependencies in ‘tests’ ... OK
  • checking tests ... [2s/3s] ERROR   Running ‘testthat.R’ [2s/2s] 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(letsRept)   letsRept 1.0.0 loaded 🦎 🐍 🐊 🐢   Please cite both letsRept and The Reptile Database when using this package.   Run citation("letsRept") for details.   >   > test_check("letsRept")   objc[5422]: +[NSNumber initialize] may have been in progress in another thread when fork() was called.   objc[5422]: +[NSNumber initialize] may have been in progress in another thread when fork() was called. We cannot safely call it or ignore it in the fork() child process. Crashing instead. Set a breakpoint on objc_initializeAfterForkError to debug.   objc[5423]: +[NSNumber initialize] may have been in progress in another thread when fork() was called.   objc[5423]: +[NSNumber initialize] may have been in progress in another thread when fork() was called. We cannot safely call it or ignore it in the fork() child process. Crashing instead. Set a breakpoint on objc_initializeAfterForkError to debug.   objc[5425]: +[NSNumber initialize] may have been in progress in another thread when fork() was called.   objc[5425]: +[NSNumber initialize] may have been in progress in another thread when fork() was called. We cannot safely call it or ignore it in the fork() child process. Crashing instead. Set a breakpoint on objc_initializeAfterForkError to debug.   objc[5424]: +[NSNumber initialize] may have been in progress in another thread when fork() was called.   objc[5424]: +[NSNumber initialize] may have been in progress in another thread when fork() was called. We cannot safely call it or ignore it in the fork() child process. Crashing instead. Set a breakpoint on objc_initializeAfterForkError to debug.   col1 col2   -----------   [ FAIL 2 | WARN 3 | SKIP 7 | PASS 3 ]      ══ Skipped tests (7) ═══════════════════════════════════════════════════════════   • On CRAN (7): 'test-reptAdvancedSearch.R:2:3', 'test-reptCompare.R:2:3',     'test-reptRefs.R:2:3', 'test-reptSearch.R:2:3', 'test-reptSpecies.R:2:3',     'test-reptStats.R:2:3', 'test-reptSynonyms.R:2:3'      ══ Failed tests ════════════════════════════════════════════════════════════════   ── Failure ('test-reptSplitCheck.R:13:3'): reptSplitCheck returns expected output ──   nrow(result) is not strictly more than 0. Difference: 0   ── Error ('test-reptSync.R:4:3'): reptSync returns expected output ─────────────   Error in `if (nrow(synSample) > 0) {       ambiguity_results <- safeParallel(1:nrow(synSample), FUN = function(i) {           spp_syn <- reptSynonyms(reptSpecies(synSample$url[i],               getLink = TRUE, showProgress = FALSE, cores = cores),               cores = cores, showProgress = FALSE)           synonyms <- spp_syn$species[synSample$query[i] == spp_syn$synonyms]           if (length(synonyms) == 1) {               RDB_new <- synonyms               status_new <- "updated"           }           else if (length(synonyms) > 1) {               RDB_new <- paste(synonyms, collapse = "; ")               status_new <- "ambiguous"           }           else {               RDB_new <- "not_found"               status_new <- "not_found"           }           list(query = synSample$query[i], RDB_new = RDB_new, status_new = status_new)       }, cores = cores, showProgress = showProgress)       ambiguity_df <- do.call(rbind, lapply(ambiguity_results,           function(res) {               data.frame(query = res$query, RDB = res$RDB_new,                   status = res$status_new, stringsAsFactors = FALSE)           }))       for (i in 1:nrow(ambiguity_df)) {           df$RDB[df$query == ambiguity_df$query[i]] <- ambiguity_df$RDB[i]           df$status[df$query == ambiguity_df$query[i]] <- ambiguity_df$status[i]       }   }`: argument is of length zero   Backtrace:       ▆    1. └─letsRept::reptSync(x = query, cores = 2, showProgress = FALSE) at test-reptSync.R:4:3      [ FAIL 2 | WARN 3 | SKIP 7 | PASS 3 ]   Error: Test failures   Execution halted
  • checking for unstated dependencies in vignettes ... OK
  • checking package vignettes ... OK
  • checking re-building of vignette outputs ... [11s/17s] OK
  • checking PDF version of manual ... [6s/9s] OK
  • DONE Status: 1 ERROR
  • using check arguments '--no-clean-on-error '