Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

roxygen example code error fit_metafor_mv #9

Closed
egouldo opened this issue Nov 6, 2023 · 1 comment
Closed

roxygen example code error fit_metafor_mv #9

egouldo opened this issue Nov 6, 2023 · 1 comment
Assignees
Labels
bug an unexpected problem or unintended behavior documentation
Milestone

Comments

@egouldo
Copy link
Owner

egouldo commented Nov 6, 2023

  • checking examples ... ERROR
    Running examples in ‘ManyEcoEvo-Ex.R’ failed
    The error most likely occurred in:

Name: fit_metafor_mv

Title: Fit Multivariate Metaregression using metafoR

Aliases: fit_metafor_mv

** Examples

#TODO -- is this the best way of setting up this fun?? (i.e. to take numeric vectors)?

Example Usage:

library(tidyverse);library(targets);library(metafor) # NOT RUN, TODO: remove after create pkg

source("R/functions.R") #NOT RUN, TODO: remove after create pkg

tar_read(round_2_survey_meta_analysis) %>%

  • filter(dataset == "eucalyptus") %>%
  • filter(!is.na(Zr),
  •      !is.na(VZr),
    
  •      !is.infinite(Zr),
    
  •      !is.infinite(VZr)) %>%
    
  • fit_metafor_mv(estimate = .$Zr, variance = .$VZr, estimate_type = "Zr", data = .)

── Fitting multivariate metaregression ──

Error in match.arg(method) : object 'VZr' not found
Calls: %>% ... fit_metafor_mv -> -> filter -> match.arg
Execution halted

@egouldo egouldo added bug an unexpected problem or unintended behavior documentation labels Nov 6, 2023
@egouldo egouldo added this to the R CMD CHECK milestone Nov 6, 2023
@egouldo egouldo self-assigned this Nov 6, 2023
egouldo added a commit that referenced this issue Aug 12, 2024
@egouldo
Copy link
Owner Author

egouldo commented Sep 3, 2024

came out in the wash

@egouldo egouldo closed this as not planned Won't fix, can't repro, duplicate, stale Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug an unexpected problem or unintended behavior documentation
Projects
None yet
Development

No branches or pull requests

1 participant