The point in question does not refer to copying code, but to code translation.
Does this make any difference? 
This was the question which I raised.

The phrase "As the code is part of the package now," does not seem to apply in 
this case,
since the code is actually not there.

Also, if the authors of the original code (in Matlab) must be included in the 
Authors@R 
block of the DESCRIPTION file, should they be labelled as "aut", "cbt", or what?

Apart from the specific instance  which my earlier question was referring to,
the view "As the code is part of the package now, therese are of course now 
also copyright 
holders and authors of your package" opens another question, closely related 
but different,
as it refers to code which is included, not translated. 
The above-quoted sentence appears to say that anyone who has written any
portion of code is an author of the package. In this view, who must be labelled 
"cbt" then?

Best regards

Adelchi


> On 2 Jun 2020, at 01:25, Uwe Ligges <lig...@statistik.tu-dortmund.de> wrote:
> 
> If you copy code, you have to make sure that you can use it under the 
> currrent license of your package, and you have to make sure to declare 
> copright holders and authors. As the code is part of the package now, therese 
> are of course now also copyright holders and authors of your package.
> 
> Best,
> Uwe Ligges
> 
> On 01.06.2020 23:37, R. Mark Sharp wrote:
>> Adelchi,
>> I have a similar situation where I had made all of the typical academic 
>> references within the code and documentation for a small but important 
>> function my package uses. I was asked by the CRAN reviewers to add the 
>> author of that function to the DESCRIPTION Authors@R section. I added the 
>> following:
>> person("Terry", "Therneau", role = c("aut”))
>> Mark
>> R. Mark Sharp, Ph.D.
>> Data Scientist and Biomedical Statistical Consultant
>> 7526 Meadow Green St.
>> San Antonio, TX 78251
>> mobile: 210-218-2868
>> rmsh...@me.com
>>> Begin forwarded message:
>>> 
>>> From: Adelchi Azzalini <azzal...@stat.unipd.it>
>>> Subject: [R] a question of etiquette
>>> Date: June 1, 2020 at 11:34:00 AM CDT
>>> To: r-h...@r-project.org
>>> 
>>> The new version of a package which I maintain will include a new function 
>>> which I have ported to R from Matlab.
>>> The documentation of this R function indicates the authors of the original 
>>> Matlab code, reference to their paper, URL of the source code.
>>> 
>>> Question: is this adequate, or should I include them as co-authors of the 
>>> package, or as contributors, or what else?
>>> Is there a general policy about this matter?
>>> 
>>> Adelchi Azzalini
>>> http://azzalini.stat.unipd.it/
>>> 
>>> ______________________________________________
>>> r-h...@r-project.org mailing list -- To UNSUBSCRIBE and more, see
>>> https://stat.ethz.ch/mailman/listinfo/r-help
>>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>>> and provide commented, minimal, self-contained, reproducible code.
>>      [[alternative HTML version deleted]]
>> ______________________________________________
>> R-package-devel@r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-package-devel

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to