testthat.Rout.save 1.71 KB
Newer Older
1

2
R version 3.6.1 (2019-07-05) -- "Action of the Toes"
3
Copyright (C) 2019 The R Foundation for Statistical Computing
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(testthat)
> suppressPackageStartupMessages(library(sf))
> 
> test_check("sf")
Cannot open layer foo
Reading layer `nospatial' from data source `/home/edzer/git/sf.Rcheck/sf/gpkg/nospatial.gpkg' using driver `GPKG'
Reading layer `nospatial' from data source `/home/edzer/git/sf.Rcheck/sf/gpkg/nospatial.gpkg' using driver `GPKG'
OGR: Unsupported geometry type
Reading layer `nc' from data source `/home/edzer/git/sf.Rcheck/sf/shape/nc.shp' using driver `ESRI Shapefile'
Simple feature collection with 100 features and 14 fields
geometry type:  MULTIPOLYGON
dimension:      XY
bbox:           xmin: -84.32385 ymin: 33.88199 xmax: -75.45698 ymax: 36.58965
epsg (SRID):    4267
proj4string:    +proj=longlat +datum=NAD27 +no_defs
Failed to create feature 1 in x
Failed to create feature 1 in x
══ testthat results  ═══════════════════════════════════════════════════════════
36
[ OK: 645 | SKIPPED: 59 | WARNINGS: 4 | FAILED: 0 ]
37 38 39
> 
> proc.time()
   user  system elapsed 
40
  2.967   0.156   3.167