Sets valid working directory from vector of possible directories

Share:

Description

Sets valid working directory from vector of possible directories

Usage

1
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

1
2
3
4
## Not run: 
set_valid_wd(c('examples/directory1', 'anotherExample/directory2'))

## End(Not run)