James MacDonald wrote:
R.version.string
[1] "R version 2.1.0, 2005-03-17"
I don't see anything in either https://svn.r-project.org/R/trunk/NEWS or in the Changes file for R-2.1.0 about changes in package.skeleton() (nor in the help page), but when I run this function, all the .Rd files produced are of the data format even if all I have in my .GlobalEnv are functions.
A trivial example is to run the examples from the package.skeleton() help page. I believe there should be two data type and two function type .Rd files, but instead they are all of the data type.
Yes, I think package.skeleton() needs the follwing simple fix (since we do not get() each object in prompt() any more - alternatively, reverting some changes in prompt() fixes it as well):
@@ -140,7 +140,7 @@ sink(outConn, type = "output") yy <- try(sapply(list, function(item) { - prompt(item, + prompt(name = item, filename = file.path(path, name, "man", paste(list0[item], "Rd", sep="."))) }))
Uwe Ligges
Best,
Jim
James W. MacDonald Affymetrix and cDNA Microarray Core University of Michigan Cancer Center 1500 E. Medical Center Drive 7410 CCGC Ann Arbor MI 48109 734-647-5623
********************************************************** Electronic Mail is not secure, may not be read every day, and should not be used for urgent or sensitive issues.
______________________________________________ R-devel@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
______________________________________________ R-devel@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-devel