R/zzz.R

Defines functions .onLoad

.onLoad <- function(libname, pkgname){
  if (!('package:AlteryxRDataX' %in% search())){
    #packageStartupMessage('Setting AlteryxFullUpdate to FALSE')
    AlteryxFullUpdate <<- FALSE
    if (.Platform$OS.type == "windows"){
      alteryx.path = "C:/Program Files/Alteryx"
      options('alteryx.svndir' = 'C:/Users/ramnath/Desktop/Alteryx10.6_Predictive_Development')
    } else {
      alteryx.path = "/Volumes/C/Program Files/Alteryx"
    }
    options(alteryx.path = alteryx.path)
  } else {
    # options(error = dump_and_quit)
  }
}
AlteryxLabs/AlteryxRhelper documentation built on May 5, 2019, 4:55 a.m.