Learn R Programming

biofiles (version 1.0.0)

has_command: Test if an external executable is available

Description

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

Usage

has_command(cmd, msg = "")

Arguments

cmd

The exececutable to test for.

msg

Additional message if the test fails.