Running 'testthat.R' [217s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(styler)
  > 
  > test_check("styler")
  In tests/testthat/helpers-devel-options: Deactivated cache.
  Size:		0 bytes (3 cached expressions)
  Last modified:	2020-08-27 22:13:55
  Created:	2020-08-27 22:13:47
  Location:	D:\temp\RtmponUOn4/.Rcache/styler/testthat
  Activated:	TRUE
  Size:		0 bytes (3 cached expressions)
  Last modified:	2020-08-27 22:14:05
  Created:	2020-08-27 22:13:47
  Location:	D:\temp\RtmponUOn4/.Rcache/styler/testthat
  Activated:	TRUE
  Size:		0 bytes (3 cached expressions)
  Last modified:	2020-08-27 22:14:14
  Created:	2020-08-27 22:13:47
  Location:	D:\temp\RtmponUOn4/.Rcache/styler/testthat
  Activated:	TRUE
  Using cache testthat at D:\temp\RtmponUOn4/.Rcache/styler/testthat.
  Size:		0 bytes (6 cached expressions)
  Last modified:	2020-08-27 22:14:17
  Created:	2020-08-27 22:13:47
  Location:	D:\temp\RtmponUOn4/.Rcache/styler/testthat
  Activated:	TRUE
  -- 1. Error: caching utils make right blocks with semi-colon (@test-cache-low-le
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. styler:::compute_parse_data_nested(c("1 + 1", "2; 1+1"))
    8. dplyr::mutate(., is_cached = FALSE)
    9. base::getExportedValue(pkg, name)
   10. base::asNamespace(ns)
   11. base::getNamespace(ns)
   12. base::loadNamespace(name)
   13. base::library.dynam(lib, package, package.lib)
  
  -- 2. Error: caching utils make right blocks with comments (@test-cache-low-leve
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. styler:::compute_parse_data_nested(text)
    8. dplyr::mutate(...)
    9. base::getExportedValue(pkg, name)
   10. base::asNamespace(ns)
   11. base::getNamespace(ns)
   12. base::loadNamespace(name)
   13. base::library.dynam(lib, package, package.lib)
  
  Using cache testthat at D:\temp\RtmponUOn4/.Rcache/styler/testthat.
  -- 3. Error: caching utils make right blocks with comments (@test-cache-low-leve
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. styler:::compute_parse_data_nested(c("1 + 1", "2 # comment"))
    8. dplyr::mutate(., is_cached = FALSE)
    9. base::getExportedValue(pkg, name)
   10. base::asNamespace(ns)
   11. base::getNamespace(ns)
   12. base::loadNamespace(name)
   13. base::library.dynam(lib, package, package.lib)
  
  Using cache testthat at D:\temp\RtmponUOn4/.Rcache/styler/testthat.
  Size:		0 bytes (2 cached expressions)
  Last modified:	2020-08-27 22:14:19
  Created:	2020-08-27 22:13:47
  Location:	D:\temp\RtmponUOn4/.Rcache/styler/testthat
  Activated:	TRUE
  Using cache testthat at D:\temp\RtmponUOn4/.Rcache/styler/testthat.
  Deactivated cache.
  Using cache testthat at D:\temp\RtmponUOn4/.Rcache/styler/testthat.
  Styling  1  files:
   D:\temp\RtmponUOn4\file2c7fc20295f7d.R i 
  ----------------------------------------
  Status	Count	Legend 
  v 	0	File unchanged.
  i 	1	File changed.
  x 	0	Styling threw an error.
  ----------------------------------------
  Please review the changes carefully!
  Using cache testthat at D:\temp\RtmponUOn4/.Rcache/styler/testthat.
  Using cache testthat at D:\temp\RtmponUOn4/.Rcache/styler/testthat.
  Using cache testthat at D:\temp\RtmponUOn4/.Rcache/styler/testthat.
  Deactivated cache.
  Using cache testthat at D:\temp\RtmponUOn4/.Rcache/styler/testthat.
  Deactivated cache.
  Using cache testthat at D:\temp\RtmponUOn4/.Rcache/styler/testthat.
  Deactivated cache.
  Using cache testthat at D:\temp\RtmponUOn4/.Rcache/styler/testthat.
  Deactivated cache.
  Using cache testthat at D:\temp\RtmponUOn4/.Rcache/styler/testthat.
  Deactivated cache.
  Using cache testthat at D:\temp\RtmponUOn4/.Rcache/styler/testthat.
  Using cache testthat at D:\temp\RtmponUOn4/.Rcache/styler/testthat.
  Using cache testthat at D:\temp\RtmponUOn4/.Rcache/styler/testthat.
  Deactivated cache.
  == testthat results  ===========================================================
  [ OK: 321 | SKIPPED: 15 | WARNINGS: 1 | FAILED: 3 ]
  1. Error: caching utils make right blocks with semi-colon (@test-cache-low-level-api.R#2) 
  2. Error: caching utils make right blocks with comments (@test-cache-low-level-api.R#32) 
  3. Error: caching utils make right blocks with comments (@test-cache-low-level-api.R#100) 
  
  Error: testthat unit tests failed
  Execution halted