konfound-project / konfound

R package for carrying out sensitivity analysis
https://konfound-project.github.io/konfound/
Other
15 stars 7 forks source link

Newitcv #84

Open qinyun-lin opened 3 months ago

jrosen48 commented 2 months ago

I am seeing the following --

function 'chm_factor_ldetL2' not provided by package 'Matrix'

* creating vignettes ... ERROR
Error: --- re-building ‘introduction-to-konfound.Rmd’ using rmarkdown
Quitting from lines  at lines 157-162 [unnamed-chunk-14] (introduction-to-konfound.Rmd)
Error: Error: processing vignette 'introduction-to-konfound.Rmd' failed with diagnostics:
function 'chm_factor_ldetL2' not provided by package 'Matrix'
--- failed re-building ‘introduction-to-konfound.Rmd’
SUMMARY: processing the following file failed:
  ‘introduction-to-konfound.Rmd’
Error: Error: Vignette re-building failed.
Execution halted
Error: Error in proc$get_built_file() : Build process failed
Calls: <Anonymous> ... build_package -> with_envvar -> force -> <Anonymous>
Execution halted
Error: Process completed with exit code 1.

This is from this part of the vignette:

if (requireNamespace("lme4")) {
    library(lme4)
    m3 <- fm1 <- lmer(Reaction ~ Days + (1 | Subject), sleepstudy)
    konfound(m3, Days)
}