Running ‘testthat.R’ [44s/59s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(psycModel)
  > 
  > test_check("psycModel")
  Loading required namespace: gridExtra
  Loading required namespace: qqplotr
  Loading required namespace: see
  
  
  
  
  
  
  
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 68 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-model-table.R:15:3'): model_table: linear regression ─────────
  `lm_1_check` (`actual`) not equal to model_summary[[2]] (`expected`).
  
  `names(actual)`:   "(Intercept)" "Sepal.Length"
  `names(expected)`: ""            ""            
  ── Failure ('test-model-table.R:16:3'): model_table: linear regression ─────────
  `lm_2_check` (`actual`) not equal to model_summary[[3]] (`expected`).
  
  `names(actual)`:   "(Intercept)" "Petal.Length"
  `names(expected)`: ""            ""            
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 68 ]
  Error: Test failures
  Execution halted
Namespaces in Imports field not imported from:
  ‘lifecycle’ ‘patchwork’
  All declared Imports should be used.
Running ‘testthat.R’ [115s/463s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(psycModel)
  > 
  > test_check("psycModel")
  Loading required namespace: gridExtra
  Loading required namespace: qqplotr
  Loading required namespace: see
  
  
  
  
  
  
  
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 68 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-model-table.R:15:3'): model_table: linear regression ─────────
  `lm_1_check` (`actual`) not equal to model_summary[[2]] (`expected`).
  
  `names(actual)`:   "(Intercept)" "Sepal.Length"
  `names(expected)`: ""            ""            
  ── Failure ('test-model-table.R:16:3'): model_table: linear regression ─────────
  `lm_2_check` (`actual`) not equal to model_summary[[3]] (`expected`).
  
  `names(actual)`:   "(Intercept)" "Petal.Length"
  `names(expected)`: ""            ""            
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 68 ]
  Error: Test failures
  Execution halted
Namespaces in Imports field not imported from:
  ‘lifecycle’ ‘patchwork’
  All declared Imports should be used.
Running ‘testthat.R’ [106s/110s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(psycModel)
  > 
  > test_check("psycModel")
  Loading required namespace: gridExtra
  Loading required namespace: qqplotr
  Loading required namespace: see
  
  
  
  
  
  
  
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 68 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-model-table.R:15:3'): model_table: linear regression ─────────
  `lm_1_check` (`actual`) not equal to model_summary[[2]] (`expected`).
  
  `names(actual)`:   "(Intercept)" "Sepal.Length"
  `names(expected)`: ""            ""            
  ── Failure ('test-model-table.R:16:3'): model_table: linear regression ─────────
  `lm_2_check` (`actual`) not equal to model_summary[[3]] (`expected`).
  
  `names(actual)`:   "(Intercept)" "Petal.Length"
  `names(expected)`: ""            ""            
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 68 ]
  Error: Test failures
  Execution halted
Running ‘testthat.R’ [65s/74s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(psycModel)
  > 
  > test_check("psycModel")
  Loading required namespace: gridExtra
  Loading required namespace: qqplotr
  Loading required namespace: see
  
  
  
  
  
  
  
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 68 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-model-table.R:15:3'): model_table: linear regression ─────────
  `lm_1_check` (`actual`) not equal to model_summary[[2]] (`expected`).
  
  `names(actual)`:   "(Intercept)" "Sepal.Length"
  `names(expected)`: ""            ""            
  ── Failure ('test-model-table.R:16:3'): model_table: linear regression ─────────
  `lm_2_check` (`actual`) not equal to model_summary[[3]] (`expected`).
  
  `names(actual)`:   "(Intercept)" "Petal.Length"
  `names(expected)`: ""            ""            
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 68 ]
  Error: Test failures
  Execution halted