Running ‘testthat.R’ [75s/99s]
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.11)
  > library(sp)
  > library(rgeos)
  rgeos version: 0.5-3, (SVN revision 634)
   GEOS runtime version: 3.8.1-CAPI-1.13.3 
   Linking to sp version: 1.4-2 
   Polygon checking: TRUE 
  
  > 
  > ##test your package
  > test_check('SDraw')
  ── 1. Failure: bas.point() operates appropriately (@test-bas.point.R#19)  ──────
  `testSamp <- bas.point(spdf, 20)` produced warnings.
  
  
  Stratum: None 
  Current number of levels: 3 
  Current number of levels: 4 
  Final number of levels: 4 
  
  Stratum: None 
  Current number of levels: 3 
  Current number of levels: 4 
  Current number of levels: 5 
  Final number of levels: 5 
  
  Stratum: None 
  Current number of levels: 3 
  Current number of levels: 4 
  Final number of levels: 4 
  
  Stratum: None 
  Current number of levels: 1 
  Final number of levels: 1 
  
  Stratum: None 
  Current number of levels: 1 
  Final number of levels: 1 
  
  Stratum: None 
  Current number of levels: 4 
  Current number of levels: 6 
  Current number of levels: 7 
  Current number of levels: 8 
  Current number of levels: 9 
  Final number of levels: 9 
  
  Stratum: None 
  Current number of levels: 2 
  Final number of levels: 2 
  
  Stratum: None 
  Current number of levels: 1 
  Final number of levels: 1 
  
  Stratum: None 
  Current number of levels: 1 
  Final number of levels: 1 
  
  Stratum: None 
  Current number of levels: 2 
  Current number of levels: 3 
  Final number of levels: 3 
  
  Stratum: None 
  Current number of levels: 1 
  Final number of levels: 1 
  
  Stratum: None 
  Current number of levels: 1 
  Final number of levels: 1 
  
  Stratum: None 
  Current number of levels: 2 
  Current number of levels: 3 
  Final number of levels: 3 
  
  Stratum: None 
  Current number of levels: 1 
  Final number of levels: 1 
  
  Stratum: None 
  Current number of levels: 1 
  Final number of levels: 1 
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 74 | SKIPPED: 0 | WARNINGS: 94 | FAILED: 1 ]
  1. Failure: bas.point() operates appropriately (@test-bas.point.R#19) 
  
  Error: testthat unit tests failed
  Execution halted