G'day all, after issuing `svn up' on my machine this morning, I noticed that `make info' choked on R-exts.texi. Below is a patch that seems to solve the problem. BTW, while `make info' runs now, I still get the following warning:
/usr/bin/makeinfo --enable-encoding -D UseExternalXrefs -I/opt/src/R-devel-src/doc/manual /opt/src/R-devel-src/doc/manual/R-exts.texi /opt/src/R-devel-src/doc/manual/R-exts.texi:1219: warning: @strong{Note...} produces a spurious cross-reference in Info; reword to avoid that. No idea how to fix that, my texinfo knowledge is not good enough. :) Actually, I am not clear on the following two questions: 1) Should such patches be sent to r-devel, r-bugs or both? 2) Should such patches be sent at all, or should users just wait till R-core fixes it itself? Cheers, Berwin
Index: doc/manual/R-exts.texi =================================================================== --- doc/manual/R-exts.texi (revision 36380) +++ doc/manual/R-exts.texi (working copy) @@ -1715,24 +1715,24 @@ @code{myDLL}: @example -R_CMethodDef cMethods[] = { - {"foo", &foo, 4, {REALSXP, INTSXP, STRSXP, LGLSXP}}, - {"bar_sym", &bar, 0}, - {NULL, NULL, 0} -}; +R_CMethodDef cMethods[] = @{ + @{"foo", &foo, 4, @{REALSXP, INTSXP, STRSXP, [EMAIL PROTECTED]@}, + @{"bar_sym", &bar, [EMAIL PROTECTED], + @{NULL, NULL, [EMAIL PROTECTED] [EMAIL PROTECTED]; -R_CallMethodDef callMethods[] = { - {"R_call_sym", &R_call, 4}, - {"R_version_sym", &R_version, 0}, - {NULL, NULL, 0} -}; [EMAIL PROTECTED] +R_CallMethodDef callMethods[] = @{ + @{"R_call_sym", &R_call, [EMAIL PROTECTED], + @{"R_version_sym", &R_version, [EMAIL PROTECTED], + @{NULL, NULL, [EMAIL PROTECTED] [EMAIL PROTECTED]; [EMAIL PROTECTED] example Then, the directive in the @file{NAMESPACE} file @example useDynLib(myDLL, .registration = TRUE) [EMAIL PROTECTED] [EMAIL PROTECTED] example causes the DLL to be loaded and also for the R variables @code{foo}, @code{bar_sym}, @code{R_call_sym} and @code{R_version_sym} to be @@ -1748,10 +1748,10 @@ @example R_version = function() -{ [EMAIL PROTECTED] .Call(R_version_sym) -} [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] example More information about this symbol lookup, along with some approaches
______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel