I have a package called my_pkg
and in my DESCRIPTION
file I've declared my license as License: file LICENSE
.
Another question suggested using packageDescription
to call the license, but that yields the following:
> packageDescription('my_pkg', fields = 'License')
"file LICENSE"
Any ideas how to proceed? I've checked CRAN and Hadley's R Packages book to no avail.
Use the License File Parser to view feature codesGo to the License File Parser. Click Choose File to browse to your license file. Select the license file and click Open.
License files are stored in the "licenses" folder within the MATLAB installation folder.
The license directory (based on a default installation) for ENVI versions 4.8 and above as well as IDL versions 8.0 and above: Windows: C:\Program Files\exelis\license. Macintosh: /Applications/exelis/license. UNIX/Linux: /usr/local/exelis/license.
I think
file.show(system.file("LICENSE",package="my_pkg"))
should work (it works for the ggalt
package). It won't work if there is no LICENSE
file, of course ...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With