Skip to content

Commit

Permalink
Merge pull request #568 from remlapmot/catch-server-nonresponse-2
Browse files Browse the repository at this point in the history
Catch server non-response in perform_mr vignette chunk
  • Loading branch information
remlapmot authored Sep 26, 2024
2 parents 5ed1951 + e38660c commit 578c68f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vignettes/perform_mr.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -656,8 +656,8 @@ MendelianRandomization::mr_ivw(dat2[[1]])
Alternatively, convert to the `MRInput` format but also obtaining the LD matrix for the instruments

```{r eval=evalinr44}
dat2 <- dat_to_MRInput(dat, get_correlation = TRUE)
MendelianRandomization::mr_ivw(dat2[[1]], correl = TRUE)
dat2 <- try(dat_to_MRInput(dat, get_correlation = TRUE))
if (class(dat2) != "try-error") MendelianRandomization::mr_ivw(dat2[[1]], correl = TRUE)
```

* * *
Expand Down

0 comments on commit 578c68f

Please sign in to comment.