getLicense.Package.RdGets the License of this package as specified by the DESCRIPTION file.
# S3 method for class 'Package'
getLicense(this, ...)Returns a character string.
For more information see Package.
pkg <- Package("R.oo")
print(getLicense(pkg))
#> [1] "LGPL (>= 2.1)"