R: ensure that run-time dependencies can be found