Displaying 2 results from an estimated 2 matches for "writepkgindices".
2009 Jun 26
1
should Sys.glob() cope with a UNC windows path beginning with backslashes?
...nt to forward slashes, but later backslashes are.)
This is not a big deal, but I noticed it because it results in Rcmd check giving a spurious warning when started from a cygwin shell with a working directory that is a network drive specified as a UNC path. This happens because mandir in tools:::.writePkgIndices has the form \\foo/bar/R/packages/mypkg/man, which results in the false warning "there is a 'man' dir but no help pages in this package." A simple workaround was to use a drive-letter mount for the network drive.
> sessionInfo()
R version 2.9.1 (2009-06-26)
i386-pc-mingw32...
2009 May 17
3
build CONTENTS or 00Index.html without installing whole package
To maintain my R site, I'm trying to install html help files only, but
also keep track of the version (with DESCRIPTION). I have the
following bash script, which works except for 00Index.html. That is
not a huge problem because the help files are still searchable, but
I'd like to fix it.
A long time ago I asked the same question, and Brian Ripley said to
use --index as an option to