[Rd] legitimate use of :::

Henrik Bengtsson hb at biostat.ucsf.edu
Thu Aug 22 23:23:01 CEST 2013


On Thu, Aug 22, 2013 at 2:03 PM, Hadley Wickham <h.wickham at gmail.com> wrote:
>> To avoid the NOTEs (which often triggers a 'pls fix' upon submission to
>> CRAN), I simply copied/pasted these functions to my package, but this seems
>> wasteful.
>
> Wasteful of disk space, but disk space is cheap. It's less wasteful of
> your time, if the referenced code breaks in an unexpected time.  Your
> time is much more valuable than disk space.
>
> A gigabyte of disk space costs about $0.10, so even if you value your
> time at a very conservative rate of $100 / hour, you should only spend
> an hour of your time reducing package size if it saves at least 1 TB
> of disk space. That's a lot of copies of a function!

A bigger issue is source-code license conflicts; you may cut'n'paste
GPL code into a distribution that is under another license.

/Henrik


>
> Hadley
>
> --
> Chief Scientist, RStudio
> http://had.co.nz/
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel



More information about the R-devel mailing list