has_command: Test if an external executable is available.

Description Usage Arguments Value See Also

Description

Uses Sys.which internally, so it should work on Windows and Unix.alikes.

Usage

1
has_command(cmd, msg = "")

Arguments

cmd

An exececutable to test for.

msg

Additional message if the test fails.

Value

A logical.

See Also

Other Tests: are_false, are_null, are_true, is.empty, is.installed, is.scalar


gschofl/gsmisc documentation built on May 17, 2019, 8:52 a.m.