Running ‘test-all.R’ [57s/103s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
  > library("testthat")
  > test_check("RNeXML")
  Loading required package: RNeXML
  Loading required package: ape
  Namespace prefix xhtml on div is not defined
  A nexml object representing:
   	 0 phylogenetic tree blocks, where: 
   	 block 1 contains NULL phylogenetic trees
  	 block 0 contains  phylogenetic trees 
   	 19 meta elements 
   	 0 character matrices 
   	 0 taxonomic units 
   Taxa: 	  ... 
  
   NeXML generated by RNeXML using schema version: 0.9 
   size: 23.2 Kb 
  Done simulation(s).
  ── 1. Error: (unknown) (@test_taxonomy.R#7)  ───────────────────────────────────
  '{"error":"API key invalid","api-key":"","type":"invalid","status":"unknown"}' does not exist in current working directory ('/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/RNeXML.Rcheck/tests/testthat').
  1: taxize_nexml(birds, "NCBI") at testthat/test_taxonomy.R:7
  2: get_uid(nexml@otus[[j]]@otu[[i]]@label)
  3: ldply(sciname, fun, ask, messages, rows, ...)
  4: llply(.data = .data, .fun = .fun, ..., .progress = .progress, .inform = .inform, 
         .parallel = .parallel, .paropts = .paropts)
  5: structure(lapply(pieces, .fun, ...), dim = dim(pieces))
  6: lapply(pieces, .fun, ...)
  7: FUN(X[[i]], ...)
  8: xml2::read_xml(repeat_until_it_works(errors_to_catch, "esearch", query = list(db = "taxonomy", 
         term = term, api_key = key), ...))
  9: read_xml.character(repeat_until_it_works(errors_to_catch, "esearch", query = list(db = "taxonomy", 
         term = term, api_key = key), ...))
  10: path_to_connection(x)
  11: check_path(path)
  12: stop("'", path, "' does not exist", if (!is_absolute_path(path)) paste0(" in current working directory ('", 
         getwd(), "')"), ".", call. = FALSE)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 164 SKIPPED: 3 FAILED: 1
  1. Error: (unknown) (@test_taxonomy.R#7) 
  
  Error: testthat unit tests failed
  Execution halted