Skip to content
Prev 26920 / 63435 Next

Building packages

These files in the SVN tree does not harm the things that are checked
in. However it is indeed reasonable to keep the rubbish out, so:
Solution 1: copy the package SVN dir elsewhere and build/install from
there
Solution 2: a better one, make a 2-liner shell script that runs solution
1 (what I do)

This will also prevent gcc from populating your svn src directory
with .o, .so, .d, .dll files.
R does understand 'configure' which is more reasonable then to require
cmake to be installed. Think of multiplatform builds etc.
If I am not mistaken R CMD build builds the package temporarily and uses
that build to build the vignette, so where is the problem? All my
vignettes build fine on both Linux and Windows and on Windows you
actually see that running R CMD build --binary builds the source code
two times - exactly for the above purposes.
What exactly?