Hi Michael,
I'm no license expert either, but I too believe that while a
GPL-licensed package can incorporate MIT-licensed code, an MIT-licensed
package can't incorporate GPL-licensed code.
One solution, I think, would be to put your use_data_doc() in a separate
GPL-licensed package, which then could be specified as a dependency of
usethis. Of course, the usethis developers would have to agree.
I hope this helps,
John
On 2023-09-21 12:33 p.m., Michael L Friendly wrote:
Caution: External email.
I have many datasets in a some of my packages, and always used
`utils::promptData()` to generate the skeleton of a man/data.Rd file.
Now that I've switched to roxygen style, I have found no simple equivalent. In
fact, with RStudio tools for generating documentation
for functions, it is surprising that documenting data has been overlooked.
I solved this problem by simply editing `utils::promptData()` to replace .Rd
style with equivalent roxygen tags.
The result in now in a gist,
https://gist.github.com/friendly/14f3ee1464213bb0b9fbcb489468383b
I called this function `use_data_doc()`, because I thought it would be a
welcome addition to the usethis package.
I hope that someone on this list can advise how to make such a function
available to all R package developers.
-Michael
---
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-2100 x66249
4700 Keele Street Web: http://www.datavis.ca<http://www.datavis.ca/> |
@datavisFriendly
Toronto, ONT M3J 1P3 CANADA
[[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