Skip to content

Commit

Permalink
Merge pull request #1 from IronistM/dev-smartbind-001
Browse files Browse the repository at this point in the history
Calling smartbind is problematic
  • Loading branch information
simitpatel authored Nov 8, 2017
2 parents 49d203b + 4b2dff3 commit ea414d7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions R/speed-insights-package.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
library(RJSONIO)
library(gtools)

#' Speed results for 1 URL
#'
#' The speedfinder function returns the Google Page Speed Insights test results for a single URL as a dataframe.
Expand Down Expand Up @@ -45,7 +42,7 @@ speedfinder2 <- function(url,strategy,key) {
#' @export
speedlist <- function(pagelist,strategy,key) {
list1 <- lapply(pagelist,speedfinder2,strategy,key)
suppressWarnings(do.call("smartbind",list1))
suppressWarnings(do.call(gtools::smartbind,list1))
}


0 comments on commit ea414d7

Please sign in to comment.