Running 'testthat.R' [68s]
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/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > library(suwo)
  > 
  > test_check("suwo")
  now dyn.load("D:/RCompile/CRANpkg/lib/4.6/checkmate/libs/x64/checkmate.dll") ...
  now dyn.load("D:/RCompile/CRANpkg/lib/4.6/backports/libs/x64/backports.dll") ...
  now dyn.load("D:/RCompile/recent/R-4.6.1/library/parallel/libs/x64/parallel.dll") ...
  now dyn.load("D:/RCompile/CRANpkg/lib/4.6/glue/libs/x64/glue.dll") ...
  now dyn.load("D:/RCompile/recent/R-4.6.1/library/tools/libs/x64/tools.dll") ...
  now dyn.load("D:/RCompile/CRANpkg/lib/4.6/curl/libs/x64/curl.dll") ...
  now dyn.load("D:/RCompile/CRANpkg/lib/4.6/jsonlite/libs/x64/jsonlite.dll") ...
  Saving _problems/test_download_media-7.R
   =====================>---------   69% | ETA:  1s
   ==============================>  100% | ETA:  0s
  
   ========================>------   80% | ETA:  1s
   ==============================>  100% | ETA:  0s
  
  now dyn.load("D:/RCompile/CRANpkg/lib/4.6/digest/libs/x64/digest.dll") ...
  now dyn.load("D:/RCompile/CRANpkg/lib/4.6/fastmap/libs/x64/fastmap.dll") ...
  now dyn.load("D:/RCompile/CRANpkg/lib/4.6/htmltools/libs/x64/htmltools.dll") ...
  now dyn.load("D:/RCompile/CRANpkg/lib/4.6/timechange/libs/x64/timechange.dll") ...
  now dyn.load("D:/RCompile/CRANpkg/lib/4.6/lubridate/libs/x64/lubridate.dll") ...
  x No matching species found for asdasdasd 
  now dyn.load("D:/RCompile/CRANpkg/lib/4.6/proxy/libs/x64/proxy.dll") ...
  now dyn.load("D:/RCompile/CRANpkg/lib/4.6/class/libs/x64/class.dll") ...
  now dyn.load("D:/RCompile/CRANpkg/lib/4.6/e1071/libs/x64/e1071.dll") ...
  now dyn.load("D:/RCompile/CRANpkg/lib/4.6/rpart/libs/x64/rpart.dll") ...
  now dyn.load("D:/RCompile/CRANpkg/lib/4.6/MASS/libs/x64/MASS.dll") ...
  now dyn.load("D:/RCompile/recent/R-4.6.1/library/splines/libs/x64/splines.dll") ...
  now dyn.load("D:/RCompile/recent/R-4.6.1/library/grid/libs/x64/grid.dll") ...
  now dyn.load("D:/RCompile/CRANpkg/lib/4.6/lattice/libs/x64/lattice.dll") ...
  now dyn.load("D:/RCompile/CRANpkg/lib/4.6/Matrix/libs/x64/Matrix.dll") ...
  now dyn.load("D:/RCompile/CRANpkg/lib/4.6/survival/libs/x64/survival.dll") ...
  now dyn.load("D:/RCompile/CRANpkg/lib/4.6/nnet/libs/x64/nnet.dll") ...
  now dyn.load("D:/RCompile/CRANpkg/lib/4.6/data.table/libs/x64/data_table.dll") ...
  now dyn.load("D:/RCompile/CRANpkg/lib/4.6/parallelly/libs/x64/parallelly.dll") ...
  now dyn.load("D:/RCompile/CRANpkg/lib/4.6/Rcpp/libs/x64/Rcpp.dll") ...
  now dyn.load("D:/RCompile/CRANpkg/lib/4.6/prodlim/libs/x64/prodlim.dll") ...
  now dyn.load("D:/RCompile/CRANpkg/lib/4.6/ipred/libs/x64/ipred.dll") ...
  now dyn.load("D:/RCompile/CRANpkg/lib/4.6/bit/libs/x64/bit.dll") ...
  now dyn.load("D:/RCompile/CRANpkg/lib/4.6/bit64/libs/x64/bit64.dll") ...
  now dyn.load("D:/RCompile/CRANpkg/lib/4.6/vctrs/libs/x64/vctrs.dll") ...
  now dyn.load("D:/RCompile/CRANpkg/lib/4.6/RSQLite/libs/x64/RSQLite.dll") ...
  now dyn.load("D:/RCompile/CRANpkg/lib/4.6/cachem/libs/x64/cachem.dll") ...
  now dyn.load("D:/RCompile/CRANpkg/lib/4.6/evd/libs/x64/evd.dll") ...
  now dyn.load("D:/RCompile/CRANpkg/lib/4.6/ff/libs/x64/ff.dll") ...
  now dyn.load("D:/RCompile/CRANpkg/lib/4.6/RecordLinkage/libs/x64/RecordLinkage.dll") ...
  i 668 potential duplicates found 
  i 304 duplicates removed 
  i 405 duplicates removed 
  [ FAIL 1 | WARN 9 | SKIP 40 | PASS 40 ]
  
  ══ Skipped tests (40) ══════════════════════════════════════════════════════════
  • On CRAN (34): 'test_find_duplicates.R:5:3', 'test_internals.R:34:3',
    'test_query_gbif.R:4:3', 'test_query_gbif.R:15:3', 'test_query_gbif.R:24:3',
    'test_query_gbif.R:34:3', 'test_query_gbif.R:49:3', 'test_query_gbif.R:59:3',
    'test_query_gbif.R:81:3', 'test_query_gbif.R:98:3',
    'test_query_inaturalist.R:2:3', 'test_query_inaturalist.R:14:3',
    'test_query_inaturalist.R:30:3', 'test_query_inaturalist.R:41:3',
    'test_query_inaturalist.R:51:3', 'test_query_inaturalist.R:68:3',
    'test_query_inaturalist.R:83:3', 'test_query_wikiaves.R:4:3',
    'test_query_wikiaves.R:18:3', 'test_query_wikiaves.R:32:3',
    'test_query_wikiaves.R:49:3', 'test_query_wikiaves.R:57:3',
    'test_query_wikiaves.R:76:3', 'test_query_xenocanto.R:5:3',
    'test_query_xenocanto.R:21:3', 'test_query_xenocanto.R:36:3',
    'test_query_xenocanto.R:47:3', 'test_query_xenocanto.R:85:3',
    'test_query_xenocanto.R:107:3', 'test_query_xenocanto.R:124:3',
    'test_update_metadata.R:2:3', 'test_update_metadata.R:21:3',
    'test_update_metadata.R:40:3', 'test_update_metadata.R:57:3'
  • interactive() is not TRUE (6): 'test_query_macaulay.R:14:3',
    'test_query_macaulay.R:28:3', 'test_query_macaulay.R:43:3',
    'test_query_macaulay.R:69:3', 'test_update_metadata.R:79:3',
    'test_update_metadata.R:101:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_download_media.R:3:1'): (code run outside of `test_that()`) ────
  Error in `strsplit(query_output_df$species, " ")`: non-character argument
  Backtrace:
      ▆
   1. └─suwo::query_gbif(...) at test_download_media.R:3:1
   2.   ├─base::vapply(...)
   3.   └─base::strsplit(query_output_df$species, " ")
  
  [ FAIL 1 | WARN 9 | SKIP 40 | PASS 40 ]
  Error:
  ! Test failures.
  Execution halted