Skip to content

Commit

Permalink
Prepare for CRAN v0.2.2 Release (cont.)
Browse files Browse the repository at this point in the history
* Removed `LazyData: true` from 'DESCRIPTION' file because the package has no data accessed via a `data()` command and has no `data/` directory (in response to CRAN NOTE: 'LazyData' is specified without a 'data' directory)
* Changed hyperlink for Stamen basemap in 'vignette' file with a Hypertext Transfer Protocol Secure destination
  • Loading branch information
Ian Buller, PhD, MA committed Jun 28, 2021
1 parent cec3cdc commit d2c7f4e
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 10 deletions.
1 change: 0 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ Description: Calculate the statistical power to detect clusters using kernel-bas
be found in J. F. Bithell (1991) <doi:10.1002/sim.4780101112>.
License: Apache License (>= 2.0)
Encoding: UTF-8
LazyData: true
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.1.1
Depends:
Expand Down
6 changes: 4 additions & 2 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# sparrpowR (development version)

# sparrpowR 0.2.2
* Added 'CITATION' file
* Deprecation badges in 'jitter_power.Rd' and 'spatial_power.Rd' files now hyperlink to `lifecycle` r-lib.org site
* Removed `LazyData: true` from 'DESCRIPTION' file because the package has no data accessed via a `data()` command and has no `data/` directory (in response to CRAN NOTE: 'LazyData' is specified without a 'data' directory)
* Changed hyperlink for Stamen basemap in 'vignette' file with a Hypertext Transfer Protocol Secure destination
* Added 'CITATION' file
* Deprecation badges in 'jitter_power.Rd' and 'spatial_power.Rd' files now hyperlink to `lifecycle` r-lib.org site

# sparrpowR 0.2.1
* Updated vignette with appropriate hyperlinks
Expand Down
2 changes: 2 additions & 0 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
## This is the sixth resubmission

* Actions taken since previous submission:
* Removed `LazyData: true` from 'DESCRIPTION' file because the package has no data accessed via a `data()` command and has no `data/` directory (in response to CRAN NOTE: 'LazyData' is specified without a 'data' directory)
* Changed hyperlink for Stamen basemap in 'vignette' file with a Hypertext Transfer Protocol Secure destination
* Added 'CITATION' file
* Deprecation badges in 'jitter_power.Rd' and 'spatial_power.Rd' files now hyperlink to `lifecycle` r-lib.org site

Expand Down
2 changes: 1 addition & 1 deletion vignettes/vignette.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ spatial_plots(input = sim_power, # use output of above simulation
cols = cols) # colors of plot
```

Now, lets overlay our results on top of a basemap. Here, we will use an open-source map from [Stamen](https://maps.stamen.com/#terrain/12/37.7706/-122.3782), that is unprojected in WGS84. We extract the rectangular box (i.e., bounding box) surrounding our polygon boundary of the District of Columbia (WGS84).
Now, lets overlay our results on top of a basemap. Here, we will use an open-source map from [Stamen](https://stamen.com/open-source/), that is unprojected in WGS84. We extract the rectangular box (i.e., bounding box) surrounding our polygon boundary of the District of Columbia (WGS84).

```{r basemap}
dcbb <- sf::st_bbox(sf::st_buffer(sf::st_as_sf(dc), dist = 0.015))
Expand Down
19 changes: 13 additions & 6 deletions vignettes/vignette.html

Large diffs are not rendered by default.

0 comments on commit d2c7f4e

Please sign in to comment.