From daec1dc3cc3d6449530c14051555c7de31a21ef5 Mon Sep 17 00:00:00 2001 From: "Frederick J. Boehm" Date: Mon, 29 Jun 2020 15:39:45 -0400 Subject: [PATCH] removed calls to future::plan() within functions --- R/boot_pvl.R | 1 - R/scan_pvl.R | 2 -- README.Rmd | 2 +- README.md | 2 +- 4 files changed, 2 insertions(+), 5 deletions(-) diff --git a/R/boot_pvl.R b/R/boot_pvl.R index 14ae3a4..b74ee6d 100644 --- a/R/boot_pvl.R +++ b/R/boot_pvl.R @@ -166,7 +166,6 @@ boot_pvl <- function(probs, } # prepare table of marker indices for each call of scan_pvl_clean mytab <- prep_mytab(d_size = d_size, n_snp = n_snp) - future::plan("multiprocess") scan_out <- furrr::future_map(.x = Ysimlist, .f = scan_pvl_clean, diff --git a/R/scan_pvl.R b/R/scan_pvl.R index f2b2303..398f708 100644 --- a/R/scan_pvl.R +++ b/R/scan_pvl.R @@ -197,8 +197,6 @@ scan_pvl_clean <- function(pheno, start_snp, mytab, n_snp){ - # set up parallel analysis - future::plan("multiprocess") list_result <- furrr::future_map(.x = as.data.frame(t(mytab)), .f = fit1_pvl, addcovar = addcovar, diff --git a/README.Rmd b/README.Rmd index ccf66f3..9434285 100644 --- a/README.Rmd +++ b/README.Rmd @@ -76,7 +76,7 @@ install.packages("qtl2pleio") You may also wish to install the [R/qtl2](https://kbroman.org/qtl2). We will use it below. -```{r install-qtl2, eval = TRUE} +```{r install-qtl2, eval = FALSE} install.packages("qtl2") ``` diff --git a/README.md b/README.md index c039157..5a3c882 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ [![CRAN\_Status\_Badge](https://www.r-pkg.org/badges/version/qtl2pleio)](https://cran.r-project.org/package=qtl2pleio) -[![Binder](https://static.mybinder.org/badge_logo.svg)](https://static.mybinder.org/v2/gh/fboehm/qtl2pleio/master?urlpath=rstudio) +[![Binder](https://static.mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/fboehm/qtl2pleio/master?urlpath=rstudio) [![Travis-CI Build Status](https://travis-ci.org/fboehm/qtl2pleio.svg?branch=master)](https://travis-ci.org/fboehm/qtl2pleio) [![Coverage