
Check whether a downstream package's SPDX is GPL-compatible
Source:R/license_check.R
morie_check_plugin_license.RdCheck whether a downstream package's SPDX is GPL-compatible
Examples
morie_check_plugin_license("MIT")
#> [1] TRUE
# The error path, kept runnable via try():
try(morie_check_plugin_license("LicenseRef-Proprietary",
raise_on_incompatible = TRUE
))
#> Error in morie_check_plugin_license("LicenseRef-Proprietary", raise_on_incompatible = TRUE) :
#> Plugin SPDX 'LicenseRef-Proprietary' is not on the FSF GPL-compatible list; linking against morie may violate GPL-2.0-only.