Skip to content

Commit

Permalink
coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
edzer committed Oct 3, 2018
1 parent 359e527 commit 34f655a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ addons:
- libspatialite-dev
- libgdal-dev
- libjson-c-dev
- libnetcdf-dev
- netcdf-bin
- postgresql-server-dev-9.6

before_install:
Expand Down
4 changes: 2 additions & 2 deletions tests/stars.Rout.save
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ attr(,"class")
+ print(st_as_sfc(st_dimensions(curv), as_points = FALSE))
+
+ demo(nc, echo = FALSE, ask = FALSE)
+ print(x <- stars:::st_rasterize(nc)) # default grid:
+ print(x <- st_rasterize(nc)) # default grid:
+ print(p <- st_as_sf(x, as_points = FALSE)) # polygonize: follow raster boundaries
+ print(try(p <- st_as_sf(x, as_points = TRUE))) # polygonize: contour, requies GDAL >= 2.4.0
+ }
Expand Down Expand Up @@ -205,4 +205,4 @@ $gt_inv
>
> proc.time()
user system elapsed
0.626 0.036 0.654
0.632 0.028 0.652

0 comments on commit 34f655a

Please sign in to comment.