Skip to content

Commit

Permalink
{PostcodesioR} and {urlshorteneR} on CRAN now
Browse files Browse the repository at this point in the history
ref #505
  • Loading branch information
wibeasley committed Feb 19, 2023
1 parent af68dca commit 0ef46b0
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 2 deletions.
4 changes: 2 additions & 2 deletions WebTechnologies.md
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ This list describes online services. For a more complete treatment of the topic
`r pkg("opencage")` provides access to to the 'OpenCage' geocoding service.
`r github("hrbrmstr/nominatim")` (not on CRAN) connects to the
[OpenStreetMap Nominatim API](https://github.com/hrbrmstr/nominatim) for reverse geocoding.
`r github("ropensci/PostcodesioR")` (not on CRAN) provides post code lookup and
`r pkg("PostcodesioR")` provides post code lookup and
geocoding for the United Kingdom.
`r pkg("geosapi")` is an R client for the 'GeoServer' REST API,
an open source implementation used widely for serving spatial data.
Expand Down Expand Up @@ -734,7 +734,7 @@ Many CRAN packages interact with services facilitating sports analysis. For a m
`r pkg("urltools")` can also handle URL encoding, decoding, parsing, and parameter extraction.
- `r pkg("iptools")` can facilitate working with IPv4 addresses, including for use in geolocation.
A similar package `r pkg("ipaddress")`, handles IPv4 and IPv6 addresses and networks.
- `r github("dmpe/urlshorteneR")` offers URL expansion and analysis for Bit.ly, Goo.gl, and is.gd.
- `r pkg("urlshorteneR")` offers URL expansion and analysis for Bit.ly, Goo.gl, and is.gd.
`r pkg("longurl")` uses the longurl.org API to provide similar functionality.
- `r github("hrbrmstr/gdns")` provides access to Google's secure HTTP-based DNS resolution service.

Expand Down
62 changes: 62 additions & 0 deletions scripts/check-if-elevated-to-cran.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# See https://github.com/cran-task-views/WebTechnologies/issues/505

# Copy from the bottom of https://cran.r-project.org/web/views/WebTechnologies.html:
packages <- c(
"dashR",
"discgolf",
"feedeR",
"formr",
"gdns",
"ipapi",
"meetupr",
"mockaRoo",
"nominatim",
"PostcodesioR",
"randNames",
"rcloud",
"RDoubleClick",
"rydn",
"securitytxt",
"stackr",
"twitter_ideology",
"twitterreport",
"urlshorteneR",
"useRsnap"
)

packages |>
rlang::set_names() |>
purrr::map_lgl(available::available_on_cran) |>
tibble::enframe(
value = "available_on_cran"
)

# # A tibble: 20 × 2
# name available_on_cran
# dashR TRUE
# discgolf FALSE # Archived on 2022-11-06 at the maintainer's request.
# feedeR FALSE # Archived on 2021-10-05 as check problems were not corrected in time.
# formr TRUE
# gdns FALSE # Archived on 2022-05-07 as calls defunct default.stringsAsFactors()
# ipapi TRUE
# meetupr TRUE
# mockaRoo TRUE
# nominatim TRUE
# PostcodesioR FALSE # now on cran
# randNames FALSE # Archived on 2022-08-22 at the maintainer's request.
# rcloud TRUE
# RDoubleClick TRUE
# rydn TRUE
# securitytxt FALSE # Archived on 2021-05-14 as check problems were not corrected in time.
# stackr TRUE
# twitter_ideology TRUE
# twitterreport TRUE
# urlshorteneR FALSE # now on cran
# useRsnap TRUE

# p <- packages[1]
# p <- "analogsea"
# address <- sprintf("https://CRAN.R-project.org/package=%s", p)
#
# url(address)
# available::available_on_cran(p)

0 comments on commit 0ef46b0

Please sign in to comment.