Running 'testthat.R' [4s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(nanostringr)
  > 
  > test_check("nanostringr")
  -- 1. Failure: No error on either scale (@test-HKnorm.R#6)  --------------------
  `HKnorm(ovd.r, is.logged = TRUE)` threw an error.
  Message: `map2_dfr()` requires dplyr
  Class:   rlang_error/error/condition
  Backtrace:
   1. testthat::expect_error(HKnorm(ovd.r, is.logged = TRUE), NA)
   6. nanostringr::HKnorm(ovd.r, is.logged = TRUE)
   7. purrr::map2_df(gxdat, hkmeans, `-`)
  
  -- 2. Failure: No error on either scale (@test-HKnorm.R#7)  --------------------
  `HKnorm(ovd.r)` threw an error.
  Message: `map2_dfr()` requires dplyr
  Class:   rlang_error/error/condition
  Backtrace:
   1. testthat::expect_error(HKnorm(ovd.r), NA)
   6. nanostringr::HKnorm(ovd.r)
   7. purrr::map2_df(gxdat, hkmeans, `-`)
  
  -- 3. Error: Always returns data frame (@test-HKnorm.R#11)  --------------------
  `map2_dfr()` requires dplyr
  Backtrace:
   1. testthat::expect_is(HKnorm(ovd.r), "data.frame")
   4. nanostringr::HKnorm(ovd.r)
   5. purrr::map2_df(gxdat, hkmeans, `-`)
  
  -- 4. Error: Always returns data frame (@test-NanoStringQC.R#10)  --------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_is(...)
    4. nanostringr::NanoStringQC(...)
   10. dplyr::mutate(...)
   13. base::getExportedValue(pkg, name)
   14. base::asNamespace(ns)
   15. base::getNamespace(ns)
   16. base::loadNamespace(name)
   17. base::library.dynam(lib, package, package.lib)
  
  -- 5. Failure: No errors if column names start with a number (@test-NanoStringQC
  `NanoStringQC(hlo.r, expQC[expQC$geneRLF == "HL1", ])` threw an error.
  Message: DLL 'dplyr' not found: maybe not installed for this architecture?
  Class:   simpleError/error/condition
  Backtrace:
    1. testthat::expect_error(...)
    6. nanostringr::NanoStringQC(...)
   10. dplyr::mutate(...)
   15. base::getExportedValue(pkg, name)
   16. base::asNamespace(ns)
   17. base::getNamespace(ns)
   18. base::loadNamespace(name)
   19. base::library.dynam(lib, package, package.lib)
  
  -- 6. Error: Error if missing any gene types (@test-NanoStringQC.R#35)  --------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. dplyr::filter
   2. base::getExportedValue(pkg, name)
   3. base::asNamespace(ns)
   4. base::getNamespace(ns)
   5. base::loadNamespace(name)
   6. base::library.dynam(lib, package, package.lib)
  
  -- 7. Error: (unknown) (@test-order.R#4)  --------------------------------------
  package or namespace load failed for 'dplyr' in library.dynam(lib, package, package.lib):
   DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. base::library(dplyr)
   2. base::tryCatch(...)
   3. base:::tryCatchList(expr, classes, parentenv, handlers)
   4. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   5. value[[3L]](cond)
  
  -- 8. Error: reading from directory outputs list of counts and attributes (@test
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. nanostringr::read_rcc(rcc_dir)
    9. purrr::map(., parse_counts)
   10. nanostringr:::.f(.x[[i]], ...)
    4. rcc_file[cs_header:cs_last]
    4. base::paste(., collapse = "\n")
    4. utils::read.csv(stringsAsFactors = FALSE, text = .)
   11. dplyr::rename(...)
   19. base::getExportedValue(pkg, name)
   20. base::asNamespace(ns)
   21. base::getNamespace(ns)
   22. base::loadNamespace(name)
   23. base::library.dynam(lib, package, package.lib)
  
  -- 9. Error: counts data has right dimension (@test-parse.R#14)  ---------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. nanostringr::parse_counts(rcc_file)
    2. rcc_file[cs_header:cs_last]
    2. base::paste(., collapse = "\n")
    2. utils::read.csv(stringsAsFactors = FALSE, text = .)
    9. dplyr::rename(...)
   10. base::getExportedValue(pkg, name)
   11. base::asNamespace(ns)
   12. base::getNamespace(ns)
   13. base::loadNamespace(name)
   14. base::library.dynam(lib, package, package.lib)
  
  == testthat results  ===========================================================
  [ OK: 19 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 9 ]
  1. Failure: No error on either scale (@test-HKnorm.R#6) 
  2. Failure: No error on either scale (@test-HKnorm.R#7) 
  3. Error: Always returns data frame (@test-HKnorm.R#11) 
  4. Error: Always returns data frame (@test-NanoStringQC.R#10) 
  5. Failure: No errors if column names start with a number (@test-NanoStringQC.R#19) 
  6. Error: Error if missing any gene types (@test-NanoStringQC.R#35) 
  7. Error: (unknown) (@test-order.R#4) 
  8. Error: reading from directory outputs list of counts and attributes (@test-parse.R#7) 
  9. Error: counts data has right dimension (@test-parse.R#14) 
  
  Error: testthat unit tests failed
  Execution halted