R/onLoad.r

Defines functions .onLoad

#' @export
pyMTurkR <- new.env() 

.onLoad <- function(libname, pkgname){
  if (is.null(getOption("pyMTurkR.sandbox"))) {
      options(pyMTurkR.sandbox = TRUE)     # sandbox logical
  }
  if (is.null(getOption("pyMTurkR.verbose"))) {
      options(pyMTurkR.verbose = TRUE)      # print logical
  }
}

Try the pyMTurkR package in your browser

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

pyMTurkR documentation built on Nov. 25, 2021, 9:07 a.m.