Skip to content

Commit

Permalink
use packageDescription encoding parameter and convert to list
Browse files Browse the repository at this point in the history
  • Loading branch information
mslynch committed Aug 25, 2023
1 parent 8f1ad14 commit 4cbed25
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/bundlePackage.R
Original file line number Diff line number Diff line change
Expand Up @@ -114,5 +114,6 @@ availablePackages <- function(repos) {
}

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

0 comments on commit 4cbed25

Please sign in to comment.