Running 'testthat.R' [17s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(RWmisc)
  > 
  > test_check("RWmisc")
  Reading layer `nc' from data source 
    `D:\temp\RtmpWkXCRN\RLIBS_f6104b922d64\sf\shape\nc.shp' using driver `ESRI Shapefile'
  Simple feature collection with 100 features and 14 fields
  Geometry type: MULTIPOLYGON
  Dimension:     XY
  Bounding box:  xmin: -84.32385 ymin: 33.88199 xmax: -75.45698 ymax: 36.58965
  Geodetic CRS:  NAD27
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 19 ]
  
  == Failed tests ================================================================
  -- Failure (test-pointpolydist.R:7:3): point.poly.dist works -------------------
  point.poly.dist(points_t, poly_t) not equal to 100135.
  Attributes: < Modes: list, NULL >
  Attributes: < Lengths: 2, 0 >
  Attributes: < names for target but not for current >
  Attributes: < current is not list-like >
  target is units, current is numeric
  -- Failure (test-pointpolydist.R:11:3): point.poly.dist works with arguments ---
  point.poly.dist(points_t, poly_t, max = FALSE) not equal to 61895.43.
  Attributes: < Modes: list, NULL >
  Attributes: < Lengths: 2, 0 >
  Attributes: < names for target but not for current >
  Attributes: < current is not list-like >
  target is units, current is numeric
  -- Failure (test-pointpolydist.R:13:3): point.poly.dist works with arguments ---
  point.poly.dist(points_t, poly_t, max = FALSE, by_element = TRUE)[2] not equal to 61895.43.
  Attributes: < Modes: list, NULL >
  Attributes: < Lengths: 2, 0 >
  Attributes: < names for target but not for current >
  Attributes: < current is not list-like >
  target is units, current is numeric
  -- Failure (test-pointpolydist.R:19:3): point.poly.dist works with projected CRS --
  point.poly.dist(points_t, projectUTM(poly_t)) not equal to 100201.5.
  Attributes: < Modes: list, NULL >
  Attributes: < Lengths: 2, 0 >
  Attributes: < names for target but not for current >
  Attributes: < current is not list-like >
  target is units, current is numeric
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 19 ]
  Error: Test failures
  Execution halted