Running 'testthat.R' [12s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > # Needed for subshells openend in tests, and does no harm otherwise.
  > # See <https://github.com/hadley/testthat/issues/144> for details.
  > Sys.setenv(R_TESTS = '')
  > testthat::test_check('box')
  Loading required package: box
  
  Attaching package: 'box'
  
  The following object is masked from 'package:utils':
  
      help
  
  The following object is masked from 'package:base':
  
      file
  
  [ FAIL 14 | WARN 1 | SKIP 8 | PASS 495 ]
  
  == Skipped tests ===============================================================
  * On CRAN (1)
  * On Windows (3)
  * Outside source code repository (3)
  * empty test (1)
  
  == Failed tests ================================================================
  -- Error ('test-help.r:7'): (code run outside of `test_that()`) ----------------
  Error in `box::use(mod/help/a)`: DLL 'purrr' not found: maybe not installed for this architecture?
  (inside "library.dynam(lib, package, package.lib)")
  (inside "box::use(./c, devtools)")
  (inside "box::use(./b)")
  Backtrace:
       x
    1. \-base::eval(...)
    2.   \-base::eval(...)
    3.     \-box::use(mod/help/a) at test-help.r:7:4
    4.       \-box:::map(use_one, imports, aliases, list(caller), use_call = list(sys.call()))
    5.         \-base::Map(.f, ..., USE.NAMES = FALSE)
    6.           \-base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
    7.             \-box (local) `<fn>`(...)
    8.               \-box:::rethrow_on_error(...)
    9.                 \-base::tryCatch(expr, error = function(error) rethrow(error, call))
   10.                   \-base (local) tryCatchList(expr, classes, parentenv, handlers)
   11.                     \-base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   12.                       \-value[[3L]](cond)
   13.                         \-box:::rethrow(error, call)
   14.                           \-box:::throw(...)
  -- Error ('test-pkg.r:25'): previously loaded user packages can be used --------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. \-base::loadNamespace("devtools") at test-pkg.r:25:4
   2.   +-base::namespaceImportFrom(...)
   3.   | \-base::asNamespace(ns)
   4.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   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-pkg.r:38'): unloaded user packages can be used -----------------
  Error in `box::use(devtools)`: DLL 'purrr' not found: maybe not installed for this architecture?
  (inside "library.dynam(lib, package, package.lib)")
  Backtrace:
       x
    1. \-box::use(devtools) at test-pkg.r:38:4
    2.   \-box:::map(use_one, imports, aliases, list(caller), use_call = list(sys.call()))
    3.     \-base::Map(.f, ..., USE.NAMES = FALSE)
    4.       \-base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
    5.         \-box (local) `<fn>`(...)
    6.           \-box:::rethrow_on_error(...)
    7.             \-base::tryCatch(expr, error = function(error) rethrow(error, call))
    8.               \-base (local) tryCatchList(expr, classes, parentenv, handlers)
    9.                 \-base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10.                   \-value[[3L]](cond)
   11.                     \-box:::rethrow(error, call)
   12.                       \-box:::throw(...)
  -- Error ('test-pkg.r:57'): packages can be used with aliases ------------------
  Error in `box::use(dev = devtools)`: DLL 'purrr' not found: maybe not installed for this architecture?
  (inside "library.dynam(lib, package, package.lib)")
  Backtrace:
       x
    1. \-box::use(dev = devtools) at test-pkg.r:57:4
    2.   \-box:::map(use_one, imports, aliases, list(caller), use_call = list(sys.call()))
    3.     \-base::Map(.f, ..., USE.NAMES = FALSE)
    4.       \-base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
    5.         \-box (local) `<fn>`(...)
    6.           \-box:::rethrow_on_error(...)
    7.             \-base::tryCatch(expr, error = function(error) rethrow(error, call))
    8.               \-base (local) tryCatchList(expr, classes, parentenv, handlers)
    9.                 \-base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10.                   \-value[[3L]](cond)
   11.                     \-box:::rethrow(error, call)
   12.                       \-box:::throw(...)
  -- Error ('test-pkg.r:64'): things can be attached locally ---------------------
  Error in `box::use(devtools[load_all])`: DLL 'purrr' not found: maybe not installed for this architecture?
  (inside "library.dynam(lib, package, package.lib)")
  Backtrace:
       x
    1. \-box::use(devtools[load_all]) at test-pkg.r:64:4
    2.   \-box:::map(use_one, imports, aliases, list(caller), use_call = list(sys.call()))
    3.     \-base::Map(.f, ..., USE.NAMES = FALSE)
    4.       \-base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
    5.         \-box (local) `<fn>`(...)
    6.           \-box:::rethrow_on_error(...)
    7.             \-base::tryCatch(expr, error = function(error) rethrow(error, call))
    8.               \-base (local) tryCatchList(expr, classes, parentenv, handlers)
    9.                 \-base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10.                   \-value[[3L]](cond)
   11.                     \-box:::rethrow(error, call)
   12.                       \-box:::throw(...)
  -- Error ('test-pkg.r:75'): all things can be attached locally -----------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. \-base::getNamespaceExports("devtools") at test-pkg.r:75:4
    2.   \-base::asNamespace(ns)
    3.     \-base::getNamespace(ns)
    4.       \-base::loadNamespace(name)
    5.         +-base::namespaceImportFrom(...)
    6.         | \-base::asNamespace(ns)
    7.         \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
    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 (???): things can be attached globally --------------------------------
  Error in `box::use(devtools[load_all])`: DLL 'purrr' not found: maybe not installed for this architecture?
  (inside "library.dynam(lib, package, package.lib)")
  Backtrace:
       x
    1. +-base::eval(quote(box::use(devtools[load_all])), .GlobalEnv)
    2. | \-base::eval(quote(box::use(devtools[load_all])), .GlobalEnv)
    3. \-box::use(devtools[load_all])
    4.   \-box:::map(use_one, imports, aliases, list(caller), use_call = list(sys.call()))
    5.     \-base::Map(.f, ..., USE.NAMES = FALSE)
    6.       \-base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
    7.         \-box (local) `<fn>`(...)
    8.           \-box:::rethrow_on_error(...)
    9.             \-base::tryCatch(expr, error = function(error) rethrow(error, call))
   10.               \-base (local) tryCatchList(expr, classes, parentenv, handlers)
   11.                 \-base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   12.                   \-value[[3L]](cond)
   13.                     \-box:::rethrow(error, call)
   14.                       \-box:::throw(...)
  -- Error ('test-pkg.r:105'): all things can be attached globally ---------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-base::eval(...)
    2. | \-base::eval(...)
    3. \-base::getNamespaceExports("devtools") at test-pkg.r:105:8
    4.   \-base::asNamespace(ns)
    5.     \-base::getNamespace(ns)
    6.       \-base::loadNamespace(name)
    7.         +-base::namespaceImportFrom(...)
    8.         | \-base::asNamespace(ns)
    9.         \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   10.           +-base::namespaceImportFrom(...)
   11.           | \-base::asNamespace(ns)
   12.           \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   13.             \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-pkg.r:116'): attachments can be aliased ------------------------
  Error in `box::use(devtools[u = unload, reload, la = load_all])`: DLL 'purrr' not found: maybe not installed for this architecture?
  (inside "library.dynam(lib, package, package.lib)")
  Backtrace:
       x
    1. \-box::use(devtools[u = unload, reload, la = load_all]) at test-pkg.r:116:4
    2.   \-box:::map(use_one, imports, aliases, list(caller), use_call = list(sys.call()))
    3.     \-base::Map(.f, ..., USE.NAMES = FALSE)
    4.       \-base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
    5.         \-box (local) `<fn>`(...)
    6.           \-box:::rethrow_on_error(...)
    7.             \-base::tryCatch(expr, error = function(error) rethrow(error, call))
    8.               \-base (local) tryCatchList(expr, classes, parentenv, handlers)
    9.                 \-base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10.                   \-value[[3L]](cond)
   11.                     \-box:::rethrow(error, call)
   12.                       \-box:::throw(...)
  -- Error ('test-pkg.r:126'): wildcard attachments can contain aliases ----------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. \-base::getNamespaceExports("devtools") at test-pkg.r:126:4
    2.   \-base::asNamespace(ns)
    3.     \-base::getNamespace(ns)
    4.       \-base::loadNamespace(name)
    5.         +-base::namespaceImportFrom(...)
    6.         | \-base::asNamespace(ns)
    7.         \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
    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-pkg.r:143'): only exported things can be attached --------------
  Error in `as.environment(pos)`: no item called "getNamespace("devtools")" on the search list
  Backtrace:
      x
   1. +-box:::expect_in("yesno", ls(getNamespace("devtools"))) at test-pkg.r:143:4
   2. | \-testthat::quasi_label(rlang::enquo(list), arg = "list") at d:\RCompile\CRANpkg\local\4.1\box.Rcheck\tests_i386\testthat\helper-expect.r:20:4
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. \-base::ls(getNamespace("devtools"))
  -- Error ('test-pkg.r:148'): packages that attach things are not aliased -------
  Error in `box::use(devtools[load_all])`: DLL 'purrr' not found: maybe not installed for this architecture?
  (inside "library.dynam(lib, package, package.lib)")
  Backtrace:
       x
    1. \-box::use(devtools[load_all]) at test-pkg.r:148:4
    2.   \-box:::map(use_one, imports, aliases, list(caller), use_call = list(sys.call()))
    3.     \-base::Map(.f, ..., USE.NAMES = FALSE)
    4.       \-base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
    5.         \-box (local) `<fn>`(...)
    6.           \-box:::rethrow_on_error(...)
    7.             \-base::tryCatch(expr, error = function(error) rethrow(error, call))
    8.               \-base (local) tryCatchList(expr, classes, parentenv, handlers)
    9.                 \-base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10.                   \-value[[3L]](cond)
   11.                     \-box:::rethrow(error, call)
   12.                       \-box:::throw(...)
  -- Error ('test-pkg.r:155'): packages that attach things are can be aliased ----
  Error in `box::use(dev = devtools[load_all])`: DLL 'purrr' not found: maybe not installed for this architecture?
  (inside "library.dynam(lib, package, package.lib)")
  Backtrace:
       x
    1. \-box::use(dev = devtools[load_all]) at test-pkg.r:155:4
    2.   \-box:::map(use_one, imports, aliases, list(caller), use_call = list(sys.call()))
    3.     \-base::Map(.f, ..., USE.NAMES = FALSE)
    4.       \-base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
    5.         \-box (local) `<fn>`(...)
    6.           \-box:::rethrow_on_error(...)
    7.             \-base::tryCatch(expr, error = function(error) rethrow(error, call))
    8.               \-base (local) tryCatchList(expr, classes, parentenv, handlers)
    9.                 \-base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10.                   \-value[[3L]](cond)
   11.                     \-box:::rethrow(error, call)
   12.                       \-box:::throw(...)
  -- Error ('test-pkg.r:164'): S3 lookup works for partial exports ---------------
  Error in `box::use(roxygen2[parse = roxy_tag_parse])`: DLL 'purrr' not found: maybe not installed for this architecture?
  (inside "library.dynam(lib, package, package.lib)")
  Backtrace:
       x
    1. \-box::use(roxygen2[parse = roxy_tag_parse]) at test-pkg.r:164:4
    2.   \-box:::map(use_one, imports, aliases, list(caller), use_call = list(sys.call()))
    3.     \-base::Map(.f, ..., USE.NAMES = FALSE)
    4.       \-base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
    5.         \-box (local) `<fn>`(...)
    6.           \-box:::rethrow_on_error(...)
    7.             \-base::tryCatch(expr, error = function(error) rethrow(error, call))
    8.               \-base (local) tryCatchList(expr, classes, parentenv, handlers)
    9.                 \-base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10.                   \-value[[3L]](cond)
   11.                     \-box:::rethrow(error, call)
   12.                       \-box:::throw(...)
  
  [ FAIL 14 | WARN 1 | SKIP 8 | PASS 495 ]
  Error: Test failures
  Execution halted