Running ‘testthat.R’ [25s/219s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library("testthat")
  > library("tabulapdf")
  > 
  > stop_logging()
  > test_check("tabulapdf")
  [ FAIL 3 | WARN 4 | SKIP 0 | PASS 86 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_extract_tables.R:30:3'): Import from remote file works ─────────
  Error in `utils::download.file(path, tmp, quiet = quiet, mode = "wb")`: cannot open URL 'https://github.com/tabulapdf/tabula-java/raw/master/src/test/resources/technology/tabula/12s0324.pdf'
  Backtrace:
      ▆
   1. └─tabulapdf::extract_tables(f2) at test_extract_tables.R:30:3
   2.   └─tabulapdf:::load_doc(file, password = password, copy = copy)
   3.     └─tabulapdf:::localize_file(path = file, copy = copy)
   4.       └─utils::download.file(path, tmp, quiet = quiet, mode = "wb")
  ── Error ('test_extract_tables.R:38:3'): Import from remote non-Western file ───
  Error in `utils::download.file(path, tmp, quiet = quiet, mode = "wb")`: cannot open URL 'https://github.com/tabulapdf/tabula-java/raw/master/src/test/resources/technology/tabula/arabic.pdf'
  Backtrace:
      ▆
   1. └─tabulapdf::extract_tables(f3) at test_extract_tables.R:38:3
   2.   └─tabulapdf:::load_doc(file, password = password, copy = copy)
   3.     └─tabulapdf:::localize_file(path = file, copy = copy)
   4.       └─utils::download.file(path, tmp, quiet = quiet, mode = "wb")
  ── Error ('test_extract_tables.R:70:3'): Extract from encrypted PDF ────────────
  Error in `utils::download.file(path, tmp, quiet = quiet, mode = "wb")`: cannot open URL 'https://github.com/tabulapdf/tabula-java/raw/98957221950af4b90620b51a29e0bbe502eea9ad/src/test/resources/technology/tabula/encrypted.pdf'
  Backtrace:
      ▆
   1. └─tabulapdf::extract_tables(f6, password = "userpassword") at test_extract_tables.R:70:3
   2.   └─tabulapdf:::load_doc(file, password = password, copy = copy)
   3.     └─tabulapdf:::localize_file(path = file, copy = copy)
   4.       └─utils::download.file(path, tmp, quiet = quiet, mode = "wb")
  
  [ FAIL 3 | WARN 4 | SKIP 0 | PASS 86 ]
  Error: Test failures
  Execution halted