Running ‘testthat.R’ [21s/50s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(odkr)
  > 
  > test_check("odkr")
  trying URL 'https://opendatakit.org/download/4476/'
  Content type 'application/octet-stream' length 7497617 bytes (7.2 MB)
  ==================================================
  downloaded 7.2 MB
  
  SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
  SLF4J: Defaulting to no-operation (NOP) logger implementation
  SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
  SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
  SLF4J: Defaulting to no-operation (NOP) logger implementation
  SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
  ── 1. Failure: Output CSV data exists (@test_export_data.R#23)  ────────────────
  file.exists(paste(dirPath, "/test.csv", sep = "")) isn't true.
  
  trying URL 'https://opendatakit.org/download/4476/'
  Content type 'application/octet-stream' length 7497617 bytes (7.2 MB)
  ==================================================
  downloaded 7.2 MB
  
  SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
  SLF4J: Defaulting to no-operation (NOP) logger implementation
  SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
  usage: java -jar briefcase.jar
   -ed,--export_directory </path/to/dir>     Directory to export the CSV and
                                             media files into (relative path
                                             unless it begins with / or C:\)
   -em,--exclude_media_export                Flag to exclude media on export
   -end,--export_end_date <yyyy/MM/dd>       Include submission dates before
                                             (exclusive) this date in export
                                             to CSV
   -f,--export_filename <name.csv>           File name for exported CSV
   -h,--help                                 Print help information (this
                                             screen)
   -id,--form_id <form_id>                   Form ID of form to download and
                                             export
   -oc,--overwrite_csv_export                Flag to overwrite CSV on export
   -od,--odk_directory </path/to/dir>        /odk directory from ODK Collect
                                             (relative path unless it begins
                                             with / or C:\)
   -p,--odk_password <password>              ODK password
   -pf,--pem_file </path/to/file.pem>        PEM private key file (relative
                                             path unless it begins with / or
                                             C:\)
   -sd,--storage_directory </path/to/dir>    Directory to create or find ODK
                                             Briefcase Storage directory
                                             (relative path unless it begins
                                             with / or C:\)
   -start,--export_start_date <yyyy/MM/dd>   Include submission dates after
                                             (inclusive) this date in export
                                             to CSV
   -u,--odk_username <username>              ODK username
   -url,--aggregate_url <url>                ODK Aggregate URL (must start
                                             with http:// or https://)
   -v,--version                              Print version information
  trying URL 'https://opendatakit.org/download/4476/'
  Content type 'application/java-archive' length 7497617 bytes (7.2 MB)
  ==================================================
  downloaded 7.2 MB
  
  SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
  SLF4J: Defaulting to no-operation (NOP) logger implementation
  SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
  trying URL 'https://opendatakit.org/download/4476/'
  Content type 'application/java-archive' length 7497617 bytes (7.2 MB)
  ==================================================
  downloaded 7.2 MB
  
  SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
  SLF4J: Defaulting to no-operation (NOP) logger implementation
  SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 9 SKIPPED: 0 FAILED: 1
  1. Failure: Output CSV data exists (@test_export_data.R#23) 
  
  Error: testthat unit tests failed
  Execution halted