Running 'runit.R' [9s]
  Running 'testthat.R' [1s]
  Running 'tinytest.R' [2s]
Running the tests in 'tests/runit.R' failed.
Complete output:
  > #!/usr/bin/Rscript --vanilla
  > is_failure <- function(result) {
  +     res <- RUnit::getErrors(result)
  +     names(res) <- tolower(names(res)) # soothe lintr
  +     sum_of_exceptions <- res[["nerr"]] + res[["nfail"]]
  +     fail <- as.logical(sum_of_exceptions)
  +     return(fail)
  + }
  > 
  > if (interactive()) {
  +     pkgload::load_all(path = ".") # needed to use pkgload's shim version of
  +     # base's system.file
  +     unit_dir <- system.file("inst", "runit_tests", package = "treePlotArea")
  + } else {
  +     require("treePlotArea", quietly = TRUE, character.only = TRUE) ||
  +         pkgload::load_all(path = ".") # needed to use pkgload's shim version of
  +     r_call <- commandArgs(trailingOnly = FALSE)
  +     if (any(grepl("--file", r_call))) {
  +         unit_dir <- file.path("inst", "runit_tests")
  +     } else {
  +         unit_dir <- system.file("runit_tests", package = "treePlotArea")
  +     }
  + }
  
  Attaching package: 'treePlotArea'
  
  The following object is masked from 'package:datasets':
  
      trees
  
  > if (! dir.exists(unit_dir)) {
  +     stop("Can not find RUnit test directory ", unit_dir,
  +          ". Try to (re)install the package first.")
  + }
  > setup_file <- file.path(unit_dir, "setup.R")
  > if (file.exists(setup_file)) source(setup_file)
  > package_suite <- RUnit::defineTestSuite("treePlotArea_unit_test",
  +                                         dirs = unit_dir,
  +                                         testFileRegexp = "^runit.*\\.[rR]",
  +                                         testFuncRegexp = "^test_+")
  > test_result <- RUnit::runTestSuite(package_suite)
  
  
  Executing test function test_check_boundaries  ... Error in treePlotArea:::check_boundaries(boundary) : 
   Found boundary through the plot in corner 5 of tract 9999!  
  Stopping.
  In addition: Warning messages:
  1: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) :
    RNGkind: Marsaglia-Multicarry has poor statistical properties
  2: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) :
    RNGkind: severe deviations from normality for Kinderman-Ramage + Marsaglia-Multicarry
  Error in treePlotArea:::check_boundaries(boundary) : 
   Found boundary through the plot in corner 5 of tract 9999!  
  Stopping.
   done successfully.
  
  
  
  Executing test function test_get_boundary_polygons  ... Error in check_boundaries(current_boundaries, stop_on_error = stop_on_error,  : 
    
   Found boundary through the plot in corner 2 of tract 2607!  
  Stopping.
   done successfully.
  
  
  
  Executing test function test_get_boundary_radius  ...  done successfully.
  
  
  
  Executing test function test_check_tree  ...  done successfully.
  
  
  
  Executing test function test_get_correction_factor  ...