on_path {devtools}R Documentation

Test if an object is on the path.

Description

Test if an object is on the path.

Usage

on_path(...)

Arguments

...

Strings indicating the executables to check for on the path.

See Also

Other path: path

Examples

on_path("R")
on_path("gcc")
on_path("foo", "bar")  # FALSE in most cases
withr::with_path(tempdir(), on_path("gcc"))

[Package devtools version 1.13.6 Index]