- Bugfix: Fail checks in multilevelIV with standard method (#74)
Showing 1 of 5 files from the diff.
R/f_multilevelIV.R
changed.
Other files ignored by Codecov
NEWS.md
has changed.
tests/testthat/test-inputchecks_multilevel.R
has changed.
DESCRIPTION
has changed.
cran-comments.md
has changed.
@@ -289,14 +289,12 @@
Loading
289 | 289 | control = lmer.control), |
|
290 | 290 | error = function(e)return(e)) |
|
291 | 291 | if(is(res.lmer, "error")) |
|
292 | - | stop("lme4::lmer() could not be fitted with error: ", |
|
293 | - | sQuote(res.lmer$message), "\nPlease revise your data and formula.", call. = FALSE) |
|
292 | + | check_err_msg(paste0("lme4::lmer() could not be fitted with error: ",sQuote(res.lmer$message), "\nPlease revise your data and formula.")) |
|
294 | 293 | ||
295 | 294 | res.VC <- tryCatch(lme4::VarCorr(res.lmer), |
|
296 | 295 | error = function(e)return(e)) |
|
297 | 296 | if(is(res.VC, "error")) |
|
298 | - | stop("lme4::VarCorr() could not be fitted with error: ", |
|
299 | - | sQuote(res.VC$message), "\nPlease revise your data and formula.", call. = FALSE) |
|
297 | + | check_err_msg(paste0("lme4::VarCorr() could not be fitted with error: ", sQuote(res.VC$message), "\nPlease revise your data and formula.")) |
|
300 | 298 | ||
301 | 299 | ||
302 | 300 | # Fit multilevel model ----------------------------------------------------------------------- |
Files | Coverage |
---|---|
R | 97.18% |
src/f_copulacorrection_LL_rcpp.cpp | 95.65% |
Project Totals (37 files) | 97.16% |
3897302588
3897250644
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file.
The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files.
The size and color of each slice is representing the number of statements and the coverage, respectively.