Skip to content

add conditional arg for predict #1466

add conditional arg for predict

add conditional arg for predict #1466

GitHub Actions / Unit Tests Summary failed Apr 22, 2024 in 0s

1 errors, 38 skipped, 458 pass in 24s

β€‡β€ˆβ€‡β€‡1 filesβ€„β€ƒβ€‡β€ˆβ€‡46 suites   24s ⏱️
β€‡β€ˆ497 testsβ€ƒβ€‡β€ˆ458 βœ…β€ƒ38 πŸ’€β€ƒ0 βŒβ€ƒ1 πŸ”₯
1β€ˆ905 runsβ€Šβ€ƒ1β€ˆ862 βœ…β€ƒ42 πŸ’€β€ƒ0 βŒβ€ƒ1 πŸ”₯

Results for commit 76a3cbb.

Annotations

Check failure on line 0 in tmb_methods

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

predict_will_return_NA_if_data_contains_NA_in_covariates (tmb_methods) with error

mmrm.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
Error in `qr.default(x_matrix)`: NA/NaN/Inf in foreign function call (arg 1) ('test-tmb-methods.R:157:3')
Error in `qr.default(x_matrix)`: NA/NaN/Inf in foreign function call (arg 1)
Backtrace:
    x
 1. +-stats::predict(...) at test-tmb-methods.R:157:3
 2. \-mmrm:::predict.mmrm_tmb(...)
 3.   \-mmrm:::h_mmrm_tmb_data(...)
 4.     +-base::qr(x_matrix)
 5.     \-base::qr.default(x_matrix)