[R-pkg-devel] Including header files with long filenames in an R pacakge

Eric Dunipace edun|p@ce @end|ng |rom m@||@h@rv@rd@edu
Wed May 12 20:03:38 CEST 2021


I did some searching and wasn’t able to find a good answer to my question, so I hope that someone here has knowledge of how to fix the problem.

I’m currently trying to create an R package that bundles the CGAL header files (http://www.cgal.org) for easy linking by other packages—that will be in an inst/include directory. Unfortunately, the names of the header files with their directory/subdirectory structures exceed the filename limit for R packages on CRAN. Is there a way to bundle these into the R package without changing their names?

Since these are simply a reproduction of the CGAL header files, I don’t want to change their filenames since that will make their usage different than users would expect, and also make it more difficult to reference documentation on the CGAL website.

For reference, I’m building with R 4.0.3 and have a git repository with the package at <https://github.com/ericdunipace/RcppCGAL>.

Thanks in advance,
Eric Dunipace

	[[alternative HTML version deleted]]

More information about the R-package-devel mailing list