Running ‘testthat.R’ [4s/62s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(taxalight)
  > 
  > test_check("taxalight")
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  ● On CRAN (2)
  ● takes a long time (2)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-tl.R:9:3): tl ───────────────────────────────────────────────────
  Error: Error in mdb_env_open: Value too large for defined data type
  Backtrace:
      █
   1. └─taxalight::tl(sp, "itis_test") test-tl.R:9:2
   2.   └─taxalight::tl_create(...)
   3.     └─taxalight:::lmdb_init(lmdb_path(provider, version, dir))
   4.       └─thor::mdb_env(path, mapsize = mapsize())
   5.         └─R6_mdb_env$new(...)
   6.           └─thor:::initialize(...)
   7.             └─thor:::mdb_env_open(...)
  ── Error (test-tl.R:28:3): get_ids ─────────────────────────────────────────────
  Error: Error in mdb_env_open: Value too large for defined data type
  Backtrace:
      █
   1. └─taxalight::get_ids(sp, "itis_test") test-tl.R:28:2
   2.   └─taxalight::tl(name, provider, version, dir)
   3.     └─taxalight:::lmdb_init(path)
   4.       └─thor::mdb_env(path, mapsize = mapsize())
   5.         └─R6_mdb_env$new(...)
   6.           └─thor:::initialize(...)
   7.             └─thor:::mdb_env_open(...)
  ── Error (test-tl.R:36:3): get_names ───────────────────────────────────────────
  Error: Error in mdb_env_open: Value too large for defined data type
  Backtrace:
      █
   1. └─taxalight::get_names(id, "itis_test") test-tl.R:36:2
   2.   └─taxalight::tl(id, provider, version, dir)
   3.     └─taxalight:::lmdb_init(path)
   4.       └─thor::mdb_env(path, mapsize = mapsize())
   5.         └─R6_mdb_env$new(...)
   6.           └─thor:::initialize(...)
   7.             └─thor:::mdb_env_open(...)
  ── Error (test-tl_create.R:30:3): tl_create() ──────────────────────────────────
  Error: Error in mdb_env_open: Value too large for defined data type
  Backtrace:
      █
   1. └─taxalight::tl_create("itis_test") test-tl_create.R:30:2
   2.   └─taxalight:::lmdb_init(lmdb_path(provider, version, dir))
   3.     └─thor::mdb_env(path, mapsize = mapsize())
   4.       └─R6_mdb_env$new(...)
   5.         └─thor:::initialize(...)
   6.           └─thor:::mdb_env_open(...)
  
  [ FAIL 4 | WARN 0 | SKIP 4 | PASS 4 ]
  Error: Test failures
  Execution halted