Running ‘runit.R’ [7s/12s]
  Running ‘testthat.R’ [118s/181s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library("testthat")
  > library("document")
  > test_check("document")
  ────────────────────────────────────────────────────────────────────────────────
  ─  using log directory ‘/tmp/RtmpptDagP/file91c676f5da/mini.mal.Rcheck’
  ─  using R version 3.5.1 Patched (2018-08-27 r75199)
  ─  using platform: x86_64-pc-linux-gnu (64-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’
  N  checking CRAN incoming feasibility
     Maintainer: ‘Who to complain to <yourfault@somewhere.net>’
     
     New submission
  ✔  checking package namespace information
  ✔  checking package dependencies
  ✔  checking if this is a source package
  ✔  checking if there is a namespace
  ✔  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 ... [1s/1s] OK
  ✔  checking package directory
  ✔  checking DESCRIPTION meta-information
  ✔  checking top-level files
  ✔  checking for left-over files
  ✔  checking index information
  ✔  checking package subdirectories
  ✔  checking R files for non-ASCII characters
  ✔  checking R files for syntax errors
  ✔  checking whether the package can be loaded
  ✔  checking whether the package can be loaded with stated dependencies
  ✔  checking whether the package can be unloaded cleanly
  ✔  checking whether the namespace can be loaded with stated dependencies
  ✔  checking whether the namespace can be unloaded cleanly
  ✔  checking loading without being on the library search path
  ✔  checking use of S3 registration
  ✔  checking dependencies in R code
  ✔  checking S3 generic/method consistency
  ✔  checking replacement functions
  ✔  checking foreign function calls
  ─  checking R code for possible problems ... [3s/4s] OK
  ✔  checking Rd files
  ✔  checking Rd metadata
  ✔  checking Rd line widths
  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 code/documentation mismatches
  ✔  checking Rd \usage sections
  ✔  checking Rd contents
  ✔  checking for unstated dependencies in examples
  ─  checking examples ... [0s/1s] OK
  ✔  checking PDF version of manual
  
  ── 0 errors ✔ | 1 warning ✖ | 1 note ✖
     
     See
       ‘/tmp/RtmpptDagP/file91c676f5da/mini.mal.Rcheck/00check.log’
     for details.
     
     
  ── 1. Error: (unknown) (@test_basic.R#13)  ─────────────────────────────────────
  R CMD check failed, read the above log and fix.
  1: document(file_name, check_package = TRUE, runit = TRUE) at testthat/test_basic.R:13
  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: throw("R CMD check failed, read the above log and fix.")
  
  ────────────────────────────────────────────────────────────────────────────────
  ─  using log directory ‘/tmp/RtmpptDagP/file91c1520df04/produce.warning.Rcheck’
  ─  using R version 3.5.1 Patched (2018-08-27 r75199)
  ─  using platform: x86_64-pc-linux-gnu (64-bit)
  ─  using session charset: UTF-8
  ✔  checking for file ‘produce.warning/DESCRIPTION’
  ─  checking extension type ... Package
  ─  this is package ‘produce.warning’ version ‘2.0.0’
  ✔  checking package namespace information
  ✔  checking package dependencies
  ✔  checking if this is a source package
  ✔  checking if there is a namespace
  ✔  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 ‘produce.warning’ can be installed ... [1s/1s] OK
  ✔  checking package directory
  ✔  checking DESCRIPTION meta-information
  ✔  checking top-level files
  ✔  checking for left-over files
  ✔  checking index information
  ✔  checking package subdirectories
  ✔  checking R files for non-ASCII characters
  ✔  checking R files for syntax errors
  ✔  checking whether the package can be loaded
  ✔  checking whether the package can be loaded with stated dependencies
  ✔  checking whether the package can be unloaded cleanly
  ✔  checking whether the namespace can be loaded with stated dependencies
  ✔  checking whether the namespace can be unloaded cleanly
  ✔  checking loading without being on the library search path
  ✔  checking use of S3 registration
  ✔  checking dependencies in R code
  ✔  checking S3 generic/method consistency
  ✔  checking replacement functions
  ✔  checking foreign function calls
  ─  checking R code for possible problems ... [3s/4s] OK
  ✔  checking Rd files
  ✔  checking Rd metadata
  ✔  checking Rd line widths
  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 code/documentation mismatches
  W  checking Rd \usage sections
     Undocumented arguments in documentation object 'foo'
       ‘x’
     Documented arguments not in \usage in documentation object 'foo':
       ‘y’
     
     Functions with \usage entries need to have the appropriate \alias
     entries, and all their arguments documented.
     The \usage entries must correspond to syntactically valid R code.
     See chapter ‘Writing R documentation files’ in the ‘Writing R
     Extensions’ manual.
  ✔  checking Rd contents
  ✔  checking for unstated dependencies in examples
  ─  checking examples ... NONE
  ✔  checking PDF version of manual
  
  ── 0 errors ✔ | 2 warnings ✖ | 0 notes ✔
     
     See
       ‘/tmp/RtmpptDagP/file91c1520df04/produce.warning.Rcheck/00check.log’
     for details.
     
     
  ────────────────────────────────────────────────────────────────────────────────
  ─  using log directory ‘/tmp/RtmpptDagP/file91c61031767/produce.warning.Rcheck’
  ─  using R version 3.5.1 Patched (2018-08-27 r75199)
  ─  using platform: x86_64-pc-linux-gnu (64-bit)
  ─  using session charset: UTF-8
  ─  using option ‘--as-cran’
  ✔  checking for file ‘produce.warning/DESCRIPTION’
  ─  checking extension type ... Package
  ─  this is package ‘produce.warning’ version ‘2.0.0’
  N  checking CRAN incoming feasibility
     Maintainer: ‘Who to complain to <yourfault@somewhere.net>’
     
     New submission
  ✔  checking package namespace information
  ✔  checking package dependencies
  ✔  checking if this is a source package
  ✔  checking if there is a namespace
  ✔  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 ‘produce.warning’ can be installed ... [1s/1s] OK
  ✔  checking package directory
  ✔  checking DESCRIPTION meta-information
  ✔  checking top-level files
  ✔  checking for left-over files
  ✔  checking index information
  ✔  checking package subdirectories
  ✔  checking R files for non-ASCII characters
  ✔  checking R files for syntax errors
  ✔  checking whether the package can be loaded
  ✔  checking whether the package can be loaded with stated dependencies
  ✔  checking whether the package can be unloaded cleanly
  ✔  checking whether the namespace can be loaded with stated dependencies
  ✔  checking whether the namespace can be unloaded cleanly
  ✔  checking loading without being on the library search path
  ✔  checking use of S3 registration
  ✔  checking dependencies in R code
  ✔  checking S3 generic/method consistency
  ✔  checking replacement functions
  ✔  checking foreign function calls
  ─  checking R code for possible problems ... [3s/4s] OK
  ✔  checking Rd files
  ✔  checking Rd metadata
  ✔  checking Rd line widths
  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 code/documentation mismatches
  W  checking Rd \usage sections
     Undocumented arguments in documentation object 'foo'
       ‘x’
     Documented arguments not in \usage in documentation object 'foo':
       ‘y’
     
     Functions with \usage entries need to have the appropriate \alias
     entries, and all their arguments documented.
     The \usage entries must correspond to syntactically valid R code.
     See chapter ‘Writing R documentation files’ in the ‘Writing R
     Extensions’ manual.
  ✔  checking Rd contents
  ✔  checking for unstated dependencies in examples
  ─  checking examples ... NONE
  ✔  checking PDF version of manual
  
  ── 0 errors ✔ | 2 warnings ✖ | 1 note ✖
     
     See
       ‘/tmp/RtmpptDagP/file91c61031767/produce.warning.Rcheck/00check.log’
     for details.
     
     
  ────────────────────────────────────────────────────────────────────────────────
  ─  using log directory ‘/tmp/RtmpptDagP/file91c7f648df7/produce.warning.Rcheck’
  ─  using R version 3.5.1 Patched (2018-08-27 r75199)
  ─  using platform: x86_64-pc-linux-gnu (64-bit)
  ─  using session charset: UTF-8
  ─  using option ‘--as-cran’
  ✔  checking for file ‘produce.warning/DESCRIPTION’
  ─  checking extension type ... Package
  ─  this is package ‘produce.warning’ version ‘2.0.0’
  N  checking CRAN incoming feasibility
     Maintainer: ‘Who to complain to <yourfault@somewhere.net>’
     
     New submission
  ✔  checking package namespace information
  ✔  checking package dependencies
  ✔  checking if this is a source package
  ✔  checking if there is a namespace
  ✔  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 ‘produce.warning’ can be installed ... [1s/1s] OK
  ✔  checking package directory
  ✔  checking DESCRIPTION meta-information
  ✔  checking top-level files
  ✔  checking for left-over files
  ✔  checking index information
  ✔  checking package subdirectories
  ✔  checking R files for non-ASCII characters
  ✔  checking R files for syntax errors
  ✔  checking whether the package can be loaded
  ✔  checking whether the package can be loaded with stated dependencies
  ✔  checking whether the package can be unloaded cleanly
  ✔  checking whether the namespace can be loaded with stated dependencies
  ✔  checking whether the namespace can be unloaded cleanly
  ✔  checking loading without being on the library search path
  ✔  checking use of S3 registration
  ✔  checking dependencies in R code
  ✔  checking S3 generic/method consistency
  ✔  checking replacement functions
  ✔  checking foreign function calls
  ─  checking R code for possible problems ... [3s/4s] OK
  ✔  checking Rd files
  ✔  checking Rd metadata
  ✔  checking Rd line widths
  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 code/documentation mismatches
  W  checking Rd \usage sections
     Undocumented arguments in documentation object 'foo'
       ‘x’
     Documented arguments not in \usage in documentation object 'foo':
       ‘y’
     
     Functions with \usage entries need to have the appropriate \alias
     entries, and all their arguments documented.
     The \usage entries must correspond to syntactically valid R code.
     See chapter ‘Writing R documentation files’ in the ‘Writing R
     Extensions’ manual.
  ✔  checking Rd contents
  ✔  checking for unstated dependencies in examples
  ─  checking examples ... NONE
  ✔  checking PDF version of manual
  
  ── 0 errors ✔ | 2 warnings ✖ | 1 note ✖
     
     See
       ‘/tmp/RtmpptDagP/file91c7f648df7/produce.warning.Rcheck/00check.log’
     for details.
     
     
  ────────────────────────────────────────────────────────────────────────────────
  ─  using log directory ‘/tmp/RtmpptDagP/file91c33ded28b/produce.warning.Rcheck’
  ─  using R version 3.5.1 Patched (2018-08-27 r75199)
  ─  using platform: x86_64-pc-linux-gnu (64-bit)
  ─  using session charset: UTF-8
  ✔  checking for file ‘produce.warning/DESCRIPTION’
  ─  checking extension type ... Package
  ─  this is package ‘produce.warning’ version ‘2.0.0’
  ✔  checking package namespace information
  ✔  checking package dependencies
  ✔  checking if this is a source package
  ✔  checking if there is a namespace
  ✔  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 ‘produce.warning’ can be installed ... [1s/1s] OK
  ✔  checking package directory
  ✔  checking DESCRIPTION meta-information
  ✔  checking top-level files
  ✔  checking for left-over files
  ✔  checking index information
  ✔  checking package subdirectories
  ✔  checking R files for non-ASCII characters
  ✔  checking R files for syntax errors
  ✔  checking whether the package can be loaded
  ✔  checking whether the package can be loaded with stated dependencies
  ✔  checking whether the package can be unloaded cleanly
  ✔  checking whether the namespace can be loaded with stated dependencies
  ✔  checking whether the namespace can be unloaded cleanly
  ✔  checking loading without being on the library search path
  ✔  checking use of S3 registration
  ✔  checking dependencies in R code
  ✔  checking S3 generic/method consistency
  ✔  checking replacement functions
  ✔  checking foreign function calls
  ─  checking R code for possible problems ... [3s/3s] OK
  ✔  checking Rd files
  ✔  checking Rd metadata
  ✔  checking Rd line widths
  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 code/documentation mismatches
  W  checking Rd \usage sections
     Undocumented arguments in documentation object 'foo'
       ‘x’
     Documented arguments not in \usage in documentation object 'foo':
       ‘y’
     
     Functions with \usage entries need to have the appropriate \alias
     entries, and all their arguments documented.
     The \usage entries must correspond to syntactically valid R code.
     See chapter ‘Writing R documentation files’ in the ‘Writing R
     Extensions’ manual.
  ✔  checking Rd contents
  ✔  checking for unstated dependencies in examples
  ─  checking examples ... NONE
  ✔  checking PDF version of manual
  
  ── 0 errors ✔ | 2 warnings ✖ | 0 notes ✔
     
     See
       ‘/tmp/RtmpptDagP/file91c33ded28b/produce.warning.Rcheck/00check.log’
     for details.
     
     
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 16 SKIPPED: 0 FAILED: 1
  1. Error: (unknown) (@test_basic.R#13) 
  
  Error: testthat unit tests failed
  Execution halted