Why is cran complaining about my package?


#1

I'm trying to submit my first package to cran. Alas, I got an email saying that my package does not pass the incoming checks automatically. Can you help me understand what is the problem and how to fix it? This is the link for the windows log and this is the one for linux

Thanks!


#2

There are two NOTES in your log file. You have to remove the second NOTE:

* checking top-level files ... NOTE
File
  LICENSE
is not mentioned in the DESCRIPTION file.

You could simply add a line of your LICENCEfile into the DESCRIPTION file like this:

License: MIT + file LICENSE

#3

It looks like there are currently 2 notes on the checks that CRAN makes:

  1. It has found potential typographical errors in your DESCRIPTION file:
* checking CRAN incoming feasibility ... NOTE
Maintainer: 'Ignacio Martinez <ignacio@protonmail.com>'

New submission

Possibly mis-spelled words in DESCRIPTION:
  Mailgun (3:26)
  api (7:44)
  mailgun (7:36)

The Description field contains
  account from https://www.mailgun.com .
Please enclose URLs in angle brackets (<...>).
  1. Your LICENSE file is not referenced in your DESCRIPTION:
* checking top-level files ... NOTE
File
  LICENSE
is not mentioned in the DESCRIPTION file.

As far as I can see, these are the only issues.

It may be worth (if you haven't already) reading the releasing section of the R Packages book.


#4

Try to create the license with devtool, it shold solved the license note

devtools::use_mit_license()