Running ‘runit.R’ [18s/19s]
  Running ‘testthat.R’ [85s/190s]
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("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’ ...
    
     checking for file ‘.../DESCRIPTION’ ...
    
  ✔  checking for file ‘.../DESCRIPTION’ (650ms)
  
    
  
    
  ─  preparing ‘mini.mal’:
  
    
  
    
     checking DESCRIPTION meta-information ...
    
     checking DESCRIPTION meta-information ...
    
  ✔  checking DESCRIPTION meta-information
  
    
  
    
  ─  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/Rtmp0Sa4jj/file124f2c825e29/mini.mal.Rcheck’ (877ms)
  
    
  ─  using R version 3.5.3 Patched (2019-03-11 r76219)
  ─  using platform: i386-pc-solaris2.10 (32-bit)
  ─  using session charset: UTF-8
  
    
  ─  using option ‘--as-cran’
  
    
  ✔  checking for file ‘mini.mal/DESCRIPTION’
  ─  checking extension type ... Package
  
    
  ─  this is package ‘mini.mal’ version ‘2.0.0’
     checking CRAN incoming feasibility ...
    
  N  checking CRAN incoming feasibility (1m 21.8s)
     Maintainer: ‘Who to complain to <yourfault@somewhere.net>’
     
     New submission
  
    
  ✔  checking package namespace information
     checking package dependencies ...
    
  ✔  checking package dependencies (2.9s)
  
    
  ✔  checking if this is a source package
  ✔  checking if there is a namespace
  
    
     checking for executable files ...
    
  ✔  checking for executable files
  
    
  ✔  checking for hidden files and directories
  ✔  checking for portable file names
  ✔  checking for sufficient/correct file permissions
  
    
  ✔  checking serialization versions
     checking whether package ‘mini.mal’ can be installed ...
    
  ✔  checking whether package ‘mini.mal’ can be installed (2.2s)
  
    
     checking installed package size ...
    
  ✔  checking installed package size
  
    
     checking package directory ...
    
  ✔  checking package directory
     checking DESCRIPTION meta-information ...
    
  ✔  checking DESCRIPTION meta-information (809ms)
  
    
  ✔  checking top-level files
  ✔  checking for left-over files
  ✔  checking index information
     checking package subdirectories ...
    
  ✔  checking package subdirectories
  
    
     checking R files for non-ASCII characters ...
    
  ✔  checking R files for non-ASCII characters
  
    
     checking R files for syntax errors ...
    
  ✔  checking R files for syntax errors
  
    
     checking whether the package can be loaded ...
    
  ✔  checking whether the package can be loaded (745ms)
  
    
     checking whether the package can be loaded with stated dependencies ...
    
  ✔  checking whether the package can be loaded with stated dependencies
  
    
     checking whether the package can be unloaded cleanly ...
    
  ✔  checking whether the package can be unloaded cleanly
  
    
     checking whether the namespace can be loaded with stated dependencies ...
    
  ✔  checking whether the namespace can be loaded with stated dependencies
     checking whether the namespace can be unloaded cleanly ...
    
  ✔  checking whether the namespace can be unloaded cleanly (842ms)
  
    
     checking loading without being on the library search path ...
    
  ✔  checking loading without being on the library search path (778ms)
  
    
     checking use of S3 registration ...
    
  ✔  checking use of S3 registration (5.7s)
  
    
     checking dependencies in R code ...
    
  ✔  checking dependencies in R code
  
    
     checking S3 generic/method consistency ...
    
  ✔  checking S3 generic/method consistency (1.8s)
  
    
     checking replacement functions ...
    
  ✔  checking replacement functions (460ms)
     checking foreign function calls ...
    
  ✔  checking foreign function calls (470ms)
  
    
     checking R code for possible problems ...
    
  ✔  checking R code for possible problems (6.9s)
  
    
     checking Rd files ...
    
  ✔  checking Rd files
  
    
     checking Rd metadata ...
    
  ✔  checking Rd metadata
  
    
     checking Rd line widths ...
    
  ✔  checking Rd line widths
  
    
     checking Rd cross-references ...
    
  W  checking Rd cross-references
     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 ...
    
  ✔  checking for missing documentation entries (645ms)
  
    
     checking for code/documentation mismatches ...
    
  ✔  checking for code/documentation mismatches (1.5s)
  
    
     checking Rd \usage sections ...
    
  ✔  checking Rd \usage sections (2.3s)
  
    
     checking Rd contents ...
    
  ✔  checking Rd contents
  
    
     checking for unstated dependencies in examples ...
    
  ✔  checking for unstated dependencies in examples (425ms)
  
    
     checking examples ...
    
  ✔  checking examples (2s)
  
    
     checking PDF version of manual ...
    
  ✔  checking PDF version of manual (20.3s)
  
    
     
     See
       ‘/tmp/Rtmp0Sa4jj/file124f2c825e29/mini.mal.Rcheck/00check.log’
     for details.
     
     
  
    
  
  ── R CMD build ─────────────────────────────────────────────────────────────────
    
     checking for file ‘.../DESCRIPTION’ ...
    
     checking for file ‘.../DESCRIPTION’ ...
    
  ✔  checking for file ‘.../DESCRIPTION’ (826ms)
  
    
  
    
  ─  preparing ‘simple’:
  
    
  
    
  ✔  checking DESCRIPTION meta-information
  
    
  
    
  ─  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
  1: document(file_name, clean = TRUE, runit = TRUE) at testthat/test_basic.R:36
  2: check_package(package_directory = package_directory, working_directory = working_directory, 
         check_as_cran = check_as_cran, debug = debug, stop_on_check_not_passing = stop_on_check_not_passing)
  3: rcmdcheck::rcmdcheck(path = package_directory, libpath = .libPaths(), args = check_args)
  4: build_package(path, check_dir, build_args = build_args, libpath = libpath, quiet = quiet)
  5: with_envvar(c(R_LIBS_USER = paste(libpath, collapse = .Platform$path.sep)), {
         proc <- pkgbuild_process$new(path, tmpdir, args = build_args)
         on.exit(proc$kill(), add = TRUE)
         callback <- block_callback()
         while (proc$is_incomplete_output() || proc$is_incomplete_error()) {
             proc$poll_io(-1)
             out <- proc$read_output()
             err <- proc$read_error()
             if (!quiet) {
                 out <- sub("(checking for file .)/.*DESCRIPTION(.)", "\\1.../DESCRIPTION\\2", 
                     out, perl = TRUE)
                 callback(out)
                 callback(err)
             }
         }
         proc$get_built_file()
     })
  6: force(code)
  7: proc$get_built_file()
  8: stop("Still alive")
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 5 SKIPPED: 0 FAILED: 1
  1. Error: clean (@test_basic.R#36) 
  
  Error: testthat unit tests failed
  Execution halted