Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What to do after I've found and fixed some bugs in CRAN package and author is not responding?

Tags:

package

r

cran

I'm not new to R but I'm new to finding errors in CRAN packages which I wish to correct. In my case, I like to upload packages under development on github; then if errors are found people can generate pull requests so they're fixed. Not not everyone chooses to go down this route though.

My question relates to the above - if I find a (substantial) error in a widely used CRAN package (which I need to import in my own package), and I have fixed the errors, what are the steps to take? In particular if

  1. the CRAN package does not have a project page (github etc.) and
  2. the author is not replying to e-mails

Currently my solution is to upload a copy of the 'corrected' package on my github page and instruct people to install that version before using my own. This is cumbersome and not an elegant solution. Are there better alternatives to this?

like image 318
andrewzm Avatar asked Nov 06 '14 23:11

andrewzm


1 Answers

This the good and the bad of R ... sometimes package are forsaken! Get the source code and create your own pacakge. If it is useful for you it will be useful for others!

there a lot of documentations on how to create packages: http://www.r-bloggers.com/create-an-r-package-in-under-6-minutes/

like image 141
Joel Lafond Lapalme Avatar answered Nov 15 '22 01:11

Joel Lafond Lapalme