MathiasHarrer / Doing-Meta-Analysis-in-R

[Read-Only] All R code and source files for the online guide "Doing Meta-Analysis with R: A Hands-On Guide"

Home Page:https://www.protectlab.org/meta-analysis-in-r

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build errors

babayoshihiko opened this issue · comments

I tried to build in bs4_book format with R 4.2 and encountered two errors:

08-forestplots.Rmd

Quitting from lines 6061-6067 (Doing_Meta_Analysis_in_R.Rmd)
Error in forest.meta(m.gen, sortvar = TE, predict = TRUE, print.tau2 = FALSE, :
argument 3 matches multiple formal arguments
Calls: ... withVisible -> eval_with_user_handlers -> eval -> eval -> forest
In addition: Warning messages:
1: In pack_rows(., "Core Database", 1, 6, latex_align = "c", latex_gap_space = "2em", :
latex_align parameter is not used in HTML Mode,
use label_row_css instead.
2: In pack_rows(., "Citation Database", 7, 9, latex_align = "c", latex_gap_space = "2em", :
latex_align parameter is not used in HTML Mode,
use label_row_css instead.
3: In pack_rows(., "Dissertations", 10, 10, latex_align = "c", latex_gap_space = "2em", :
latex_align parameter is not used in HTML Mode,
use label_row_css instead.
4: In pack_rows(., "Study Registries", 11, 12, latex_align = "c", latex_gap_space = "2em", :
latex_align parameter is not used in HTML Mode,
use label_row_css instead.
5: Use argument 'fixed' instead of 'comb.fixed' (deprecated).
6: Use argument 'random' instead of 'comb.random' (deprecated).
Execution halted

Exited with status 1.

The error message says fores.meta in 08-forestplots.Rmd. However, I was able to fix the following forest function in lines97-101 by replacing predict argument with prediction.

The other error is:

Quitting from lines 11734-11735 (Doing_Meta_Analysis_in_R.Rmd)
Error in namespaceLocalSearch(model, name) :
no slot of name "penalties" for this object of class "MxModel"
Calls: ... imxExtractMethod -> namespaceSearch -> namespaceLocalSearch
In addition: There were 13 warnings (use warnings() to see them)
Execution halted

I have no solution to this error.