Running 'test-all.R' [45s]
Running the tests in 'tests/test-all.R' failed.
Complete output:
  > 
  > library(testthat)
  > 
  > test_check("mudata2")
  Loading required package: mudata2
  
  Attaching package: 'mudata2'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  -- 1. Failure: rename functions throw errors (@test-rename.R#55)  --------------
  `rename_datasets(kentvillegreenwood, bad = not_a_dataset)` threw an error with unexpected message.
  Expected match: "object 'not_a_dataset' not found"
  Actual message: "Can't rename columns that don't exist.\nx The column `not_a_dataset` doesn't exist."
  Backtrace:
    1. testthat::expect_error(...)
   27. vctrs:::stop_subscript_oob(...)
   28. vctrs:::stop_subscript(...)
  
  -- 2. Failure: rename functions throw errors (@test-rename.R#56)  --------------
  `rename_locations(kentvillegreenwood, bad = not_a_location)` threw an error with unexpected message.
  Expected match: "object 'not_a_location' not found"
  Actual message: "Can't rename columns that don't exist.\nx The column `not_a_location` doesn't exist."
  Backtrace:
    1. testthat::expect_error(...)
   27. vctrs:::stop_subscript_oob(...)
   28. vctrs:::stop_subscript(...)
  
  -- 3. Failure: rename functions throw errors (@test-rename.R#57)  --------------
  `rename_params(kentvillegreenwood, bad = not_a_param)` threw an error with unexpected message.
  Expected match: "object 'not_a_param' not found"
  Actual message: "Can't rename columns that don't exist.\nx The column `not_a_param` doesn't exist."
  Backtrace:
    1. testthat::expect_error(...)
   27. vctrs:::stop_subscript_oob(...)
   28. vctrs:::stop_subscript(...)
  
  -- 4. Failure: rename functions throw errors (@test-rename.R#58)  --------------
  `rename_columns(kentvillegreenwood, bad = not_a_col)` threw an error with unexpected message.
  Expected match: "object 'not_a_col' not found"
  Actual message: "Can't rename columns that don't exist.\nx The column `not_a_col` doesn't exist."
  Backtrace:
    1. testthat::expect_error(...)
   27. vctrs:::stop_subscript_oob(...)
   28. vctrs:::stop_subscript(...)
  
  -- 5. Error: rename functions throw errors (@test-rename.R#65)  ----------------
  Names must be unique.
  Backtrace:
    1. testthat::expect_message(...)
    7. mudata2:::rename_datasets.default(kg2, ecclimate = ec2)
    8. tidyselect::vars_rename(.tidyselect_vars(.data, "dataset"), !!!datasets)
    9. tidyselect:::rename_impl(NULL, .vars, quo(c(...)), strict = .strict)
   17. vctrs::vec_as_names(names, repair = "check_unique")
   18. vctrs:::validate_unique(names)
   19. vctrs:::stop_names_must_be_unique(which(duplicated(names)))
   20. vctrs:::stop_names(...)
   21. vctrs:::stop_vctrs(...)
  
  OGR: Unsupported geometry type
  OGR: Unsupported geometry type
  OGR: Unsupported geometry type
  OGR: Unsupported geometry type
  OGR: Unsupported geometry type
  == testthat results  ===========================================================
  [ OK: 916 | SKIPPED: 2 | WARNINGS: 4 | FAILED: 5 ]
  1. Failure: rename functions throw errors (@test-rename.R#55) 
  2. Failure: rename functions throw errors (@test-rename.R#56) 
  3. Failure: rename functions throw errors (@test-rename.R#57) 
  4. Failure: rename functions throw errors (@test-rename.R#58) 
  5. Error: rename functions throw errors (@test-rename.R#65) 
  
  Error: testthat unit tests failed
  Execution halted