Running 'quick-run.R' [2s]
  Running 'testthat.R' [9s]
Running the tests in 'tests/quick-run.R' failed.
Complete output:
  > library('mvMAPIT')
  > 
  > ind <- 1e2
  > nsnp <- 100
  > H2 <- 0.6
  > rho <- 0.5
  > maf <- 0.05 + 0.45*runif(nsnp)
  > X   <- (runif(ind*nsnp) < maf) + (runif(ind*nsnp) < maf)
  > X   <- matrix(as.double(X),ind,nsnp,byrow = TRUE)
  > s <- sample.int(10000, 1)
  > sim <- simulate_traits(X,
  +                            n_causal = 80,
  +                            H2 = H2,
  +                            rho = rho,
  +                            logLevel = 'DEBUG',
  +                            seed = s)
  2022-12-24 10:31:34 DEBUG:simulate_traits:Scaled genotype matrix: 100 x 100
  2022-12-24 10:31:34 DEBUG:simulate_traits:Disregard 0 variants due to zero variance or small minor allele frequency.
  2022-12-24 10:31:34 DEBUG:simulate_traits:Minor allele frequency threshold 0.010000.
  2022-12-24 10:31:34 DEBUG:simulate_traits:Number of causal SNPs: 80
  2022-12-24 10:31:34 DEBUG:simulate_traits:Number of trait specific SNPs: 10
  2022-12-24 10:31:34 DEBUG:simulate_traits:Number of pleiotropic SNPs: 10
  2022-12-24 10:31:34 DEBUG:simulate_traits:NA in raw genotype matrix: 0
  2022-12-24 10:31:34 DEBUG:simulate_traits:NA in scaled genotype matrix: 0
  2022-12-24 10:31:34 DEBUG:simulate_traits:Dimensions of pleiotropic interaction matrix: 100 x 25
  2022-12-24 10:31:34 DEBUG:simulate_traits:Draw effects from multivariate normal with desired correlation.
  2022-12-24 10:31:34 DEBUG:simulate_traits:Desired marginal correlation: 0.300000
  2022-12-24 10:31:34 DEBUG:simulate_traits:Correlation of simulated marginal effects: 1,0.347392120636369,0.347392120636369,1
  2022-12-24 10:31:34 DEBUG:simulate_traits:Number of epistatic effects: 50
  2022-12-24 10:31:34 DEBUG:simulate_traits:Desired epistatic correlation: 0.300000
  2022-12-24 10:31:34 DEBUG:simulate_traits:Correlation of simulated epistatic effects: 1,0.420540199988478,0.420540199988478,1
  2022-12-24 10:31:34 DEBUG:simulate_traits:Desired error correlation: 0.000000
  2022-12-24 10:31:34 DEBUG:simulate_traits:Correlation of simulated error: 1,0.0348931094598009,0.0348931094598009,1
  2022-12-24 10:31:34 DEBUG:simulate_traits:Simulating trait 1
  2022-12-24 10:31:34 DEBUG:simulate_traits:Length causal set: 70
  2022-12-24 10:31:34 DEBUG:simulate_traits:Length pleiotropic set: 10
  2022-12-24 10:31:34 DEBUG:simulate_traits:Length trait specific set 1: 5
  2022-12-24 10:31:34 DEBUG:simulate_traits:Length trait specific set 2: 5
  2022-12-24 10:31:34 DEBUG:simulate_traits:Head of causal SNPs: 72,68,13,61,77,58
  2022-12-24 10:31:34 DEBUG:simulate_traits:Head of trait specific SNPs group 1: 82,2,58,67,39
  2022-12-24 10:31:34 DEBUG:simulate_traits:Head of trait specific SNPs group 2: 69,65,47,78,60
  2022-12-24 10:31:34 DEBUG:simulate_traits:Computing interactions. This may take a while.
  2022-12-24 10:31:34 DEBUG:simulate_traits:Interactions X_epi computed in 0.010000
  2022-12-24 10:31:34 DEBUG:simulate_traits:Dimension of interaction matrix X_epi: 100 x 50
  2022-12-24 10:31:34 DEBUG:simulate_traits:Variance scaled y_marginal: 0.300000
  2022-12-24 10:31:34 DEBUG:simulate_traits:Variance scaled y_epi: 0.300000
  2022-12-24 10:31:34 DEBUG:simulate_traits:Simulating trait 2
  2022-12-24 10:31:34 DEBUG:simulate_traits:Length causal set: 70
  2022-12-24 10:31:34 DEBUG:simulate_traits:Length pleiotropic set: 10
  2022-12-24 10:31:34 DEBUG:simulate_traits:Length trait specific set 1: 5
  2022-12-24 10:31:34 DEBUG:simulate_traits:Length trait specific set 2: 5
  2022-12-24 10:31:34 DEBUG:simulate_traits:Head of causal SNPs: 81,25,18,14,51,56
  2022-12-24 10:31:34 DEBUG:simulate_traits:Head of trait specific SNPs group 1: 62,87,88,21,61
  2022-12-24 10:31:34 DEBUG:simulate_traits:Head of trait specific SNPs group 2: 91,22,77,92,71
  2022-12-24 10:31:34 DEBUG:simulate_traits:Computing interactions. This may take a while.
  2022-12-24 10:31:34 DEBUG:simulate_traits:Interactions X_epi computed in 0.000000
  2022-12-24 10:31:34 DEBUG:simulate_traits:Dimension of interaction matrix X_epi: 100 x 50
  2022-12-24 10:31:34 DEBUG:simulate_traits:Variance scaled y_marginal: 0.300000
  2022-12-24 10:31:34 DEBUG:simulate_traits:Variance scaled y_epi: 0.300000
  Error in library.dynam(lib, package, package.lib) : 
    DLL 'purrr' not found: maybe not installed for this architecture?
  Calls: simulate_traits ... namespaceImportFrom -> asNamespace -> loadNamespace -> library.dynam
  Execution halted
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(mvMAPIT)
  > 
  > test_check("mvMAPIT")
  2022-12-24 10:31:37 DEBUG:mvmapit:Running in normal test mode.
  2022-12-24 10:31:37 DEBUG:mvmapit:Genotype matrix: 20 x 10
  2022-12-24 10:31:37 DEBUG:mvmapit:Phenotype matrix: 2 x 10
  2022-12-24 10:31:37 DEBUG:mvmapit:Number of zero variance variants: 0
  2022-12-24 10:31:37 DEBUG:mvmapit:Genotype matrix after removing zero variance variants: 20 x 10
  2022-12-24 10:31:37 DEBUG:mvmapit:Scale X matrix appropriately.
  2022-12-24 10:31:37 DEBUG:mvmapit:Calculated mean time of execution. Return list.
  2022-12-24 10:31:39 DEBUG:mvmapit:Running in normal test mode.
  2022-12-24 10:31:39 DEBUG:mvmapit:Genotype matrix: 3 x 10
  2022-12-24 10:31:39 DEBUG:mvmapit:Phenotype matrix: 3 x 10
  2022-12-24 10:31:39 DEBUG:mvmapit:Number of zero variance variants: 0
  2022-12-24 10:31:39 DEBUG:mvmapit:Genotype matrix after removing zero variance variants: 3 x 10
  2022-12-24 10:31:39 DEBUG:mvmapit:Scale X matrix appropriately.
  2022-12-24 10:31:39 DEBUG:mvmapit:Calculated mean time of execution. Return list.
  2022-12-24 10:31:39 DEBUG:mvmapit:Set pve to NA if not in varianIndex.
  [ FAIL 24 | WARN 0 | SKIP 0 | PASS 5 ]
  
  == Failed tests ================================================================
  -- Error ('test-combine_pvalues.R:7'): Fisher's combine method API -------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. \-base::loadNamespace(x) at test-combine_pvalues.R:7:8
   2.   +-base::namespaceImportFrom(...)
   3.   | \-base::asNamespace(ns)
   4.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   5.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-combine_pvalues.R:46'): Harmonic mean p combine method API -----
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. \-base::loadNamespace(x) at test-combine_pvalues.R:46:8
   2.   +-base::namespaceImportFrom(...)
   3.   | \-base::asNamespace(ns)
   4.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   5.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-mvmapit-argument-parsing.R:6'): MvMapit can take a vector as phenotype input. test = normal --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. \-base::loadNamespace(x) at test-mvmapit-argument-parsing.R:6:8
   2.   +-base::namespaceImportFrom(...)
   3.   | \-base::asNamespace(ns)
   4.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   5.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-mvmapit-argument-parsing.R:32'): MvMapit can take a vector as phenotype input. test = davies --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. \-base::loadNamespace(x) at test-mvmapit-argument-parsing.R:32:8
   2.   +-base::namespaceImportFrom(...)
   3.   | \-base::asNamespace(ns)
   4.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   5.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-mvmapit-executes-without-error.R:7'): test = 'normal'.  --------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. \-base::loadNamespace(x) at test-mvmapit-executes-without-error.R:7:8
   2.   +-base::namespaceImportFrom(...)
   3.   | \-base::asNamespace(ns)
   4.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   5.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-mvmapit-executes-without-error.R:40'): test = davies.  ---------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. \-base::loadNamespace(x) at test-mvmapit-executes-without-error.R:40:8
   2.   +-base::namespaceImportFrom(...)
   3.   | \-base::asNamespace(ns)
   4.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   5.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-mvmapit-executes-without-error.R:72'): test = hybrid -----------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. \-base::loadNamespace(x) at test-mvmapit-executes-without-error.R:72:8
   2.   +-base::namespaceImportFrom(...)
   3.   | \-base::asNamespace(ns)
   4.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   5.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-mvmapit-executes-without-error.R:105'): C is not NULL.  --------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. \-base::loadNamespace(x) at test-mvmapit-executes-without-error.R:105:8
   2.   +-base::namespaceImportFrom(...)
   3.   | \-base::asNamespace(ns)
   4.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   5.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-mvmapit-executes-without-error.R:145'): test = 'normal', C is not NULL.  --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. \-base::loadNamespace(x) at test-mvmapit-executes-without-error.R:145:8
   2.   +-base::namespaceImportFrom(...)
   3.   | \-base::asNamespace(ns)
   4.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   5.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-mvmapit-executes-without-error.R:185'): C is not NULL, test = 'davies'.  --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. \-base::loadNamespace(x) at test-mvmapit-executes-without-error.R:185:8
   2.   +-base::namespaceImportFrom(...)
   3.   | \-base::asNamespace(ns)
   4.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   5.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-mvmapit-executes-without-error.R:225'): test = 'davies'. , d = 1 --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. \-base::loadNamespace(x) at test-mvmapit-executes-without-error.R:225:8
   2.   +-base::namespaceImportFrom(...)
   3.   | \-base::asNamespace(ns)
   4.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   5.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-mvmapit-executes-without-error.R:271'): test = 'hybrid'., d = 1  --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. \-base::loadNamespace(x) at test-mvmapit-executes-without-error.R:271:8
   2.   +-base::namespaceImportFrom(...)
   3.   | \-base::asNamespace(ns)
   4.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   5.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-mvmapit-return-is-labeled-informatively.R:12'): pairwise test with d = 3. test = 'normal'. --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. \-base::loadNamespace(x) at test-mvmapit-return-is-labeled-informatively.R:12:8
   2.   +-base::namespaceImportFrom(...)
   3.   | \-base::asNamespace(ns)
   4.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   5.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-mvmapit-with-identical-phenotypes.R:14'): test that all pvalues equal if traits are equal --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-mvMAPIT::mvmapit(t(X), t(Y), test = "normal", cores = 1, logLevel = "DEBUG") at test-mvmapit-with-identical-phenotypes.R:14:8
   2. | \-pvals_df %>% mutate(id = row.names(pvals_df)) %>% ...
   3. \-base::loadNamespace(x)
   4.   +-base::namespaceImportFrom(...)
   5.   | \-base::asNamespace(ns)
   6.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   7.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-simulate_data.R:15'): Simulate multiple traits returns apropriate trait object --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-mvMAPIT::simulate_traits(...) at test-simulate_data.R:15:8
    2. | \-... %>% mutate(pleiotropic = (id %in% pleiotropic_set))
    3. +-dplyr::mutate(., pleiotropic = (id %in% pleiotropic_set))
    4. +-dplyr::summarise(., total_effect = sum(abs(.data[["effect_size"]])))
    5. +-dplyr::group_by(., .data[["trait"]], .data[["id"]], .data[["name"]])
    6. +-dplyr::mutate(., name = sprintf("snp_%05d", id))
    7. \-base::loadNamespace(x)
    8.   +-base::namespaceImportFrom(...)
    9.   | \-base::asNamespace(ns)
   10.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   11.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-simulate_data.R:55'): Simulate multiple traits returns causal SNPs --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-mvMAPIT::simulate_traits(...) at test-simulate_data.R:55:8
    2. | \-... %>% mutate(pleiotropic = (id %in% pleiotropic_set))
    3. +-dplyr::mutate(., pleiotropic = (id %in% pleiotropic_set))
    4. +-dplyr::summarise(., total_effect = sum(abs(.data[["effect_size"]])))
    5. +-dplyr::group_by(., .data[["trait"]], .data[["id"]], .data[["name"]])
    6. +-dplyr::mutate(., name = sprintf("snp_%05d", id))
    7. \-base::loadNamespace(x)
    8.   +-base::namespaceImportFrom(...)
    9.   | \-base::asNamespace(ns)
   10.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   11.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-simulate_data.R:88'): Simulate multiple traits remove SNPs with low maf --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-mvMAPIT::simulate_traits(...) at test-simulate_data.R:88:8
    2. | \-... %>% mutate(pleiotropic = (id %in% pleiotropic_set))
    3. +-dplyr::mutate(., pleiotropic = (id %in% pleiotropic_set))
    4. +-dplyr::summarise(., total_effect = sum(abs(.data[["effect_size"]])))
    5. +-dplyr::group_by(., .data[["trait"]], .data[["id"]], .data[["name"]])
    6. +-dplyr::mutate(., name = sprintf("snp_%05d", id))
    7. \-base::loadNamespace(x)
    8.   +-base::namespaceImportFrom(...)
    9.   | \-base::asNamespace(ns)
   10.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   11.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-simulate_data.R:119'): Simulation of groups with given ratio works as expected. --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-mvMAPIT::simulate_traits(...) at test-simulate_data.R:119:8
    2. | \-... %>% mutate(pleiotropic = (id %in% pleiotropic_set))
    3. +-dplyr::mutate(., pleiotropic = (id %in% pleiotropic_set))
    4. +-dplyr::summarise(., total_effect = sum(abs(.data[["effect_size"]])))
    5. +-dplyr::group_by(., .data[["trait"]], .data[["id"]], .data[["name"]])
    6. +-dplyr::mutate(., name = sprintf("snp_%05d", id))
    7. \-base::loadNamespace(x)
    8.   +-base::namespaceImportFrom(...)
    9.   | \-base::asNamespace(ns)
   10.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   11.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-simulate_data.R:163'): simulate_traits can handle zero size n_trait_specific groups. --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-mvMAPIT::simulate_traits(...) at test-simulate_data.R:163:8
    2. | \-... %>% mutate(pleiotropic = (id %in% pleiotropic_set))
    3. +-dplyr::mutate(., pleiotropic = (id %in% pleiotropic_set))
    4. +-dplyr::summarise(., total_effect = sum(abs(.data[["effect_size"]])))
    5. +-dplyr::group_by(., .data[["trait"]], .data[["id"]], .data[["name"]])
    6. +-dplyr::mutate(., name = sprintf("snp_%05d", id))
    7. \-base::loadNamespace(x)
    8.   +-base::namespaceImportFrom(...)
    9.   | \-base::asNamespace(ns)
   10.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   11.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-simulate_data.R:203'): simulate_traits can handle zero size n_pleiotropic groups. --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-mvMAPIT::simulate_traits(...) at test-simulate_data.R:203:8
    2. | \-... %>% mutate(pleiotropic = (id %in% pleiotropic_set))
    3. +-dplyr::mutate(., pleiotropic = (id %in% pleiotropic_set))
    4. +-dplyr::summarise(., total_effect = sum(abs(.data[["effect_size"]])))
    5. +-dplyr::group_by(., .data[["trait"]], .data[["id"]], .data[["name"]])
    6. +-dplyr::mutate(., name = sprintf("snp_%05d", id))
    7. \-base::loadNamespace(x)
    8.   +-base::namespaceImportFrom(...)
    9.   | \-base::asNamespace(ns)
   10.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   11.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-simulate_data.R:244'): simulate_traits can handle zero size n_pleiotropic AND n_trait_specific groups. --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-mvMAPIT::simulate_traits(...) at test-simulate_data.R:244:8
   2. | \-dplyr::bind_rows(...)
   3. |   \-rlang::list2(...)
   4. \-base::loadNamespace(x)
   5.   +-base::namespaceImportFrom(...)
   6.   | \-base::asNamespace(ns)
   7.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   8.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-simulate_data.R:273'): test varying heiritability --------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-mvMAPIT::simulate_traits(...) at test-simulate_data.R:273:8
    2. | \-... %>% mutate(pleiotropic = (id %in% pleiotropic_set))
    3. +-dplyr::mutate(., pleiotropic = (id %in% pleiotropic_set))
    4. +-dplyr::summarise(., total_effect = sum(abs(.data[["effect_size"]])))
    5. +-dplyr::group_by(., .data[["trait"]], .data[["id"]], .data[["name"]])
    6. +-dplyr::mutate(., name = sprintf("snp_%05d", id))
    7. \-base::loadNamespace(x)
    8.   +-base::namespaceImportFrom(...)
    9.   | \-base::asNamespace(ns)
   10.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   11.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-simulate_data.R:300'): test run --------------------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-mvMAPIT::simulate_traits(...) at test-simulate_data.R:300:8
    2. | \-... %>% mutate(pleiotropic = (id %in% pleiotropic_set))
    3. +-dplyr::mutate(., pleiotropic = (id %in% pleiotropic_set))
    4. +-dplyr::summarise(., total_effect = sum(abs(.data[["effect_size"]])))
    5. +-dplyr::group_by(., .data[["trait"]], .data[["id"]], .data[["name"]])
    6. +-dplyr::mutate(., name = sprintf("snp_%05d", id))
    7. \-base::loadNamespace(x)
    8.   +-base::namespaceImportFrom(...)
    9.   | \-base::asNamespace(ns)
   10.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   11.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-variants-not-in-variantIndex-produce-NA.R:19'): pvalues and pve shows NA for variants not in variantIndex --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-mvMAPIT::mvmapit(...) at test-variants-not-in-variantIndex-produce-NA.R:19:8
   2. | \-pvals_df %>% mutate(id = row.names(pvals_df)) %>% ...
   3. \-base::loadNamespace(x)
   4.   +-base::namespaceImportFrom(...)
   5.   | \-base::asNamespace(ns)
   6.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   7.     \-base::library.dynam(lib, package, package.lib)
  
  [ FAIL 24 | WARN 0 | SKIP 0 | PASS 5 ]
  Error: Test failures
  Execution halted