following the given advice by Brian Ripley I first tried the variant
i) install once without --with-package-versions
repeat with --with-package-versions
remove the package folder without the version info
which did not work for me (see details below).
ii) patch $R_HOM/lib/R/bin/INSTALL as sugg
It seems that if you first install this without --with-package-versions
then with and then remove the first version, it works.
Here is a patch, shortly to appear in R-patched/R-devel:
--- INSTALL.in (revision 31298)
+++ INSTALL.in (working copy)
@@ -601,10 +601,10 @@
## is no namespace).
Hello R developers,
installing R 2.0.0 from source on a Linux Debian system (gcc 3.2.2)
- which worked just fine - I encountered the following problem when trying to
update/install packages with the option --with-package-versions:
example: RUnit 0.4.0 (also on CRAN)
R20 CMD INSTALL -l /mnt/local/R