hadley/devtools — pull request #123 by yoni (2012-07-30 20:54:37+00:00)
Title: New Package Creation

At Opower, we've been going on a bit of an R package creation binge and found that creating new packages is quite a repetitive process. At the same time, we've tried to work on standardization and automation, which have had us considering 'devtools' as the standard for package development workflows.

As such, we decided to contribute back to devtools and add a package creation tool, similar to that provided by the core R library with package.skeleton, but more opinionated and extensible. This is my first go at the package creation logic.

I'd love to work with the community to figure out the right approach to standardizing R package development! Please provide any and all feedback. :)

----
Note that the new_package branch on my fork of devtools is taken from the devtools 0.6 tag. The reason for this is that we've not yet migrated to R 2.15, which is required by devtools 0.7. This pull request, on the other hand, is actually for the devtools master branch, as opposed to the 0.6 tag. I did so in order to streamline the inclusion of this feature into any new devtools 0.7 release.

I hope that's not too confusing. If this poses an issue, I'm happy to postpone the pull request until we've migrated to R 2.15 and I've successfully tested the code against that version.