HenrikBengtsson / future.batchtools

:rocket: R package future.batchtools: A Future API for Parallel and Distributed Processing using batchtools
https://future.batchtools.futureverse.org
84 stars 9 forks source link

Add fallback batchtools templates in future.batchtools package #5

Closed HenrikBengtsson closed 7 years ago

HenrikBengtsson commented 7 years ago

Add fallback batchtools templates in future.batchtools package, e.g. inst/templates/batchtools.torque.tmpl. See also how batchtools:::findTemplateFile() works.

HenrikBengtsson commented 7 years ago

We're probably have to emulate what batchtools:::findTemplateFile() is doing, but before checking system.file("templates", package = "batchtools") we should check system.file("templates", package = "future.batchtools").