In class today we covered R packages. A quick try to create a package in Windows revealed that the Windows version of R does not come with the necessary build tools. I tried again on a Mac and ran into problems where package.skeleton failed to create the package directories since .find.package couldn’t find my newly created package. After a little playing around I found that package names cannot have an ‘_’ (at least on a Mac).
The R CMD CHECK command is very nice. It expands on the idea of static code checking to also check documentation, the install process, example code, etc.
0 Responses
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.