on_path

0th

Percentile

Test if an object is on the path.

Test if an object is on the path.

Keywords
internal
Usage
on_path(...)
Arguments
...

Strings indicating the executables to check for on the path.

See Also

Other path: path

Aliases
  • on_path
Examples
# NOT RUN {
on_path("R")
on_path("gcc")
on_path("foo", "bar")  # FALSE in most cases
withr::with_path(tempdir(), on_path("gcc"))
# }
Documentation reproduced from package devtools, version 1.13.5, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.