Skip to content

Commit

Permalink
fix #152 - replace rbind_all with bind_rows, bumpd dev ver
Browse files Browse the repository at this point in the history
  • Loading branch information
sckott committed Apr 28, 2016
1 parent cc438da commit 6cf9ba4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Description: Client for many 'NOAA' data sources including the 'NCDC' climate
for 'NOAA' sea ice data, the 'NOAA' severe weather inventory, 'NOAA' Historical
Observing 'Metadata' Repository ('HOMR') data, 'NOAA' storm data via 'IBTrACS',
tornado data via the 'NOAA' storm prediction center, and more.
Version: 0.5.2.9996
Version: 0.5.2.9998
License: MIT + file LICENSE
Authors@R: c(
person("Scott", "Chamberlain", role = c("aut","cre"), email = "myrmecocystus@gmail.com"),
Expand Down
1 change: 0 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ importFrom(dplyr,as_data_frame)
importFrom(dplyr,bind_rows)
importFrom(dplyr,filter)
importFrom(dplyr,mutate)
importFrom(dplyr,rbind_all)
importFrom(dplyr,rename)
importFrom(dplyr,select)
importFrom(dplyr,tbl_df)
Expand Down
4 changes: 2 additions & 2 deletions R/isd.R
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ rbind.isd <- function(...) {
stop("All inputs must be of class isd", call. = FALSE)
}
input <- lapply(input, "[[", "data")
rbind_all(input)
bind_rows(input)
}

#' @export
Expand Down Expand Up @@ -142,7 +142,7 @@ read_isd <- function(x, sections, cleanup) {
} else {
lns <- readLines(x)
linesproc <- lapply(lns, each_line, sections = sections)
df <- dplyr::rbind_all(linesproc)
df <- bind_rows(linesproc)
df <- trans_vars(df)
cache_rds(path_rds, df)
if (cleanup) {
Expand Down
2 changes: 1 addition & 1 deletion R/rnoaa-package.r
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
#' @importFrom XML xpathSApply xpathApply xmlValue xmlParse xmlToList htmlParse
#' @importFrom jsonlite fromJSON
#' @importFrom tidyr gather
#' @importFrom dplyr %>% rbind_all select mutate rename tbl_df filter bind_rows as_data_frame
#' @importFrom dplyr %>% select mutate rename tbl_df filter bind_rows as_data_frame
#' @name rnoaa-package
#' @aliases rnoaa
#' @docType package
Expand Down

0 comments on commit 6cf9ba4

Please sign in to comment.