File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ importFrom(kwb.utils,getAttribute)
55
55
importFrom(kwb.utils,get_homedir)
56
56
importFrom(kwb.utils,hsRestoreAttributes)
57
57
importFrom(kwb.utils,lastElement)
58
+ importFrom(kwb.utils,moveColumnsToFront)
58
59
importFrom(kwb.utils,noFactorDataFrame)
59
60
importFrom(kwb.utils,noSuchElements)
60
61
importFrom(kwb.utils,orderBy)
Original file line number Diff line number Diff line change 4
4
# '
5
5
# ' @param packages names of (installed) packages
6
6
# ' @return data frame
7
+ # ' @importFrom kwb.utils moveColumnsToFront rbindAll
7
8
# ' @export
8
9
getPackageLicences <- function (packages )
9
10
{
@@ -14,8 +15,8 @@ getPackageLicences <- function(packages)
14
15
as.data.frame(description [, columns , drop = FALSE ])
15
16
}) %> %
16
17
stats :: setNames(packages ) %> %
17
- rbindAll(nameColumn = " package" ) %> %
18
- moveColumnsToFront(" package" )
18
+ kwb.utils :: rbindAll(nameColumn = " package" , namesAsFactor = FALSE ) %> %
19
+ kwb.utils :: moveColumnsToFront(" package" )
19
20
}
20
21
21
22
# readDescription --------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments