There is a newer version of the record available.

Published June 7, 2026 | Version v0.7.7

TwoSampleMR R package

Description

  • Remove dead exposure_mat assignment
  • Replace reshape2::dcast() with tidyr::pivot_wider()
  • Replace deprecated ggplot2::aes_string() with ggplot2::aes()
  • Add new bare names to globalVariables()
  • Replace deprecated size with linewidth in geom_vline(), geom_errorbarh(), geom_errorbar(), and element_rect()
  • Fix constant-in-aes, redundant sapply, and paste/paste0
  • Qualify predict() and desc() calls; remove from globalVariables()
  • Remove broken and unreachable mr_mode_broken() function and its globalVariables() entry
  • Replace sapply with invisible(lapply()) for side-effect iteration; use paste0() for single leading space
  • Replace 1:n index patterns with seq_len() in chunking logic
  • Hoist paste() out of inner loop; replace nested loops with single vectorised assignment
  • Make startup message URLs clickable via cli::style_hyperlink(); add cli to Imports

Notes

Please cite this software using the metadata from 'preferred-citation'.

Files

MRCIEU/TwoSampleMR-v0.7.7.zip

Files (6.1 MB)

Name Size Download all
md5:c78444f3b23c89ad14595e634a03916f
6.1 MB Preview Download

Additional details

Related works