Skip to content

Commit

Permalink
Merge pull request #494 from ropensci/v2-vignettes
Browse files Browse the repository at this point in the history
Small edits (line length, path to file).
  • Loading branch information
michaelquinn32 authored Oct 21, 2019
2 parents d72cd41 + 30bf570 commit 5b8ace7
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions vignettes/Supporting_additional_objects.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ involves two required elements and one optional element.
If you are adding skim support to a package you will also need to add `skimr`
to the list of imports. Note that in this vignette the actual analysis will
not be run because that would require importing the `sf` package just for this
example. However to run it on your own you can install `sf` and then run
example. However to run it on your own you can install `sf` and then run the
following code. Note that code in this vignette was not evaluated when
rendering the vignette in order to avoid forcing installation of sf.

```{r, eval = FALSE}
library(sf)
Expand All @@ -35,7 +37,8 @@ nc <- st_read(system.file("shape/nc.shp", package = "sf"))

```
Linking to GEOS 3.7.2, GDAL 2.4.2, PROJ 5.2.0
Reading layer `nc' from data source `/Users/elinwaring/Library/R/3.6/library/sf/shape/nc.shp' using driver `ESRI Shapefile'
Reading layer `nc' from data source
`/path/to/library/sf/shape/nc.shp' using driver `ESRI Shapefile'
Simple feature collection with 100 features and 14 fields
geometry type: MULTIPOLYGON
dimension: XY
Expand Down Expand Up @@ -197,8 +200,8 @@ Group variables None
1 geometry 0 1 100 100 101
```

Sharing these functions within a separate package requires an export. The simplest
way to do this is with Roxygen.
Sharing these functions within a separate package requires an export.
The simplest way to do this is with Roxygen.

```{r, eval = FALSE}
#' Skimming functions for `sfc_MULTIPOLYGON` objects.
Expand Down

0 comments on commit 5b8ace7

Please sign in to comment.