Skip to content
Prev 46872 / 63424 Next

Including R code from another package...

R-developers:

I had a quick question for the group -- let's say a package I am
developing depends on a single, small function from a large
CRAN-listed package.  I can, of course, set a dependency within my own
package, but are there means by which I can include the R script + man
file DIRECTLY in my package (of course attributing the code to the
original programmer).  Does it require me asking the package manager
directly?  If not, what is the proper way to cite that a given script
was coded by someone else?  Cheers!

--j