Skip to content

Commit

Permalink
Try setting options twice to get mc install dir
Browse files Browse the repository at this point in the history
  • Loading branch information
Noam Ross committed Nov 14, 2023
1 parent ec177e7 commit c7e3e2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/setup.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ if(nzchar(Sys.getenv("RELIC_TEST_S3"))) {
mc_dir <- file.path(find.package("minioclient"), "mc_bin")
dir_create(mc_dir)
# Set minioclient directory to package directory so it is cached with packages
withr::local_options(list("minioclient.dir" = mc_dir))

withr::local_options(list(minioclient.dir = mc_dir))
options(minioclient.dir = mc_dir)
minioclient::install_mc()
minioclient::install_minio_server()
message("Installed MinIO server and client")
Expand Down

0 comments on commit c7e3e2a

Please sign in to comment.