Skip to content

Commit

Permalink
avoid referencing sparkwarc directly in worker node
Browse files Browse the repository at this point in the history
  • Loading branch information
javierluraschi committed Jul 18, 2017
1 parent 3d36bce commit f54be52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/sparkwarc.R
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ spark_read_warc <- function(sc,
devtools::install_github("javierluraschi/sparkwarc", ref = "feature/spark-apply-rcpp")
}

library(sparkwarc)
rcpp_read_warc <- get("rcpp_read_warc", envir = asNamespace("sparkwarc"))

entries <- apply(df, 1, function(path) {
if (grepl("s3n://", path)) {
Expand Down

0 comments on commit f54be52

Please sign in to comment.