Description Usage Arguments Details Value See Also Examples
when provided with package metadata, get_license
extracts each unique license a package is released under and provides
them as a vector.
1 | get_license(package_metadata)
|
package_metadata |
package metadata retrieved with |
license information is not stored in a tremendously consistent way, but we can make a best-guess at it by stripping out "+ file license" strings, and then splitting on |.
a character vector containing each unique license mentioned in the package's DESCRIPTION field.
the package index for more checks and functionality.
1 2 | #What license(s) are urltools under?
get_license(get_package_metadata("urltools"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.