Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

R CMD check Warning: Non-standard license specification

When I run R CMD check I get a warning:

* checking DESCRIPTION meta-information ... WARNING
Non-standard license specification:
  use_mit_license()
Standardizable: FALSE

I can't figure out how my license should be formatted in my DESCRIPTION file. Right now it is formatted like this (which I thought was correct):

License: use_mit_license()

Advice is appreciated.

like image 580
generic Avatar asked Sep 02 '25 09:09

generic


1 Answers

first delete the license line out out of your description file, save it then close it. in the R console, while your R project is open (R package in this case). run this line in the console use_mit_license(). This will add information to the rbuildignore file, add a .md file for the license and should add the license information to the description file (check this after you run the code).

Here is some more information on the topic: https://r-pkgs.org/license.html

like image 197
Mike Avatar answered Sep 05 '25 00:09

Mike