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 = ".")
Either a checklist
object or a path to the source code.
Defaults to .
.
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()
,
set_tag()
,
tidy_desc()
,
update_citation()
,
write_citation_cff()
,
write_zenodo_json()