From ecc8a6eaaf4c91b6943e8baf3597206fe591c76d Mon Sep 17 00:00:00 2001 From: Tim Trice Date: Sat, 5 Dec 2020 09:30:27 -0600 Subject: [PATCH] Correct invalid URLs --- DESCRIPTION | 2 +- R/hurdat.R | 14 +++++++------- README.Rmd | 4 ++-- README.md | 4 ++-- cran-comments.md | 2 ++ man/HURDAT.Rd | 6 +++--- man/get_hurdat.Rd | 6 +++--- vignettes/hurdat.Rmd | 4 ++-- 8 files changed, 22 insertions(+), 20 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 117f097..f9b5890 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -11,7 +11,7 @@ Depends: Description: Scraped dataset of the Hurricane Research Division's Hurricane Re-Analysis Project known as HURDAT. Storm details are available for most known hurricanes and tropical storms for the Atlantic and northeastern - Pacific ocean (northwestern hemisphere). See + Pacific ocean (northwestern hemisphere). See for more information. URL: https://github.com/timtrice/HURDAT BugReports: https://github.com/timtrice/HURDAT/issues diff --git a/R/hurdat.R b/R/hurdat.R index 67fa0d2..070e483 100644 --- a/R/hurdat.R +++ b/R/hurdat.R @@ -15,10 +15,10 @@ #' Cyclones were not named until 1950 and used names of the international #' phonetic alphabet. For example, Able, Baker, Charlie, etc. #' -#' In 1953, the \href{http://www.nhc.noaa.gov}{National Hurricane Center} began +#' In 1953, the \href{https://www.nhc.noaa.gov}{National Hurricane Center} began #' using female names and by 1954 the NHC would retire some names for storms of #' significance. Currently the -#' \href{https://public.wmo.int/en/About-us/FAQs/faqs-tropical-cyclones/tropical-cyclone-naming}{World +#' \href{https://public.wmo.int/en/our-mandate/focus-areas/natural-hazards-and-disaster-risk-reduction/tropical-cyclones/Naming}{World #' Meteorological Organization} #' is responsible for maintaining the list of names, retiring names and #' assigning replacement names. @@ -68,7 +68,7 @@ #' #' Errors in the raw data may also be reported to Chris Landsea or the National #' Hurricane Center Best Track Change Committee -#' \href{http://www.aoml.noaa.gov/hrd/hurdat/submit_re-analysis.html}{as +#' \href{https://www.aoml.noaa.gov/hrd/hurdat/submit_re-analysis.html}{as #' explained on the HRD website}. #' #' @docType package @@ -112,14 +112,14 @@ audit_hurdat <- function(df) { #' (EP) basins (northwestern hemisphere) #' #' @details Raw text files \emph{should} be found at -#' \url{http://www.nhc.noaa.gov/data/hurdat/} as of this writing. The +#' \url{https://www.nhc.noaa.gov/data/hurdat/} as of this writing. The #' codebooks are listed below. #' #' @seealso Atlantic codebook: -#' \url{http://www.nhc.noaa.gov/data/hurdat/hurdat2-format-atlantic.pdf} +#' \url{https://www.nhc.noaa.gov/data/hurdat/hurdat2-format-atlantic.pdf} #' #' @seealso NE/NC Pacific codebook: -#' \url{http://www.nhc.noaa.gov/data/hurdat/hurdat2-format-atlantic.pdf} +#' \url{https://www.nhc.noaa.gov/data/hurdat/hurdat2-format-atlantic.pdf} #' #' @param basin AL or EP. Default is both. #' @@ -278,7 +278,7 @@ parse_hurdat <- function(x) { .data$Key, .data$Name, .data$DateTime, .data$Record:.data$Lat, .data$Lon, .data$Wind:.data$NW64 ) - + hurdat <- unique(hurdat) # Run audit and throw warning if any issues. diff --git a/README.Rmd b/README.Rmd index 533c866..1487c8c 100644 --- a/README.Rmd +++ b/README.Rmd @@ -8,7 +8,7 @@ output: github_document [![Build Status](https://img.shields.io/travis/timtrice/HURDAT/develop.svg)](https://travis-ci.org/timtrice/HURDAT) [![AppVeyor Build Status](https://img.shields.io/appveyor/ci/timtrice/HURDAT/develop.svg)](https://ci.appveyor.com/project/timtrice/HURDAT) [![codecov](https://codecov.io/gh/timtrice/HURDAT/branch/master/graph/badge.svg)](https://codecov.io/gh/timtrice/HURDAT) -[![Docker Cloud Build Status](https://img.shields.io/docker/cloud/build/timtrice/hurdat.svg?style=popout)](https://cloud.docker.com/repository/docker/timtrice/hurdat) +[![Docker Cloud Build Status](https://img.shields.io/docker/cloud/build/timtrice/hurdat.svg?style=popout)](https://hub.docker.com/repository/docker/timtrice/hurdat) [![rstudio.cloud](https://img.shields.io/badge/launch-rstudio.cloud-yellowgreen.svg)](https://rstudio.cloud/project/415701) @@ -50,7 +50,7 @@ Please read [CONTRIBUTING.md](https://github.com/timtrice/HURDAT/blob/master/.gi ## Versioning -We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/timtrice/HURDAT/tags). +We use [SemVer](https://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/timtrice/HURDAT/tags). ## Authors diff --git a/README.md b/README.md index a1a8dbd..6c16efa 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Status](https://img.shields.io/travis/timtrice/HURDAT/develop.svg)](https://trav Status](https://img.shields.io/appveyor/ci/timtrice/HURDAT/develop.svg)](https://ci.appveyor.com/project/timtrice/HURDAT) [![codecov](https://codecov.io/gh/timtrice/HURDAT/branch/master/graph/badge.svg)](https://codecov.io/gh/timtrice/HURDAT) [![Docker Cloud Build -Status](https://img.shields.io/docker/cloud/build/timtrice/hurdat.svg?style=popout)](https://cloud.docker.com/repository/docker/timtrice/hurdat) +Status](https://img.shields.io/docker/cloud/build/timtrice/hurdat.svg?style=popout)](https://hub.docker.com/repository/docker/timtrice/hurdat) [![rstudio.cloud](https://img.shields.io/badge/launch-rstudio.cloud-yellowgreen.svg)](https://rstudio.cloud/project/415701) # HURDAT @@ -53,7 +53,7 @@ requests to us. ## Versioning -We use [SemVer](http://semver.org/) for versioning. For the versions +We use [SemVer](https://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/timtrice/HURDAT/tags). diff --git a/cran-comments.md b/cran-comments.md index dd0c992..8ba5b2a 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -23,6 +23,8 @@ winbuilder give a NOTE regarding the Author field. Package errors were not corrected in a timely fashion and removed from CRAN. This release resolves those errors. +Invalid URL's corrected. + ## HURDAT v0.2.3 ================ diff --git a/man/HURDAT.Rd b/man/HURDAT.Rd index 43d2035..edaed4a 100644 --- a/man/HURDAT.Rd +++ b/man/HURDAT.Rd @@ -22,10 +22,10 @@ Pacific basin extends westward to -180°W. Cyclones were not named until 1950 and used names of the international phonetic alphabet. For example, Able, Baker, Charlie, etc. -In 1953, the \href{http://www.nhc.noaa.gov}{National Hurricane Center} began +In 1953, the \href{https://www.nhc.noaa.gov}{National Hurricane Center} began using female names and by 1954 the NHC would retire some names for storms of significance. Currently the -\href{https://public.wmo.int/en/About-us/FAQs/faqs-tropical-cyclones/tropical-cyclone-naming}{World +\href{https://public.wmo.int/en/our-mandate/focus-areas/natural-hazards-and-disaster-risk-reduction/tropical-cyclones/Naming}{World Meteorological Organization} is responsible for maintaining the list of names, retiring names and assigning replacement names. @@ -79,7 +79,7 @@ Please submit any errors, discrepancies or issues through the Errors in the raw data may also be reported to Chris Landsea or the National Hurricane Center Best Track Change Committee -\href{http://www.aoml.noaa.gov/hrd/hurdat/submit_re-analysis.html}{as +\href{https://www.aoml.noaa.gov/hrd/hurdat/submit_re-analysis.html}{as explained on the HRD website}. } diff --git a/man/get_hurdat.Rd b/man/get_hurdat.Rd index 0c8bd34..b184eba 100644 --- a/man/get_hurdat.Rd +++ b/man/get_hurdat.Rd @@ -15,7 +15,7 @@ Retrieve Raw HURDAT files for Atlantic (AL), northeast and central Pacific } \details{ Raw text files \emph{should} be found at - \url{http://www.nhc.noaa.gov/data/hurdat/} as of this writing. The + \url{https://www.nhc.noaa.gov/data/hurdat/} as of this writing. The codebooks are listed below. } \examples{ @@ -32,8 +32,8 @@ df <- get_hurdat() } \seealso{ Atlantic codebook: - \url{http://www.nhc.noaa.gov/data/hurdat/hurdat2-format-atlantic.pdf} + \url{https://www.nhc.noaa.gov/data/hurdat/hurdat2-format-atlantic.pdf} NE/NC Pacific codebook: - \url{http://www.nhc.noaa.gov/data/hurdat/hurdat2-format-atlantic.pdf} + \url{https://www.nhc.noaa.gov/data/hurdat/hurdat2-format-atlantic.pdf} } diff --git a/vignettes/hurdat.Rmd b/vignettes/hurdat.Rmd index 81f35d8..bed437e 100644 --- a/vignettes/hurdat.Rmd +++ b/vignettes/hurdat.Rmd @@ -15,7 +15,7 @@ library(HURDAT) ## Introduction -HURDAT is a re-analysis project of all tropical cyclones by the National Hurricane Center (NHC) Hurricane Research Division(NRD). Known as HURDAT2, the text files are typically updated in late winter, early spring to include the previous season's activity. These text files *will not* contain data on current tropical systems. For that I would recommend my [Hurricanes](https://github.com/timtrice/Hurricanes) package (not yet available in CRAN). +HURDAT is a re-analysis project of all tropical cyclones by the National Hurricane Center (NHC) Hurricane Research Division(NRD). Known as HURDAT2, the text files are typically updated in late winter, early spring to include the previous season's activity. These text files *will not* contain data on current tropical systems. For that I would recommend my [rrricanes](https://github.com/ropensci/rrricanes) package (not yet available in CRAN). As of this vignette data up to and including 2016 has been added. @@ -41,7 +41,7 @@ AL <- get_hurdat(basin = "AL") Most of the early storms will have missing data. -The [Atlantic HURDAT codebook](http://www.nhc.noaa.gov/data/hurdat/hurdat2-format-atlantic.pdf) contains the definitions of the various fields. A codebook also exists for the [northeast and central Pacific](http://www.nhc.noaa.gov/data/hurdat/hurdat2-format-nencpac.pdf). +The [Atlantic HURDAT codebook](https://www.nhc.noaa.gov/data/hurdat/hurdat2-format-atlantic.pdf) contains the definitions of the various fields. A codebook also exists for the [northeast and central Pacific](https://www.nhc.noaa.gov/data/hurdat/hurdat2-format-nencpac.pdf). There are significantly more storms for the Atlantic than in the eastern Pacific. There are only a few storms for the central Pacific.