Skip to content

Commit

Permalink
Merge pull request #124 from adibender/devel
Browse files Browse the repository at this point in the history
Updates for CRAN rerelease
  • Loading branch information
adibender authored Feb 5, 2020
2 parents 40d90da + 9a53cff commit c1a4729
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
5 changes: 3 additions & 2 deletions R/scrapers.R
Original file line number Diff line number Diff line change
Expand Up @@ -419,8 +419,9 @@ get_surveys_thuringen <- function() {
scrape_austria <- function(
address = "https://neuwal.com/wahlumfragen/data/neuwal-wahlumfragen-user.json") {

aut_list <- fromJSON(getURL(address) %>%
str_replace('\\"\\"(.*)\\"\\",', "\"'\\1'\",")) # fix for double double-quote bug
raw_input <- getURL(address)
raw_input <- str_replace(raw_input, '\\"\\"(.*)\\"\\",', "\"'\\1'\",") # fix for double double-quote bug
aut_list <- fromJSON(raw_input)
out_df <- as_tibble(aut_list[[1]]) %>%
filter(.data$regionID == 1)
party <- out_df %>%
Expand Down
12 changes: 6 additions & 6 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
## Release summary
* Fixes CRAN failures
* Internet based tests are skipped on CRAN
* Internet based tests are skipped if offline
* All functions that depend on internet resources fail gracefully if resources not available
* Examples that require internet connection are wrapped in \dontrun{}
* removed reshape2 dependency
* removed reshape2 and forcats dependencies

## Test environments
* local ubuntu install, R 3.6.1
* local ubuntu 18.04 install, R 3.6.2
* travis (devel and release)
* appveyor (devel and patch)
* win_builder
* rhub
* win_builder (release and devel)
* rhub (Ubuntu Linux 16.04 LTS, R-release, GCC; Fedora Linux, R-devel, clang, gfortran)

## R CMD check results

Expand All @@ -21,4 +21,4 @@
There are no reverse dependencies

## Additional notes
* Adressed "incoming" Rd line width issue
* Re-release after package was archived on CRAN

0 comments on commit c1a4729

Please sign in to comment.