Running ‘testthat.R’ [12s/15s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(afpt)
  > 
  > test_check("afpt")
  ── 1. Failure: Single bird with single speed (@test_multipleBirds.R#12)  ───────
  levels(singleBird.power$bird.name) not equivalent to multiBird$name[1].
  target is NULL, current is character
  
  ── 2. Failure: Single bird with multiple speeds (@test_multipleBirds.R#18)  ────
  levels(singleBird.power$bird.name) not equivalent to multiBird$name[1].
  target is NULL, current is character
  
  ── 3. Failure: Single bird with multiple speeds with prescribed strokeplane angl
  levels(singleBird.power$bird.name) not equivalent to multiBird$name[1].
  target is NULL, current is character
  
  ── 4. Failure: Multiple birds with single speed returns same speed for all birds
  multiBird.power$bird not equivalent to factor(multiBird$name).
  Types not compatible: character is not integer
  
  ── 5. Failure: Multiple birds with multiple speeds returns correct speed (@test_
  multiBird.power$bird not equivalent to factor(multiBird$name).
  Types not compatible: character is not integer
  
  ── 6. Failure: Multiple birds with multiple speeds but a single frequency return
  multiBird.power$bird not equivalent to factor(multiBird$name).
  Types not compatible: character is not integer
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 14 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 6 ]
  1. Failure: Single bird with single speed (@test_multipleBirds.R#12) 
  2. Failure: Single bird with multiple speeds (@test_multipleBirds.R#18) 
  3. Failure: Single bird with multiple speeds with prescribed strokeplane angle (@test_multipleBirds.R#25) 
  4. Failure: Multiple birds with single speed returns same speed for all birds (@test_multipleBirds.R#31) 
  5. Failure: Multiple birds with multiple speeds returns correct speed (@test_multipleBirds.R#38) 
  6. Failure: Multiple birds with multiple speeds but a single frequency returns correct speed (@test_multipleBirds.R#45) 
  
  Error: testthat unit tests failed
  Execution halted