Skip to content

Commit 0046ff3

Browse files
authored
Merge pull request #656 from remlapmot/v0-6-24
Obtain mr.raps from its default branch
2 parents f2a5d45 + 7be99f9 commit 0046ff3

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: TwoSampleMR
22
Title: Two Sample MR Functions and Interface to MRC Integrative
33
Epidemiology Unit OpenGWAS Database
4-
Version: 0.6.23
4+
Version: 0.6.24
55
Authors@R: c(
66
person("Gibran", "Hemani", , "[email protected]", role = c("aut", "cre"),
77
comment = c(ORCID = "0000-0003-0920-1055")),
@@ -65,7 +65,7 @@ Remotes:
6565
gqi/MRMix,
6666
mrcieu/MRInstruments,
6767
MRPRESSO=rondolab/MR-PRESSO,
68-
qingyuanzhao/mr.raps#17,
68+
qingyuanzhao/mr.raps,
6969
WSpiller/RadialMR
7070
Encoding: UTF-8
7171
Roxygen: list(markdown = TRUE)

NEWS.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# TwoSampleMR v0.6.24
2+
3+
(Release date 2025-10-31)
4+
5+
* We once again obtain **mr.raps** from its default branch. We issue a warning if the user has a version less than version 0.4.3 installed.
6+
17
# TwoSampleMR v0.6.23
28

39
(Release date 2025-10-31)

R/mr.R

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1079,6 +1079,10 @@ mr_raps <- function(b_exp, b_out, se_exp, se_out, parameters = default_parameter
10791079
)
10801080
}
10811081

1082+
if (utils::packageVersion('mr.raps') < '0.4.3') {
1083+
message(paste("The version of mr.raps is", utils::packageVersion('mr.raps'), "please consider updating to version 0.4.3 or higher, e.g., install.packages('mr.raps', repos = c('https://mrcieu.r-universe.dev', 'https://cloud.r-project.org')) "))
1084+
}
1085+
10821086
data <- data.frame(
10831087
beta.exposure = b_exp,
10841088
beta.outcome = b_out,

0 commit comments

Comments
 (0)