View source: R/check_description.R
check_license | R Documentation |
Every package needs a clear license.
Without a license, the end-users have no clue under what conditions they can
use the package.
You must specify the license in the DESCRIPTION
and provide a LICENSE.md
file.
check_license(x = ".")
x |
Either a |
This functions checks if the DESCRIPTION
mentions one of the standard
licenses.
The LICENSE.md
must match this license.
Use setup_package()
to add the correct LICENSE.md
to the package.
Currently, following licenses are allowed:
GPL-3
MIT
We will consider pull requests adding support for other open source licenses.
Other package:
check_codemeta()
,
check_cran()
,
check_description()
,
check_documentation()
,
check_environment()
,
check_package()
,
tidy_desc()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.