on_path {devtools} | R Documentation |
Test if an object is on the path.
on_path(...)
... |
Strings indicating the executables to check for on the path. |
Other path: path
on_path("R") on_path("gcc") on_path("foo", "bar") # FALSE in most cases withr::with_path(tempdir(), on_path("gcc"))