Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(kntnr)
  > 
  > test_check("kntnr")
  1. Failure: calc ranges without a fraction (@test-calc_ranges.R#4) -------------
  calc_ranges(first_offset = 0L, max_records = 1000L, records_per_request = 100L) not equal to dplyr::data_frame(...).
  Incompatible type for column offsets: x numeric, y integer
  
  
  2. Failure: calc ranges with one length short (@test-calc_ranges.R#18) ---------
  calc_ranges(first_offset = 0L, max_records = 999L, records_per_request = 100L) not equal to dplyr::data_frame(...).
  Incompatible type for column offsets: x numeric, y integer
  
  
  3. Failure: calc ranges with one length over (@test-calc_ranges.R#32) ----------
  calc_ranges(first_offset = 0L, max_records = 1001L, records_per_request = 100L) not equal to dplyr::data_frame(...).
  Incompatible type for column offsets: x numeric, y integer
  
  
  4. Failure: calc ranges without a fraction and with offset (@test-calc_ranges.R#46) 
  calc_ranges(first_offset = 1L, max_records = 1000L, records_per_request = 100L) not equal to dplyr::data_frame(...).
  Incompatible type for column offsets: x numeric, y integer
  
  
  5. Failure: calc ranges without a fraction and with offset (@test-calc_ranges.R#60) 
  calc_ranges(first_offset = 1001L, max_records = 1000L, records_per_request = 100L) not equal to dplyr::data_frame(...).
  Incompatible type for column offsets: x numeric, y integer
  
  
  testthat results ================================================================
  OK: 62 SKIPPED: 0 FAILED: 5
  1. Failure: calc ranges without a fraction (@test-calc_ranges.R#4) 
  2. Failure: calc ranges with one length short (@test-calc_ranges.R#18) 
  3. Failure: calc ranges with one length over (@test-calc_ranges.R#32) 
  4. Failure: calc ranges without a fraction and with offset (@test-calc_ranges.R#46) 
  5. Failure: calc ranges without a fraction and with offset (@test-calc_ranges.R#60) 
  
  Error: testthat unit tests failed
  Execution halted