r - What's the proper way to handle a github script dependency in a CRAN package? -


there's great r script on github build correlation heatmaps via ggplot2 (doesn't matter, wanted hat tip).

this script function, it's not on cran (as such), , not package. (it is part of upstream cran package, crucial bugfixes in script don't seem make upstream repo, let alone cran. without bugfixes, it's unusable.).

this function used internally package, , never directly exposed users.

what's proper way use script in package?

i'd to:

  • properly recognize script's authors work
  • have pass cran (obviously)
  • be able merge in upstream changes (from script)
  • script should sourced (or whatever) on library(mypkg), that's ready go , not remote-sourced via internet anytime uses function (that bad).

i thinking of copy/pasting file, a) recognition, , b) there has better way.


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -