R/pkgEnvDefinition.R

Defines functions setOutPath

#' pkgGlobals is an environment which exists in the namespace of the spryngr package.
#'
#' pkgGlobals$outPath is a global variable in the package namespace which holds the
#' location of the output folder from which the question objects are being generated

pkgGlobals <- new.env(parent=emptyenv())

pkgGlobals$outPath <- ""

setOutPath <- function(path){
  pkgGlobals$outPath <- path
}
edixon1/spryngr documentation built on June 13, 2021, 10:43 a.m.