[R] package.skeleton generates ".env = <environment>"
pedabreu
pedabreu at gmail.com
Tue Oct 4 12:40:20 CEST 2011
Hello,
i trying to create a package using package.skeleton. I use R.oo package to
create oriented-object classes. When i use package.skeleton, this creates
the following file:
classA <-
structure(function()
{
extend(Object(),"Class A",
.var1= NULL)
}
, .env = <environment>, class = c("Class", "Object"), formals = c("public",
"class"), modifiers = c("public", "class"))
Then i compile using R CMD build myPkg.
when i try to install.package and give this error:
" /tmp/RtmpaOZ7IQ/R.INSTALL412da433/JSSbase/R/GTHeuristic.R:7:10:
unexpected '<'
6: }
7: , .env = <"
why the package.skeleton creates ".env = <environment>"??
Thank you
--
View this message in context: http://r.789695.n4.nabble.com/package-skeleton-generates-env-environment-tp3870577p3870577.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list