Skip to content

Commit

Permalink
Try to alter download method
Browse files Browse the repository at this point in the history
  • Loading branch information
bschilder committed Jul 15, 2023
1 parent c773cbe commit d3b0830
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/testthat/test-magma_install.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
test_that("magma_install/uninstall works", {

if(!is_32bit()){
options(download.file.method = "libcurl")
if(!is_32bit()){
#### Run first to ensure we're starting from scratch ####
uninstalled_prelim <- magma_uninstall()

Expand Down
1 change: 1 addition & 0 deletions tests/testthat/test-magma_run.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
test_that("magma_run works", {

options(download.file.method = "libcurl")
if(!is_32bit()){
magma_x <- magma_install()
magma_run(cmd = "--version")
Expand Down
1 change: 1 addition & 0 deletions tests/testthat/test-map_snps_to_genes.r
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
test_that("map_snps_to_genes works", {

options(download.file.method = "libcurl")
if(!is_32bit() & (.Platform$OS.type != "windows")){
t1 <- Sys.time()
#### Gather data ####
Expand Down

0 comments on commit d3b0830

Please sign in to comment.