[R-meta] update.meta function missing from namespace ?!

Rachael Burke R@ch@e|@Burke @end|ng |rom |@htm@@c@uk
Wed Nov 27 15:44:56 CET 2024


Thanks for the reply, I appreciate it.

Apologies, I put the wrong error message in my initial email (because I had tried to create my “own” update.meta() function in global environment).

The error message is Error in update.meta() : could not find function "update.meta

And the error is correct, update.meta isn’t in namespace!

Best wishes,

Rachael

library(meta)
> update.meta()
Error in update.meta() : could not find function "update.meta"

> ls("package:meta")
[1] "asin2ir"       "asin2p"        "backtransf"    "baujat"        "blup"          "bubble"        "ci"            "cilayout"
 [9] "cor2z"         "drapery"       "estimates"     "forest"        "funnel"        "gs"            "JAMAlabels"    "labbe"
[17] "logit2p"       "logVR2VE"      "longarm"       "metaadd"       "metabias"      "metabin"       "metabind"      "metacont"
[25] "metacor"       "metacr"        "metacum"       "metagen"       "metainc"       "metainf"       "metamean"      "metamerge"
[33] "metaprop"      "metarate"      "metareg"       "nnt"           "or2smd"        "p2asin"        "p2logit"       "radial"
[41] "read.cdir"     "read.mtv"      "read.rm5"      "rob"           "settings.meta" "smd2or"        "traffic_light" "transf"
[49] "trimfill"      "VE2logVR"      "z2cor"




From: Dr. Gerta Rücker <gerta.ruecker using uniklinik-freiburg.de>
Date: Wednesday, 27 November 2024 at 15:41
To: R Special Interest Group for Meta-Analysis <r-sig-meta-analysis using r-project.org>
Cc: Rachael Burke <Rachael.Burke using lshtm.ac.uk>
Subject: AW: update.meta function missing from namespace ?!
*** This message originated outside LSHTM ***

Hi Rachael,

As the error message says, update.meta() needs an argument. If you have an object of class "meta", you may update settings (for example, change the effect measure). Examples are provided in the help file you obtain with

?update.meta

or

help(update.meta)

By the way, R is case-sensitive, therefore it must be library(meta), not Library.

Best,
Gerta


UNIVERSITÄTSKLINIKUM FREIBURG
Institute for Medical Biometry and Statistics

Dr. Gerta Rücker
Guest Scientist

Stefan-Meier-Straße 26 · 79104 Freiburg
gerta.ruecker using uniklinik-freiburg.de

https://www.uniklinik-freiburg.de/imbi-en/employees.html?imbiuser=ruecker<https://www.uniklinik-freiburg.de/imbi-en/employees.html?imbiuser=ruecker>

-----Ursprüngliche Nachricht-----
Von: Rachael Burke via R-sig-meta-analysis <r-sig-meta-analysis using r-project.org>
Gesendet: Mittwoch, 27. November 2024 14:59
An: r-sig-meta-analysis using r-project.org
Cc: Rachael Burke <Rachael.Burke using lshtm.ac.uk>
Betreff: [R-meta] update.meta function missing from namespace ?!

Hi all,

Very grateful for help � or at least verification that this is strictly a �local� problem for me and not the package.

After working fine / brilliantly for months (or years), �update.meta� is missing.

MINIMAL REPO EXAMPLE:

Library(meta)
ls("package:meta")

[1] "asin2ir" "asin2p" "backtransf" "baujat" "blup" "bubble" "ci"
[8] "cilayout" "cor2z" "drapery" "estimates" "forest" "funnel" "gs"
[15] "JAMAlabels" "labbe" "logit2p" "logVR2VE" "longarm" "metaadd" "metabias"
[22] "metabin" "metabind" "metacont" "metacor" "metacr" "metacum" "metagen"
[29] "metainc" "metainf" "metamean" "metamerge" "metaprop" "metarate" "metareg"
[36] "nnt" "or2smd" "p2asin" "p2logit" "pairwise" "radial" "read.cdir"
[43] "read.mtv" "read.rm5" "rob" "settings.meta" "setvals" "smd2or" "traffic_light"
[50] "transf" "trimfill" "VE2logVR" "z2cor"

update.meta()
Error in update.meta() : argument "object" is missing, with no default

SESSION INFO:
> sessionInfo()
R version 4.4.1 (2024-06-14)
Platform: x86_64-apple-darwin20
Running under: macOS Monterey 12.1

Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/lib/libRlapack.dylib; LAPACK version 3.12.0

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

time zone: Europe/Brussels
tzcode source: internal

attached base packages:
[1] stats graphics grDevices utils datasets methods base

other attached packages:
[1] meta_8.0-1 metafor_4.6-0 numDeriv_2016.8-1.1 metadat_1.2-0 Matrix_1.7-0

loaded via a namespace (and not attached):
[1] dplyr_1.1.4 compiler_4.4.1 tidyselect_1.2.1 Rcpp_1.0.13-1 xml2_1.3.6 stringr_1.5.1
[7] splines_4.4.1 boot_1.3-30 lattice_0.22-6 readr_2.1.5 R6_2.5.1 generics_0.1.3
[13] knitr_1.48 MASS_7.3-60.2 tibble_3.2.1 nloptr_2.1.1 minqa_1.2.8 pillar_1.9.0
[19] tzdb_0.4.0 rlang_1.1.4 utf8_1.2.4 stringi_1.8.4 mathjaxr_1.6-0 xfun_0.47
[25] cli_3.6.3 magrittr_2.0.3 grid_4.4.1 rstudioapi_0.16.0 hms_1.1.3 lme4_1.1-35.5
[31] lifecycle_1.0.4 CompQuadForm_1.4.3 nlme_3.1-164 vctrs_0.6.5 glue_1.8.0 fansi_1.0.6
[37] purrr_1.0.2 tools_4.4.1 pkgconfig_2.0.3

WHAT I HAVE TRIED SO FAR:
Re-installing meta from CRAN (v.8)
Re-installing meta from github (v8-02)
Checking that �update.meta� isn�t in namespace metafor or metadata instead.

�?update.meta� still gets me the help page about the function.

WHAT I WANT:
I�m totally lost. Sorry.

Firstly � can anyone else recreate the problem or is this strictly for my machine?

Secondly - Where has �update.meta� (and lots of other functions in �meta� gone?!
How do I get them back?


Thanks so much,

Rachael



[[alternative HTML version deleted]]

	[[alternative HTML version deleted]]



More information about the R-sig-meta-analysis mailing list