« How pie charts fail | Main | Late Summer Reading »

August 27, 2009

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a010534b1db25970b011571c50e72970b

Listed below are links to weblogs that reference Creating your own R packages: a tutorial:

Comments

Feed You can follow this conversation by subscribing to the comment feed for this post.

Perhaps one of the greatest benefits of writing an R package is encapsulation. Without using R packages it's very difficult to create namespaces in R (without hackery). I'm still a bit unhappy with the .Rd format of documentation for R. I tend to use comments in my code as per the google doc standards, but find that writing Rd files for my own personal use is unnecessary.

'R CMD check' is slow and usually checks for things that one doesn't necessarily care about if a package is not being submitted to CRAN, ie. Rd formatting.

I've written a simple python script that uses the RUnit package and tests defined in a inst/tests/suites.R file. I can send it to you if you'd like

Tutorial concept explained with useful ideas and interesting guidelines.

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment

Got comments or suggestions for the blog editor?
Email David Smith.
Follow revodavid on Twitter Follow David on Twitter: @revodavid

R links

Recommended Sites

Search Revolutions Blog