I wrote an R script application that contains R packages and, mostly, my own code. I would like to sell the script as an application or as a gist (using gist.github.com) to be used by organizations that buy a subscription to run the script for their own needs. Some of the packages are GPL2, GPL3 or MIT.

  1. Can I use the packages and just need to provide links to the packages on CRAN?
  2. Do I have to release my code even if I didn't change anything in the packages content/code?
  3. If my script run on a website, do I need to provide the packages names that I use?
  4. Can I install R-portable on my clients' computers in order for them to use my script.
  • 1
    Generally, if your application depends on GPL code, then you must release your application under compatible terms (you must release your own code and all source code you used). A subscription system is fine, but a subscriber must be free to modify and/or copy the code that she downloaded, even after the subscription ends. – Brandin Feb 7 '18 at 11:47
  • 1
    1. 3rd party links to a particular version may stop working; it is safer to offer the required source yourself. 2. Yes; whether you changed something does not matter for GPL. 3. No. 4. Yes. – Brandin Feb 7 '18 at 11:50
  • @Brandin you don't have to release anything. The licence only says what you must do IF you release it. – ctrl-alt-delor Feb 8 '18 at 13:25
  • The free software foundation would love you to sell software. As long as you do not take away the freedoms, check the licences. – ctrl-alt-delor Feb 8 '18 at 13:28
  • @ctrl-alt-delor , can you please elaborate more on "you don't have to release anything"? Thanks. – mql4beginner Feb 8 '18 at 17:13

Your Answer

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

Browse other questions tagged or ask your own question.