Skip to content

Commit

Permalink
Substitute deprecated dplyr function
Browse files Browse the repository at this point in the history
  • Loading branch information
lmullen committed Dec 8, 2016
1 parent 1969beb commit 44bdfd0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ export(ia_search)
import(httr)
importFrom(dplyr,"%>%")
importFrom(dplyr,as_data_frame)
importFrom(dplyr,bind_rows)
importFrom(dplyr,data_frame)
importFrom(dplyr,do)
importFrom(dplyr,mutate)
importFrom(dplyr,rbind_all)
importFrom(dplyr,rowwise)
importFrom(tools,file_ext)
2 changes: 1 addition & 1 deletion R/ia_files.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ ia_files <- function(items) {
file = f, type = file_ext(file))
}
dfs <- lapply(items, files_to_data_frame)
rbind_all(dfs)
bind_rows(dfs)
}
2 changes: 1 addition & 1 deletion R/ia_metadata.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ ia_metadata <- function(items) {
field = names(m), value = unname(m))
}
dfs <- lapply(items, metadata_to_data_frame)
rbind_all(dfs)
bind_rows(dfs)
}
2 changes: 1 addition & 1 deletion R/internetarchive-package.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#' files (\link{ia_files}) in a pipeable interface.
#'
#' @import httr
#' @importFrom dplyr rbind_all data_frame %>% mutate rowwise do as_data_frame
#' @importFrom dplyr bind_rows data_frame %>% mutate rowwise do as_data_frame
#' @importFrom tools file_ext
#' @name internetarchive
NULL
Expand Down

0 comments on commit 44bdfd0

Please sign in to comment.