Re: [R-pkg-devel] Best practise in including third party code

2020-11-18 Thread Ben Bolker
I would recommend copying the snippet/minor function into your own code, with attribution/citation (and, as a courtesy, e-mailing the maintainer of the package to let them know). The only disadvantage I can think of in this approach is that you won't automatically benefit from bug fixes or ot

[R-pkg-devel] Best practise in including third party code

2020-11-18 Thread Wolfgang Lenhard
Dear R developer list, in general, if functionality from other packages are used in one's own package, it is of course the best way to declare the other package as an import. What is the straight forward way for only minor functions or functionality, especially when the other package comes with