Skip to content

Commit 939474b

Browse files
author
hornik
committed
Tweaks for c88237.
git-svn-id: https://svn.r-project.org/R/trunk@88244 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent ba196fb commit 939474b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/library/tools/R/license.R

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,9 @@ function(x)
614614
stringsAsFactors = FALSE)
615615
}
616616

617-
spdx <- paste(unique(unlist(lapply(expansions, `[[`, "SPDX"),
617+
spdx <- paste(unique(unlist(lapply(expansions,
618+
function(e)
619+
sort(e[["SPDX"]])),
618620
use.names = FALSE)),
619621
collapse = " OR ")
620622
## Replace expansions by their labels from the license db.

0 commit comments

Comments
 (0)