Skip to content

Commit

Permalink
use unclass instead of lapply with identity
Browse files Browse the repository at this point in the history
  • Loading branch information
mslynch committed Aug 28, 2023
1 parent 4cbed25 commit 2098c30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/bundlePackage.R
Original file line number Diff line number Diff line change
Expand Up @@ -115,5 +115,5 @@ availablePackages <- function(repos) {

package_record <- function(name, lib_dir = NULL) {
record <- packageDescription(name, lib.loc = lib_dir, encoding = "UTF-8")
lapply(record, identity)
unclass(record)
}

0 comments on commit 2098c30

Please sign in to comment.