Running ‘runit.R’ [18s/29s]
  Running ‘testthat.R’ [99s/230s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > running_on_my_machines <- function() {
  +     sys_info <- Sys.info()
  +     r <- sys_info[["nodename"]] %in% c("h6", "h7") &&
  +         sys_info[["effective_user"]] == "qwer" &&
  +         .Platform[["OS.type"]] == "unix"
  +     return(r)
  + }
  > 
  > set_NOT_CRAN  <- function() {
  +     is_unset <- is.na(Sys.getenv("NOT_CRAN", unset = NA))
  +     if (running_on_my_machines() && is_unset)
  +         Sys.setenv("NOT_CRAN" = TRUE)
  + }
  > 
  > set_NOT_CRAN()
  > library("testthat")
  > library("document")
  > test_check("document")
  ── R CMD build ─────────────────────────────────────────────────────────────────
  * checking for file ‘.../DESCRIPTION’ ... OK
  * preparing ‘mini.mal’:
  * checking DESCRIPTION meta-information ... OK
  * checking for LF line-endings in source and make files and shell scripts
  * checking for empty or unneeded directories
  * building ‘mini.mal_2.0.0.tar.gz’
  
  ── R CMD check ─────────────────────────────────────────────────────────────────
  * using log directory ‘/tmp/RtmpFGaquj/working_dir/Rtmp4OaWbE/file3c0e381e1c5b/mini.mal.Rcheck’
  * using R version 4.0.0 beta (2020-04-14 r78227)
  * using platform: i386-pc-solaris2.10 (32-bit)
  * using session charset: UTF-8
  * using option ‘--as-cran’
  * checking for file ‘mini.mal/DESCRIPTION’ ... OK
  * checking extension type ... Package
  * this is package ‘mini.mal’ version ‘2.0.0’
  * checking CRAN incoming feasibility ... NOTE
  Maintainer: ‘Who to complain to <yourfault@somewhere.net>’
  
  New submission
  
  DESCRIPTION fields with placeholder content:
    Author: Who wrote it
    Maintainer: Who to complain to <yourfault@somewhere.net>
  * checking package namespace information ... OK
  * checking package dependencies ... OK
  * checking if this is a source package ... OK
  * checking if there is a namespace ... OK
  * checking for executable files ... OK
  * checking for hidden files and directories ... OK
  * checking for portable file names ... OK
  * checking for sufficient/correct file permissions ... OK
  * checking serialization versions ... OK
  * checking whether package ‘mini.mal’ can be installed ... OK
  * checking installed package size ... OK
  * checking package directory ... OK
  * checking for future file timestamps ... OK
  * checking DESCRIPTION meta-information ... OK
  * checking top-level files ... OK
  * checking for left-over files ... OK
  * checking index information ... OK
  * checking package subdirectories ... OK
  * checking R files for non-ASCII characters ... OK
  * checking R files for syntax errors ... OK
  * checking whether the package can be loaded ... OK
  * checking whether the package can be loaded with stated dependencies ... OK
  * checking whether the package can be unloaded cleanly ... OK
  * checking whether the namespace can be loaded with stated dependencies ... OK
  * checking whether the namespace can be unloaded cleanly ... OK
  * checking loading without being on the library search path ... OK
  * checking use of S3 registration ... OK
  * checking dependencies in R code ... OK
  * checking S3 generic/method consistency ... OK
  * checking replacement functions ... OK
  * checking foreign function calls ... OK
  * checking R code for possible problems ... OK
  * checking Rd files ... OK
  * checking Rd metadata ... OK
  * checking Rd line widths ... OK
  * checking Rd cross-references ... WARNING
  Error in find.package(package, lib.loc) : 
    there is no package called ‘MASS’
  Calls: <Anonymous> -> lapply -> FUN -> find.package
  Execution halted
  * checking for missing documentation entries ... OK
  * checking for code/documentation mismatches ... OK
  * checking Rd \usage sections ... OK
  * checking Rd contents ... OK
  * checking for unstated dependencies in examples ... OK
  * checking examples ... OK
  * checking PDF version of manual ... OK
  * checking for non-standard things in the check directory ... OK
  * checking for detritus in the temp directory ... OK
  * DONE
  
  Status: 1 WARNING, 1 NOTE
  See
    ‘/tmp/RtmpFGaquj/working_dir/Rtmp4OaWbE/file3c0e381e1c5b/mini.mal.Rcheck/00check.log’
  for details.
  
  
  ── R CMD build ─────────────────────────────────────────────────────────────────
  * checking for file ‘.../DESCRIPTION’ ... OK
  * preparing ‘simple’:
  * checking DESCRIPTION meta-information ... OK
  * checking for LF line-endings in source and make files and shell scripts
  * checking for empty or unneeded directories
  * building ‘simple_2.0.0.tar.gz’
  
  ── 1. Error: clean (@test_basic.R#36)  ─────────────────────────────────────────
  Still alive
  Backtrace:
   1. document::document(file_name, clean = TRUE, runit = TRUE)
   2. document:::check_package(...)
   3. rcmdcheck::rcmdcheck(...)
   4. rcmdcheck:::build_package(...)
   7. proc$get_built_file()
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 2 | SKIPPED: 0 | WARNINGS: 3 | FAILED: 1 ]
  1. Error: clean (@test_basic.R#36) 
  
  Error: testthat unit tests failed
  Execution halted