Running ‘spelling.R’ [0s/0s]
  Running ‘testthat.R’ [36s/39s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(plantTracker)
  > 
  > test_check("plantTracker")
  Site: AZ
  
  -- Quadrat: SG2
  
  ---- Species: Bouteloua rothrockii
  ; Calliandra eriophylla
  
  Note: Individuals in year 1927 have a value of 'NA' in the 'survives_tplus1' and 'size_tplus1' columns because 1927 is the last year of sampling in this quadrat.
  -- Quadrat: SG4
  
  ---- Species: Bouteloua rothrockii
  ; Calliandra eriophylla
  
  Note: Individuals in year 1927 have a value of 'NA' in the 'survives_tplus1' and 'size_tplus1' columns because 1927 is the last year of sampling in this quadrat.
  Site: AZ
  
  -- Quadrat: SG4
  
  ---- Species: Bouteloua rothrockii
  ; Calliandra eriophylla
  
  Note: Individuals in year 1927 have a value of 'NA' in the 'survives_tplus1' and 'size_tplus1' columns because 1927 is the last year of sampling in this quadrat.
  Note: The output data.frame from this function is shorter than your input data.frame because demographic data has been aggregated by genet. Because of this, some columns that were present in your input data.frame may no longer be present. If you don't want the output to be aggregated by genet, include the argument 'aggByGenet == FALSE' in your call to trackSpp().
  Site: AZ
  
  -- Quadrat: SG2
  
  ---- Species: Bouteloua rothrockii
  ; Calliandra eriophylla
  
  Note: Individuals in year 1927 have a value of 'NA' in the 'survives_tplus1' and 'size_tplus1' columns because 1927 is the last year of sampling in this quadrat.
  -- Quadrat: SG4
  
  ---- Species: Bouteloua rothrockii
  ; Calliandra eriophylla
  
  Note: Individuals in year 1927 have a value of 'NA' in the 'survives_tplus1' and 'size_tplus1' columns because 1927 is the last year of sampling in this quadrat.
  Note: The output data.frame from this function is shorter than your input data.frame because demographic data has been aggregated by genet. Because of this, some columns that were present in your input data.frame may no longer be present. If you don't want the output to be aggregated by genet, include the argument 'aggByGenet == FALSE' in your call to trackSpp().
  Site: AZ
  
  -- Quadrat: SG2
  
  ---- Species: Bouteloua rothrockii
  ; Calliandra eriophylla
  
  Note: Individuals in year 1927 have a value of 'NA' in the 'survives_tplus1' and 'size_tplus1' columns because 1927 is the last year of sampling in this quadrat.
  -- Quadrat: SG4
  
  ---- Species: Bouteloua rothrockii
  ; Calliandra eriophylla
  
  Note: Individuals in year 1927 have a value of 'NA' in the 'survives_tplus1' and 'size_tplus1' columns because 1927 is the last year of sampling in this quadrat.
  Note: The output data.frame from this function is shorter than your input data.frame because demographic data has been aggregated by genet. Because of this, some columns that were present in your input data.frame may no longer be present. If you don't want the output to be aggregated by genet, include the argument 'aggByGenet == FALSE' in your call to trackSpp().
  Site: AZ
  
  -- Quadrat: SG2
  
  ---- Species: Heteropogon contortus
  ; Bouteloua rothrockii
  ; Ambrosia artemisiifolia
  ; Calliandra eriophylla
  
  Note: Individuals in year 1927 have a value of 'NA' in the 'survives_tplus1' and 'size_tplus1' columns because 1927 is the last year of sampling in this quadrat.
  -- Quadrat: SG4
  
  ---- Species: Bouteloua rothrockii
  ; Ambrosia artemisiifolia
  ; Calliandra eriophylla
  
  Note: Individuals in year 1927 have a value of 'NA' in the 'survives_tplus1' and 'size_tplus1' columns because 1927 is the last year of sampling in this quadrat.
  Note: The output data.frame from this function is shorter than your input data.frame because demographic data has been aggregated by genet. Because of this, some columns that were present in your input data.frame may no longer be present. If you don't want the output to be aggregated by genet, include the argument 'aggByGenet == FALSE' in your call to trackSpp().
  Site: AZ
  
  -- Quadrat: SG4
  
  ---- Species: Bouteloua rothrockii
  Note: Individuals in year 1927 have a value of 'NA' in the 'survives_tplus1' and 'size_tplus1' columns because 1927 is the last year of sampling in this quadrat.
  Site: AZ
  
  -- Quadrat: SG2
  
  ---- Species: Bouteloua rothrockii
  Note: Individuals in year 1927 have a value of 'NA' in the 'survives_tplus1' and 'size_tplus1' columns because 1927 is the last year of sampling in this quadrat.
  -- Quadrat: SG4
  
  ---- Species: Bouteloua rothrockii
  Note: Individuals in year 1927 have a value of 'NA' in the 'survives_tplus1' and 'size_tplus1' columns because 1927 is the last year of sampling in this quadrat.
  Note: The output data.frame from this function is shorter than your input data.frame because demographic data has been aggregated by genet. Because of this, some columns that were present in your input data.frame may no longer be present. If you don't want the output to be aggregated by genet, include the argument 'aggByGenet == FALSE' in your call to trackSpp().
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 480 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-getLambda.R:26:3'): lambda calcs. are correct ────────────────
  lambdas$absolute_basalArea_tplus1/lambdas$absolute_basalArea_t (`actual`) not equal to lambdas$lambda (`expected`).
  
    `actual[13:19]`: 1 7 2 NaN Inf 0 Inf
  `expected[13:19]`: 1 7 2  NA Inf 0 Inf
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 480 ]
  Error: Test failures
  Execution halted