has_command: Test if an external executable is available

Description Usage Arguments

View source: R/utils.R

Description

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

Usage

1
has_command(cmd, msg = "")

Arguments

cmd

The exececutable to test for.

msg

Additional message if the test fails.


biofiles documentation built on May 2, 2019, 3:31 p.m.