Running 'testthat.R' [121s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(mlbench)
  > library(magrittr)
  > library(dplyr)
  
  Attaching package: 'dplyr'
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  > library(testthat)
  
  Attaching package: 'testthat'
  
  The following object is masked from 'package:dplyr':
  
      matches
  
  The following objects are masked from 'package:magrittr':
  
      equals, is_less_than, not
  
  > library(dann)
  > 
  > test_check("dann")
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 90 ]
  
  == Failed tests ================================================================
  -- Error ('test_A_dann.R:284'): (code run outside of `test_that()`) ------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-dann::dann(xTrain, yTrain, xTest, 3, 5, 1, TRUE) at test_A_dann.R:284:0
   2. | \-dann:::class_proportions(yTrain[nearest], sort(unique(yTrain)))
   3. \-base::loadNamespace(x)
   4.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test_B_dann_df.R:39'): (code run outside of `test_that()`) ----------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-dann::dann_df(Y ~ X1 + X2, train, test, 9, 60, 2, TRUE) at test_B_dann_df.R:39:0
   2. | \-dann::dann(...)
   3. |   \-dann:::class_proportions(yTrain[nearest], sort(unique(yTrain)))
   4. \-base::loadNamespace(x)
   5.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test_C_sub_dann.R:139'): (code run outside of `test_that()`) --------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-dann::sub_dann(...) at test_C_sub_dann.R:139:0
   2. | \-dann::dann(...)
   3. |   \-dann:::class_proportions(yTrain[nearest], sort(unique(yTrain)))
   4. \-base::loadNamespace(x)
   5.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test_D_sub_dann_df.R:39'): (code run outside of `test_that()`) ------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-dann::sub_dann_df(Y ~ X1 + X2, train, test, 9, 60, 2, TRUE) at test_D_sub_dann_df.R:39:0
   2. | \-dann::sub_dann(...)
   3. |   \-dann::dann(...)
   4. |     \-dann:::class_proportions(yTrain[nearest], sort(unique(yTrain)))
   5. \-base::loadNamespace(x)
   6.   \-base::library.dynam(lib, package, package.lib)
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 90 ]
  Error: Test failures
  Execution halted