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. ______________________________________________ R-help@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.