Browse code

Added cleanup script to remove binaries after R CMD BUILD.

Otherwise they get sucked into the tarball and this prevents a (correct) build
from source on machines that don't expect binary distributions.

We also nest the installation directory within 'inst' to avoid potential
conflicts with R's expected package directory structure.

LTLA authored on 01/04/2025 17:27:56
Showing 1 changed files
1 1
new file mode 100755
... ...
@@ -0,0 +1,4 @@
1
+# Removing these directories to ensure that they aren't
2
+# persisted into the tarball for R CMD BUILD. This will
3
+# not be run by default in R CMD INSTALL. 
4
+rm -rf inst/igraph