powered by
Test if an object is on the path.
on_path(...)
Strings indicating the executables to check for on the path.
Other path: path
path
# NOT RUN { on_path("R") on_path("gcc") on_path("foo", "bar") # FALSE in most cases withr::with_path(tempdir(), on_path("gcc")) # }
Run the code above in your browser using DataLab