R/get_filestream_path.R

Defines functions get_filestream_path

Documented in get_filestream_path

#' Get Filestream path
#'
#' @description Identifies the operative system in which we are running, and returns the correct path to where Filestream is mounted
#'
#' @return The OS-specific mounting of FIleStream
#' @export
#'
get_filestream_path <- function(){
  system <- Sys.info()["sysname"]
  if(system == "Windows") {
    path <- "G:"
  } else {
      path <- "~/Google Drive File Stream"
  }

  return(path)
}
emlab-ucsb/startR documentation built on April 30, 2024, 9:49 a.m.