File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 3030 \v erb{\l ink[<pkg>:<myClass>-class]{<myClass>}} necessary in earlier
3131 versions of \R .
3232
33- Packages with the new syntax need to formally depend on \s amp{R >= 4.6.0}.
33+ Packages with the new syntax need to formally depend on
34+ \s amp{R >= 4.6.0}.
35+
36+ \i tem \c ode{tools::analyze_license()} now also computes
37+ \h ref{https://spdx.dev/learn/handling-license-info/}{SPDX license
38+ identifiers},
39+ thanks to \I {Thierry Onkelinx} and \I {LLuís Revilla}.
3440 }
3541 }
3642
Original file line number Diff line number Diff line change @@ -32,7 +32,10 @@ analyze_license(x)
3232 with fixed versions. It also indicates whether the license can be
3333 verified to be \abbr {FOSS }
3434 (\url {https : // en.wikipedia.org / wiki / Free_and_open - source_software })
35- licenses.
35+ licenses and where possible computes an
36+ \href {https : // spdx.dev / learn / handling - license - info / }{SPDX license
37+ identifier }
38+ for the license.
3639}
3740\value {
3841 a list with elements including
@@ -48,6 +51,7 @@ analyze_license(x)
4851 license spec. }
4952 \item {is_verified }{a logical indicating whether the given string can
5053 be verified to specify a \abbr {FOSS } license. }
54+ \item {spdx }{an SPDX license identifier for the license spec. }
5155}
5256\examples {
5357# # Examples from section 'Licenses' of 'Writing R Extensions':
You can’t perform that action at this time.
0 commit comments