[Rd] R_SVN_REVISION breakage on current R trunk.

From: Hin-Tak Leung <htl10_at_users.sourceforge.net>
Date: Wed, 31 Oct 2012 12:26:22 +0000 (GMT)


src/unix/Rscript.c on R trunk stopped building with a compiler error of "unknown not defined/declared" on line 160-ish, where R_SVN_REVISION is , on my system.

I see trunk r60972, trunk r60975 changes R_SVN_REVISION to a number - if it can be found, from being a string.

The thing is, I track R development with git's svn support (which IMHO works far better). So svn info cannot work out what revision it is, and it has always defaulted back to 'unknown', which is set in line 96-ish in the top-level "Makefile.in" if 'svn info' fails, which it always does on my system since I don't use svn to track R development.

I assume this problem affects anybody who manages to get a development snapshot by any means but it not sitting on a svn checkout?

May I suggest

   $(ECHO) "Revision: unknown"

on line 96-ish in the top-level "Makefile.in" be changed to 999999, 0, -1 or some number to match r60972/r60975 ?


R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Wed 31 Oct 2012 - 12:32:23 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 31 Oct 2012 - 21:10:50 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive