[R] Problem in method's Makefile?
jgentry at jimmy.harvard.edu
Thu Aug 5 20:48:09 CEST 2004
Hi there ...
Not too long after the switch to using Subversion I tried to checkout &
build R but encountered an error - and being short on time at that point
put it off to look at later. So today I sat down again and was
encountering this error every time I would attempt to build:
dumping R code in package 'methods'
Saving namespace image ...
initializing class and method definitions now ...done
usage: touch [-acfm] [-r file] [-t [[CC]YY]MMDDhhmm[.SS]] file ...
*** Error code 1
I traced this down to the Makefile in methods:
@echo "tools:::makeLazyLoading(\"$(pkg)\")" | \
R_DEFAULT_PACKAGES=NULL LC_COLLATE=C $(R_EXE) --slave >
@cat /dev/null > $(top_builddir)/library/$(pkg)/R/all.rda
I'm not sure what it is about that touch call, but commenting it out
causes things to build normally. When I try to echo '$^', it appears to
be an empty string.
This is all on a FreeBSD machine - I'm assuming it is somehow OS specific
as this would have come up a bunch of times if it wasn't.
More information about the R-help