Gets the License of this package as specified by the DESCRIPTION file.

# S3 method for class 'Package'
getLicense(this, ...)

Arguments

...

Not used.

Value

Returns a character string.

Author

Henrik Bengtsson

See also

For more information see Package.

Examples

  pkg <- Package("R.oo")
  print(getLicense(pkg))
#> [1] "LGPL (>= 2.1)"