r-lib / later

Schedule an R function or formula to run after a specified period of time.
https://r-lib.github.io/later
Other
137 stars 27 forks source link

Don't inlcude Rcpp.h in later.h #144

Closed wch closed 3 years ago

wch commented 3 years ago

Closes #143. This makes it so that packages which have #include <later_api.h> will no longer need to depend on Rcpp.

wch commented 3 years ago

Note: we'll merge this after the upcoming release in a couple of weeks. This is the NEWS entry to add at that point (not adding it now because it would end up in the wrong section in the NEWS file).

* Closed #143: later no longer includes Rcpp.h in the exported later.h file. This means that packages that have `#include <later_api.h>` no longer to take a dependency on Rcpp.