Running 'testthat.R' [1s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > 
  > test_check("testthis")
  Loading required package: testthis
  -- 1. Error: (unknown) (@test_get_test_index.R#6)  -----------------------------
  DLL 'glue' not found: maybe not installed for this architecture?
  1: setup({
         tenv <- parent.env(environment())
         proj_old <- tryCatch(usethis::proj_get(), error = function(e) NULL)
         assign("proj_old", proj_old, tenv)
         assign("td", file.path(tempdir(), "testthis"), tenv)
         assign("proj_test", file.path(td, "test_pkg"), tenv)
         dir <- find_testdata("test_pkg", must_exist = TRUE)
         fs::dir_copy(dir, proj_test)
         usethis::proj_set(proj_test)
     }) at testthat/test_get_test_index.R:6
  2: eval_tidy(enquo(code), env = env)
  3: usethis::proj_set at testthat/test_get_test_index.R:15
  4: getExportedValue(pkg, name)
  5: asNamespace(ns)
  6: getNamespace(ns)
  7: loadNamespace(name)
  8: namespaceImportFrom(ns, loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]), 
         i[[2L]], from = package)
  9: asNamespace(ns)
  10: loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
  11: library.dynam(lib, package, package.lib)
  12: stop(gettextf("DLL %s not found: maybe not installed for this architecture?", sQuote(chname)), 
         domain = NA)
  
  -- 2. Error: (unknown) (@test_infrastructure.R#4)  -----------------------------
  DLL 'glue' not found: maybe not installed for this architecture?
  1: setup({
         tenv <- parent.env(environment())
         proj_old <- tryCatch(usethis::proj_get(), error = function(e) NULL)
         assign("proj_old", proj_old, tenv)
         assign("td", file.path(tempdir(), "testthis"), tenv)
         assign("proj_test", file.path(td, "test_pkg"), tenv)
         dir <- find_testdata("test_pkg", must_exist = TRUE)
         fs::dir_copy(dir, proj_test)
         usethis::proj_set(proj_test)
     }) at testthat/test_infrastructure.R:4
  2: eval_tidy(enquo(code), env = env)
  3: usethis::proj_set at testthat/test_infrastructure.R:13
  4: getExportedValue(pkg, name)
  5: asNamespace(ns)
  6: getNamespace(ns)
  7: loadNamespace(name)
  8: namespaceImportFrom(ns, loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]), 
         i[[2L]], from = package)
  9: asNamespace(ns)
  10: loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
  11: library.dynam(lib, package, package.lib)
  12: stop(gettextf("DLL %s not found: maybe not installed for this architecture?", sQuote(chname)), 
         domain = NA)
  
  -- 3. Error: (unknown) (@test_use_testdata.R#12)  ------------------------------
  [EEXIST] Failed to copy 'D:/RCompile/CRANpkg/local/3.6/testthis.Rcheck/tests/testthat/testdata/test_pkg/DESCRIPTION' to 'D:/temp/RtmpMR6N0I/testthis/test_pkg/test_pkg/DESCRIPTION': file already exists
  1: setup({
         tenv <- parent.env(environment())
         proj_old <- tryCatch(usethis::proj_get(), error = function(e) NULL)
         assign("proj_old", proj_old, tenv)
         assign("td", file.path(tempdir(), "testthis"), tenv)
         assign("proj_test", file.path(td, "test_pkg"), tenv)
         dir <- find_testdata("test_pkg", must_exist = TRUE)
         fs::dir_copy(dir, proj_test)
         usethis::proj_set(proj_test)
     }) at testthat/test_use_testdata.R:12
  2: eval_tidy(enquo(code), env = env)
  3: fs::dir_copy(dir, proj_test) at testthat/test_use_testdata.R:20
  4: file_copy(files, path(new_path[[i]], path_rel(files, path[[i]])), overwrite = overwrite)
  5: copyfile_(old, new, isTRUE(overwrite))
  
  == testthat results  ===========================================================
  OK: 22 SKIPPED: 0 WARNINGS: 0 FAILED: 3
  1. Error: (unknown) (@test_get_test_index.R#6) 
  2. Error: (unknown) (@test_infrastructure.R#4) 
  3. Error: (unknown) (@test_use_testdata.R#12) 
  
  Error: testthat unit tests failed
  Execution halted