Skip to content

TwoSampleMR 0.7.5#679

Merged
remlapmot merged 13 commits into
MRCIEU:masterfrom
remlapmot:devel-2026-04-30
May 4, 2026
Merged

TwoSampleMR 0.7.5#679
remlapmot merged 13 commits into
MRCIEU:masterfrom
remlapmot:devel-2026-04-30

Conversation

@remlapmot
Copy link
Copy Markdown
Contributor

  • Amend https://gwas.mrcieu.ac.uk URLs to https://opengwas.io/
  • Bump version of roxygen2 to 8.0.0 and regenerate documentation
  • Replace array(1:nexp) placeholder allocations with numeric(nexp)/integer(nexp) in multivariable MR functions
  • Replace 1:n with seq_len(n) in loop indices across singlesnp, leaveoneout, rucker, mr_mode, and multivariable_mr for empty-vector safety
  • Pre-generate jackknife resample indices in mr_rucker_jackknife_internal and switch to lapply, matching the bootstrap function pattern
  • Vectorise get_population_allele_frequency by inlining the quadratic-root logic from contingency() and picking the valid root with vectorised constraint checks

…eout, rucker, mr_mode, and multivariable_mr for empty-vector safety
…al and switch to lapply, matching the bootstrap function pattern
…oot logic from contingency() and picking the valid root with vectorised constraint checks
… other methods are also requested, suppressing the multi-SNP warning for default method runs while preserving the warning when mr_wald_ratio is requested on its own
@remlapmot remlapmot force-pushed the devel-2026-04-30 branch from a6bd54f to f155c75 Compare May 4, 2026 09:55
@remlapmot remlapmot merged commit 48bed40 into MRCIEU:master May 4, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant