View source: R/python-wrappers.R
check_paths | R Documentation |
Iterates over a vector of candidate paths and returns the first path that exists. If none of the candidate paths exist, an error is raised.
check_paths(candidate_paths, target, verbose = TRUE)
candidate_paths |
Character vector. A list of candidate paths to check. |
target |
Character. The resource name being searched for (e.g., "conda.sh"). |
verbose |
Logical. If (Warning messages will always be printed.) |
A character string with the first candidate path that exists.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.