I made a modification of the R package rpart for researching purposes. The license is GPL-2 | GPL-3.

The modification is simple but it is critical for another package that I have developed. I would like to upload it to Github for reproducibility purposes.

I have two questions:

  • How should I acknowledge the authors of rpart? Is a forking in github enough? Can I include myself as an author?

  • Am I obliged to use GPL license?

  1. You should maintain their copyright notices intact; this is required by eg GPLv3 s4. You can do this by forking their repository, or copying it to another git hosting service, or publishing tarballs; the GPL doesn't care about how you preserve them. As for acknowledging yourself, you should add a copyright notice of your own.

  2. Yes. GPLv3 s5c says you may convey "a work based on the Program" but you "must license the entire work, as a whole, under this License to anyone who comes into possession of a copy". GPLv2 has comparable language.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.