There is a package called `odin` on https://github.com/mrc-ide/odin, and it accomplishes this fairly well atleast for `deSolve`.