[R] Problem with package development

Duncan Murdoch murdoch.duncan at gmail.com
Tue May 31 21:39:54 CEST 2011


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.



More information about the R-help mailing list