Running 'testthat.R' [71s/74s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat) 
  > library(codyn)
  > test_check("codyn")
  -- 1. Failure: community_stability loads and returns correct result (@test_commu
  `stability_onerep(dat2agg, "subplot")` threw an error with unexpected message.
  Expected match: "df does not have name subplot"
  Actual message: "df does not have all of these name(s): 'subplot'"
  
  -- 2. Failure: Name checking works (@test_utilities.R#34)  ---------------------
  `check_names(...)` threw an error with unexpected message.
  Expected match: "data does not have name .*"
  Actual message: "data does not have all of these name(s): 'AAA'"
  
  -- 3. Failure: Name checking works (@test_utilities.R#37)  ---------------------
  `check_names(...)` threw an error with unexpected message.
  Expected match: "data does not have name .*"
  Actual message: "data does not have all of these name(s): 'BBB'"
  
  -- 4. Failure: Name checking works (@test_utilities.R#40)  ---------------------
  `check_names(...)` threw an error with unexpected message.
  Expected match: "data does not have name .*"
  Actual message: "data does not have all of these name(s): 'CCC'"
  
  -- 5. Failure: Name checking works (@test_utilities.R#43)  ---------------------
  `check_names(given = c("species", "year", "subplot", "DDD"), data = knz_001d)` threw an error with unexpected message.
  Expected match: "data does not have name .*"
  Actual message: "data does not have all of these name(s): 'DDD'"
  
  == testthat results  ===========================================================
  OK: 355 SKIPPED: 0 FAILED: 5
  1. Failure: community_stability loads and returns correct result (@test_community_stability.R#47) 
  2. Failure: Name checking works (@test_utilities.R#34) 
  3. Failure: Name checking works (@test_utilities.R#37) 
  4. Failure: Name checking works (@test_utilities.R#40) 
  5. Failure: Name checking works (@test_utilities.R#43) 
  
  Error: testthat unit tests failed
  Execution halted