Dear all, I am having a strage problem while I was trying to build a
package. Here is my package skeleton:
fn1 <- Vectorize(function(x,y,z) {
return(x + y +z)
}, vectorize.args = c("x"), SIMPLIFY = TRUE)
package.skeleton("trial3",namespace = TRUE)
However when I tun "R CMD INSTALL trial3" in CMD, the execution
stopped with following message:
*** installing help indices
** building package indices...
** testing if install package can be loaded
Error: unexpected symbol in "tools:::test_load_package(.............."
Execution haulted
ERROR: loading failed.............
I am using R 2.13.0 in Vista with latest Rtools installed. Can
somebody guide me where I have done wrong?
Thanks,
On 11-05-31 3:36 PM, Nipesh Bajaj wrote:> Dear all, I am having a strage problem while I was trying to build a > package. Here is my package skeleton: > > fn1<- Vectorize(function(x,y,z) { > return(x + y +z) > }, vectorize.args = c("x"), SIMPLIFY = TRUE) > package.skeleton("trial3",namespace = TRUE)Did you follow the instructions that package.skeleton printed? Duncan Murdoch> > However when I tun "R CMD INSTALL trial3" in CMD, the execution > stopped with following message: > > *** installing help indices > ** building package indices... > ** testing if install package can be loaded > Error: unexpected symbol in "tools:::test_load_package(.............." > Execution haulted > ERROR: loading failed............. > > I am using R 2.13.0 in Vista with latest Rtools installed. Can > somebody guide me where I have done wrong? > > Thanks, > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.
On 03/06/11 12:16, Joshua Wiley wrote:> Okay, that might have been a little strong. "screams bloody murder" > is a warning, not technically an error, and does not occur when simply > running R CMD build. That said, the OP did mention using R CMD check > and pdflatex is not an issue when only building anyway. Still, it is > not the cause of the earlier problems and I was probably overly harsh > and I give my sincerest apology.Apology accepted, from my corner of the forest anyhow. cheers, Rolf