install.libs.R and system.file

33 views
Skip to first unread message

Jordan T Bates

unread,
Dec 14, 2016, 5:11:38 PM12/14/16
to devtools
I am developing a package which builds a command line executable in src/ and then installs it to bin/ with install.libs.R. When not using devtools, the executable is installed to $SITE_LIBRARY/pkg_name/bin/exe_name and found with system.file('bin', exe_name, package=pkg_name). However, things break when devtools inserts the shim for system.file because when the package is built the executable isn't installed to local inst/bin. What's the recommended way to handle this? Currently I've had to turn off the "Use devtools package functions if available" to build and test my package.
Reply all
Reply to author
Forward
0 new messages