R/util.R

spark_normalize_path <- function(path) {
  # don't normalize paths that are urls
  if (grepl("[a-zA-Z]+://", path)) {
    path
  }
  else {
    normalizePath(path, mustWork = FALSE)
  }
}

Try the sparktf package in your browser

Any scripts or data that you put into this service are public.

sparktf documentation built on May 2, 2019, 10:24 a.m.