Re: [Rd] package.skeleton
Thanks a lot, Jim, yes, I can confirm the behavior; clearly a bug in R-devel (only!) Martin Maechler > "JimMcD" == James MacDonald <[EMAIL PROTECTED]> > on Fri, 18 Mar 2005 13:28:18 -0500 writes: >> R.version.string JimMcD> [1] "R version 2.1.0, 2005-03-17" JimMcD> I don't see anything in either JimMcD> https://svn.r-project.org/R/trunk/NEWS or in the JimMcD> Changes file for R-2.1.0 about changes in JimMcD> package.skeleton() (nor in the help page), but when JimMcD> I run this function, all the .Rd files produced are JimMcD> of the data format even if all I have in my JimMcD> .GlobalEnv are functions. JimMcD> A trivial example is to run the examples from the JimMcD> package.skeleton() help page. I believe there should JimMcD> be two data type and two function type .Rd files, JimMcD> but instead they are all of the data type. JimMcD> Best, JimMcD> Jim __ R-devel@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Re: [Rd] package.skeleton
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
[Rd] package.skeleton
> 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. 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