Skip to content

Commit 985fc8d

Browse files
committed
Fix invalid URLs
Per CRAN submission failure
1 parent 6205390 commit 985fc8d

File tree

9 files changed

+22
-18
lines changed

9 files changed

+22
-18
lines changed

CRAN-RELEASE

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
This package was submitted to CRAN on 2020-10-05.
2+
Once it is accepted, delete this file and tag the release (commit 74f5c9a).

R/datasets.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@
156156
#' @docType data
157157
#' @references
158158
#' \itemize{
159-
#' \item \url{https://earthquake.usgs.gov/earthquakes/}
159+
#' \item \url{https://www.usgs.gov/natural-hazards/earthquake-hazards/earthquakes}
160160
#' \item \url{https://earthquake.usgs.gov/earthquakes/search/}
161161
#' }
162162
#' @keywords data

R/usmap.R

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,19 +36,18 @@
3636
#' @author Paolo Di Lorenzo \cr
3737
#' \itemize{
3838
#' \item Email: \email{paolo@@dilorenzo.pl}
39-
#' \item Website: \url{http://dilorenzo.pl}
40-
#' \item Twitter: \url{http://twitter.com/dilorenzopl}
41-
#' \item Github: \url{http://www.github.com/pdil/}
39+
#' \item Website: \url{https://dilorenzo.pl}
40+
#' \item Github: \url{https://github.com/pdil/}
4241
#' }
4342
#'
4443
#' @seealso
4544
#' Helpful links:
4645
#' \itemize{
4746
#' \item FIPS code information \cr
48-
#' \url{http://en.wikipedia.org/wiki/FIPS_county_code}
49-
#' \url{http://en.wikipedia.org/wiki/FIPS_state_code}
47+
#' \url{https://en.wikipedia.org/wiki/FIPS_county_code}
48+
#' \url{https://en.wikipedia.org/wiki/FIPS_state_code}
5049
#' \item US Census Shapefiles \cr
51-
#' \url{https://www.census.gov/geo/maps-data/data/tiger-cart-boundary.html}
50+
#' \url{https://www.census.gov/geographies/mapping-files/time-series/geo/tiger-line-file.html}
5251
#' \item Map Features \cr
5352
#' \url{https://en.wikipedia.org/wiki/Map_projection}
5453
#' \url{https://en.wikipedia.org/wiki/Albers_projection}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ View code used to generate these plots: [resources/examples.R](https://github.co
99
Typically in R it is difficult to create nice US [choropleths](https://en.wikipedia.org/wiki/Choropleth_map) that include Alaska and Hawaii. The functions presented here attempt to elegantly solve this problem by manually moving these states to a new location and providing a fortified data frame for mapping and visualization. This allows the user to easily add data to color the map.
1010

1111
## Shape Files
12-
The shape files that we use to plot the maps in R are located in the `data-raw` folder. For more information refer to the [US Census Bureau](https://www.census.gov/geo/maps-data/data/tiger-cart-boundary.html). Maps at both the state and county levels are included for convenience (zip code maps may be included in the future).
12+
The shape files that we use to plot the maps in R are located in the `data-raw` folder. For more information refer to the [US Census Bureau](https://www.census.gov/geographies/mapping-files/time-series/geo/tiger-line-file.html). Maps at both the state and county levels are included for convenience (zip code maps may be included in the future).
1313

1414
## Installation
1515
To install from CRAN _(recommended)_, run the following code in an R console:
@@ -165,7 +165,7 @@ usmap::usmap_crs()
165165

166166
To obtain the projection used by `usmap`, use `usmap_crs()`.
167167

168-
Alternatively, the CRS ([coordinate reference system](https://www.nceas.ucsb.edu/~frazier/RSpatialGuides/OverviewCoordinateReferenceSystems.pdf)) can be created manually with the following command:
168+
Alternatively, the CRS ([coordinate reference system](https://www.nceas.ucsb.edu/sites/default/files/2020-04/OverviewCoordinateReferenceSystems.pdf)) can be created manually with the following command:
169169
```r
170170
sp::CRS("+proj=laea +lat_0=45 +lon_0=-100 +x_0=0 +y_0=0
171171
+a=6370997 +b=6370997 +units=m +no_defs")

cran-comments.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## Resubmission
2+
This is a resubmission. In this version I have:
3+
4+
* Fixed invalid URLs.
15

26
## Test environments
37
* local macOS install, R 4.0.2

man/earthquakes.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/usmap.Rd

Lines changed: 5 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vignettes/introduction.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ usmap::fips_info(c("01001", "01003", "01005", "01007"))
7575

7676
#### Further reading
7777

78-
More information about FIPS can be read [here](http://en.wikipedia.org/wiki/Federal_Information_Processing_Standards).
78+
More information about FIPS can be read [here](https://en.wikipedia.org/wiki/Federal_Information_Processing_Standards).
7979

8080
---
8181

vignettes/mapping.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ knitr::opts_chunk$set(
1818

1919
## Extending `plot_usmap` with `ggplot2`
2020

21-
The nice thing about `usmap::plot_usmap` is it returns a [ggplot object](http://docs.ggplot2.org/current/) object, which means we can add `ggplot` layers to the plot right out of the box.
21+
The nice thing about `usmap::plot_usmap` is it returns a [ggplot object](https://ggplot2.tidyverse.org/index.html) object, which means we can add `ggplot` layers to the plot right out of the box.
2222

2323
```{r, fig.align='center', fig.width=7, message=FALSE, warning=FALSE}
2424
library(usmap)

0 commit comments

Comments
 (0)