set_valid_wd function

Sets valid working directory from vector of possible directories

Sets valid working directory from vector of possible directories

set_valid_wd(possible)

Arguments

  • possible: character vector of possible working directores

Details

Sets the working directory to the first valid directory from a list of possible directories.

Examples

## Not run: set_valid_wd(c('examples/directory1', 'anotherExample/directory2')) ## End(Not run)
  • Maintainer: Christopher Gandrud
  • License: GPL (>= 3)
  • Last published: 2016-02-07