Running 'testthat.R' [6s/8s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > ##load your dependencies
  > library(testthat)
  > library(SDraw)
  Loading required package: sp
  SDraw - Sample Draws (v 2.1.13)
  > library(sp)
  > library(rgeos)
  rgeos version: 0.5-8, (SVN revision 679)
   GEOS runtime version: 3.10.0-CAPI-1.16.0 
   Please note that rgeos will be retired by the end of 2023,
  plan transition to sf functions using GEOS at your earliest convenience.
   GEOS using OverlayNG
   Linking to sp version: 1.4-5 
   Polygon checking: TRUE 
  
  > 
  > ##test your package
  > test_check('SDraw')
  == Failed tests ================================================================
  -- Error (test-grts.equi.R:25:3): grts.equi() operates appropriately -----------
  Error in `spsurvey::grts(design = Equaldsgn, DesignID = "Site", type.frame = sframe.type, 
      src.frame = "sp.object", sp.object = shp, shapefile = FALSE)`: unused arguments (design = Equaldsgn, type.frame = sframe.type, src.frame = "sp.object", sp.object = shp, shapefile = FALSE)
  Backtrace:
      x
   1. +-testthat::expect_type(obj <- grts.equi(spdf, 20, 0), "S4") test-grts.equi.R:25:2
   2. | \-testthat::quasi_label(enquo(object), arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. \-SDraw:::grts.equi(spdf, 20, 0)
  -- Error (test-grts.line.R:26:3): grts.line() operates appropriately -----------
  Error in `spsurvey::grts(design = Equaldsgn, DesignID = "Site", type.frame = sframe.type, 
      src.frame = "sp.object", sp.object = shp, shapefile = FALSE)`: unused arguments (design = Equaldsgn, type.frame = sframe.type, src.frame = "sp.object", sp.object = shp, shapefile = FALSE)
  Backtrace:
      x
   1. +-testthat::expect_named(...) test-grts.line.R:26:2
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. \-SDraw::grts.line(Sl, 4, 1)
   5.   \-SDraw:::grts.equi(x, n, over.n)
  -- Error (test-grts.point.R:22:3): grts.point() operates appropriately ---------
  Error in `spsurvey::grts(design = Equaldsgn, DesignID = "Site", type.frame = sframe.type, 
      src.frame = "sp.object", sp.object = shp, shapefile = FALSE)`: unused arguments (design = Equaldsgn, type.frame = sframe.type, src.frame = "sp.object", sp.object = shp, shapefile = FALSE)
  Backtrace:
      x
   1. +-testthat::expect_named(...) test-grts.point.R:22:2
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. \-SDraw::grts.point(spObj, 4, 1)
   5.   \-SDraw:::grts.equi(x, n, over.n)
  -- Error (test-grts.polygon.R:25:3): grts.polygon() operates appropriately -----
  Error in `spsurvey::grts(design = Equaldsgn, DesignID = "Site", type.frame = sframe.type, 
      src.frame = "sp.object", sp.object = shp, shapefile = FALSE)`: unused arguments (design = Equaldsgn, type.frame = sframe.type, src.frame = "sp.object", sp.object = shp, shapefile = FALSE)
  Backtrace:
      x
   1. +-testthat::expect_named(...) test-grts.polygon.R:25:2
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. \-SDraw::grts.polygon(spatPoly, 4, 1)
   5.   \-SDraw:::grts.equi(x, n, over.n)
  
  [ FAIL 4 | WARN 3 | SKIP 0 | PASS 56 ]
  Error: Test failures
  Execution halted