Running 'testthat.R' [4s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(kntnr)
  > 
  > test_check("kntnr")
  -- 1. Error: calc ranges without a fraction (@test-calc_ranges.R#4)  -----------
  object 'tibble_update_attrs' not found
  Backtrace:
    1. testthat::expect_equal(...)
    4. kntnr:::calc_ranges(first_offset = 0L, max_records = 1000L, records_per_request = 100L)
    6. tibble:::as_tibble.list(ranges)
    7. tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
    8. tibble:::recycle_columns(x, .rows, lengths)
    9. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   10. tibble:::update_tibble_attrs(x, ...)
  
  -- 2. Error: calc ranges with one length short (@test-calc_ranges.R#18)  -------
  object 'tibble_update_attrs' not found
  Backtrace:
    1. testthat::expect_equal(...)
    4. kntnr:::calc_ranges(first_offset = 0L, max_records = 999L, records_per_request = 100L)
    6. tibble:::as_tibble.list(ranges)
    7. tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
    8. tibble:::recycle_columns(x, .rows, lengths)
    9. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   10. tibble:::update_tibble_attrs(x, ...)
  
  -- 3. Error: calc ranges with one length over (@test-calc_ranges.R#32)  --------
  object 'tibble_update_attrs' not found
  Backtrace:
    1. testthat::expect_equal(...)
    4. kntnr:::calc_ranges(first_offset = 0L, max_records = 1001L, records_per_request = 100L)
    6. tibble:::as_tibble.list(ranges)
    7. tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
    8. tibble:::recycle_columns(x, .rows, lengths)
    9. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   10. tibble:::update_tibble_attrs(x, ...)
  
  -- 4. Error: calc ranges without a fraction and with offset (@test-calc_ranges.R
  object 'tibble_update_attrs' not found
  Backtrace:
    1. testthat::expect_equal(...)
    4. kntnr:::calc_ranges(first_offset = 1L, max_records = 1000L, records_per_request = 100L)
    6. tibble:::as_tibble.list(ranges)
    7. tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
    8. tibble:::recycle_columns(x, .rows, lengths)
    9. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   10. tibble:::update_tibble_attrs(x, ...)
  
  -- 5. Error: calc ranges without a fraction and with offset (@test-calc_ranges.R
  object 'tibble_update_attrs' not found
  Backtrace:
    1. testthat::expect_equal(...)
    4. kntnr:::calc_ranges(...)
    6. tibble:::as_tibble.list(ranges)
    7. tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
    8. tibble:::recycle_columns(x, .rows, lengths)
    9. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   10. tibble:::update_tibble_attrs(x, ...)
  
  -- 6. Error: parsing RECORD_NUMBER works (@test-parse-field.R#10)  -------------
  object 'tibble_update_attrs' not found
  Backtrace:
   1. kntnr:::kntn_parse_records(list(list(test = j)))
   3. tibble:::as_tibble.list(...)
   4. tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
   5. tibble:::recycle_columns(x, .rows, lengths)
   6. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   7. tibble:::update_tibble_attrs(x, ...)
  
  -- 7. Error: parsing __ID__ works (@test-parse-field.R#10)  --------------------
  object 'tibble_update_attrs' not found
  Backtrace:
   1. kntnr:::kntn_parse_records(list(list(test = j)))
   3. tibble:::as_tibble.list(...)
   4. tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
   5. tibble:::recycle_columns(x, .rows, lengths)
   6. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   7. tibble:::update_tibble_attrs(x, ...)
  
  -- 8. Error: parsing __REVISION__ works (@test-parse-field.R#10)  --------------
  object 'tibble_update_attrs' not found
  Backtrace:
   1. kntnr:::kntn_parse_records(list(list(test = j)))
   3. tibble:::as_tibble.list(...)
   4. tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
   5. tibble:::recycle_columns(x, .rows, lengths)
   6. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   7. tibble:::update_tibble_attrs(x, ...)
  
  -- 9. Error: parsing CREATOR works (@test-parse-field.R#10)  -------------------
  object 'tibble_update_attrs' not found
  Backtrace:
   1. kntnr:::kntn_parse_records(list(list(test = j)))
   3. tibble:::as_tibble.list(...)
   4. tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
   5. tibble:::recycle_columns(x, .rows, lengths)
   6. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   7. tibble:::update_tibble_attrs(x, ...)
  
  -- 10. Error: parsing CREATOR works (@test-parse-field.R#10)  ------------------
  object 'tibble_update_attrs' not found
  Backtrace:
   1. kntnr:::kntn_parse_records(list(list(test = j)))
   3. tibble:::as_tibble.list(...)
   4. tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
   5. tibble:::recycle_columns(x, .rows, lengths)
   6. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   7. tibble:::update_tibble_attrs(x, ...)
  
  -- 11. Error: parsing a single record works (@test-parse-record.R#7)  ----------
  object 'tibble_update_attrs' not found
  Backtrace:
    1. jsonlite::fromJSON(record_file, simplifyVector = FALSE)$record
    9. kntnr:::kntn_parse_record(.)
   10. kntnr:::kntn_parse_records(list(record))
   12. purrr::map(purrr::transpose(records), kntn_parse_col)
   13. kntnr:::.f(.x[[i]], ...)
   14. kntnr:::kntn_parse_subtable(x_transposed$value)
   15. purrr::map(x, kntn_parse_subtable_one)
   16. kntnr:::.f(.x[[i]], ...)
   17. kntnr:::kntn_parse_records(x_trans$value)
   19. tibble:::as_tibble.list(...)
   20. tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
   21. tibble:::recycle_columns(x, .rows, lengths)
   22. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   23. tibble:::update_tibble_attrs(x, ...)
  
  -- 12. Error: parsing multiple records works (@test-parse-record.R#15)  --------
  object 'tibble_update_attrs' not found
  Backtrace:
    1. jsonlite::fromJSON(records_file, simplifyVector = FALSE)$records
    9. kntnr:::kntn_parse_records(.)
   11. purrr::map(purrr::transpose(records), kntn_parse_col)
   12. kntnr:::.f(.x[[i]], ...)
   13. kntnr:::kntn_parse_subtable(x_transposed$value)
   14. purrr::map(x, kntn_parse_subtable_one)
   15. kntnr:::.f(.x[[i]], ...)
   16. kntnr:::kntn_parse_records(x_trans$value)
   18. tibble:::as_tibble.list(...)
   19. tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
   20. tibble:::recycle_columns(x, .rows, lengths)
   21. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   22. tibble:::update_tibble_attrs(x, ...)
  
  -- 13. Error: unnesting records works (@test-parse-record.R#23)  ---------------
  object 'tibble_update_attrs' not found
  Backtrace:
    1. jsonlite::fromJSON(records_file, simplifyVector = FALSE)$records
    8. kntnr:::kntn_parse_records(.)
   10. purrr::map(purrr::transpose(records), kntn_parse_col)
   11. kntnr:::.f(.x[[i]], ...)
   12. kntnr:::kntn_parse_subtable(x_transposed$value)
   13. purrr::map(x, kntn_parse_subtable_one)
   14. kntnr:::.f(.x[[i]], ...)
   15. kntnr:::kntn_parse_records(x_trans$value)
   17. tibble:::as_tibble.list(...)
   18. tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
   19. tibble:::recycle_columns(x, .rows, lengths)
   20. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   21. tibble:::update_tibble_attrs(x, ...)
  
  -- 14. Error: unnesting terriblly-nested records works (@test-parse-record.R#42)
  object 'tibble_update_attrs' not found
  Backtrace:
    1. jsonlite::fromJSON(records_file, simplifyVector = FALSE)$records
    8. kntnr:::kntn_parse_records(.)
   10. purrr::map(purrr::transpose(records), kntn_parse_col)
   11. kntnr:::.f(.x[[i]], ...)
   12. kntnr:::kntn_parse_subtable(x_transposed$value)
   13. purrr::map(x, kntn_parse_subtable_one)
   14. kntnr:::.f(.x[[i]], ...)
   15. kntnr:::kntn_parse_records(x_trans$value)
   17. tibble:::as_tibble.list(...)
   18. tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
   19. tibble:::recycle_columns(x, .rows, lengths)
   20. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   21. tibble:::update_tibble_attrs(x, ...)
  
  == testthat results  ===========================================================
  [ OK: 23 | SKIPPED: 1 | WARNINGS: 0 | FAILED: 14 ]
  1. Error: calc ranges without a fraction (@test-calc_ranges.R#4) 
  2. Error: calc ranges with one length short (@test-calc_ranges.R#18) 
  3. Error: calc ranges with one length over (@test-calc_ranges.R#32) 
  4. Error: calc ranges without a fraction and with offset (@test-calc_ranges.R#46) 
  5. Error: calc ranges without a fraction and with offset (@test-calc_ranges.R#60) 
  6. Error: parsing RECORD_NUMBER works (@test-parse-field.R#10) 
  7. Error: parsing __ID__ works (@test-parse-field.R#10) 
  8. Error: parsing __REVISION__ works (@test-parse-field.R#10) 
  9. Error: parsing CREATOR works (@test-parse-field.R#10) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted