Re: [R-pkg-devel] Rcpp: how best to include source from another Github repository

2025-01-22 Thread Thibault Vatter
There is balance between DRY, safety, and customization needs. The symlinkish approach would be "dangerous" imo, because you can't guarantee the wrapper.cpp will stay compatible with changes in the underlying C++ library. The submodule approach works well. Alternatives that I know of are: - a

Re: [R-pkg-devel] Rcpp: how best to include source from another Github repository

2025-01-22 Thread John Clarke
Thanks Ivan, this is helpful. I'll do some more research. It would be nice to have an Rcpp standard/recommended way to do this. I don't want to have a non-standard ./src or ./data folder structure for my Rcpp package, but these are the two relevant folders in my original repository. Maybe with some

Re: [R-pkg-devel] Best practices for built version checking in packages LinkingTo others?

2025-01-22 Thread Pavel Krivitsky via R-package-devel
Dear All, I think I have something that works and may even work as a more general API for checking for LinkingTo ABI compatibility. It's in 'ergm' 4.8.1 on CRAN, but would it be useful to anyone else if I posted an explanation of how it works somewhere? Would a package that provides this API for