I'm developing a package for a research project. It uses an external executable. I don't want to ship it inside this package but I want to check if it is installed (present in the system PATH, maybe using
Sys.which) or if the user set the path to the executable with
I don't know what's the best to do in this case, should I check once with
.onAttach, when loading the main functions. Should I store the path in options or in an environment.
Do you know any good practice for that or god examples