get_executable: Get the executable file path of a package

Description Usage Arguments Value Author(s) Examples

Description

Get the executable file path of a package

Usage

1
get_executable(pkg, name = tolower(pkg), dir = "bin", mustWork = TRUE)

Arguments

pkg

character, the name of a package

name

character, the name of the executable file

dir

character, the directory in the package hierarchy

mustWork

See system.file

Value

character, the executable file path

Author(s)

Xiaobei Zhao

Examples

1
2
3
4
## Not run: 
try(get_executable('Xmisc','Xmisc-argumentparser.R'))

## End(Not run)


Search within the Xmisc package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.