Running ‘testthat.R’ [84s/101s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(renv)
  
  Attaching package: 'renv'
  
  The following object is masked from 'package:stats':
  
      update
  
  The following objects are masked from 'package:utils':
  
      history, upgrade
  
  The following objects are masked from 'package:base':
  
      load, remove
  
  > 
  > renv:::renv_tests_init()
  > renv:::renv_tests_diagnostics()
  The following R libraries are set:
  
  	- /tmp/Rtmph5a4tu/working_dir/Rtmp3Waa0Q/renv-library-55a068cf6187
  	- /tmp/Rtmph5a4tu/working_dir/Rtmp3Waa0Q/renv-system-library
  
  The following repositories are set:
  
  	CRAN: file:///tmp/Rtmph5a4tu/working_dir/Rtmp3Waa0Q/renv-repos-55a0275c1be4
  
  The following renv root directory is being used:
  
  	- /tmp/Rtmph5a4tu/working_dir/Rtmp3Waa0Q/renv-root-55a010b01ef5
  
  The following renv cache directory is being used:
  
  	- /tmp/Rtmph5a4tu/working_dir/Rtmp3Waa0Q/renv-root-55a010b01ef5/cache/v5/R-3.6/i386-pc-solaris2.10
  
  The following packages are available in the test repositories:
  
  	bread, breakfast, brunch, egg, halloween, oatmeal, packrat,
  	toast
  
  	R_LIBS      : <NA>
  	R_LIBS_SITE : "no_such_dir"
  	R_LIBS_USER : "~/R/i386-pc-solaris2.10-library/3.6"
  
  > 
  > test_check("renv")
  find . -type d -empty -delete
  =============================
  
  find: bad option -empty
  find: [-H | -L] path-list predicate-list
  ── 1. Error: we can purge packages from the cache (@test-purge.R#11)  ──────────
  error removing empty directories [error code 1]
  Backtrace:
   1. renv::purge("breakfast")
   2. renv:::renv_purge_impl(package, version, hash, confirm)
   3. renv:::renv_cache_clean_empty()
   4. renv:::renv_system_exec("find", args, action)
   5. renv:::stopf(fmt, action, status)
  
  find . -type d -empty -delete
  =============================
  
  find: bad option -empty
  find: [-H | -L] path-list predicate-list
  ── 2. Error: rehash() migrates cached packages as expected (@test-rehash.R#21)  
  error removing empty directories [error code 1]
  Backtrace:
   1. renv::rehash(confirm = FALSE)
   2. renv:::renv_rehash_impl(confirm)
   3. renv:::renv_rehash_cache(oldcache, confirm, renv_file_copy)
   4. renv:::renv_cache_clean_empty()
   5. renv:::renv_system_exec("find", args, action)
   6. renv:::stopf(fmt, action, status)
  
  find . -type d -empty -delete
  =============================
  
  find: bad option -empty
  find: [-H | -L] path-list predicate-list
  ── 3. Error: install.staged works as expected (@test-restore.R#84)  ────────────
  error removing empty directories [error code 1]
  Backtrace:
   1. renv::purge("breakfast")
   2. renv:::renv_purge_impl(package, version, hash, confirm)
   3. renv:::renv_cache_clean_empty()
   4. renv:::renv_system_exec("find", args, action)
   5. renv:::stopf(fmt, action, status)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 291 | SKIPPED: 46 | WARNINGS: 0 | FAILED: 3 ]
  1. Error: we can purge packages from the cache (@test-purge.R#11) 
  2. Error: rehash() migrates cached packages as expected (@test-rehash.R#21) 
  3. Error: install.staged works as expected (@test-restore.R#84) 
  
  Error: testthat unit tests failed
  Execution halted