Skip to content

Commit

Permalink
no need to re-encode here (fixes reg-tests-1d failure with musl)
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.r-project.org/R/trunk@84657 00db46b3-68df-0310-9c12-caf00c1e9a41
  • Loading branch information
smeyer committed Jul 7, 2023
1 parent b91b3a2 commit c12096a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/library/utils/R/packages2.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# File src/library/utils/R/packages2.R
# Part of the R package, https://www.R-project.org
#
# Copyright (C) 1995-2022 The R Core Team
# Copyright (C) 1995-2023 The R Core Team
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand All @@ -20,7 +20,7 @@ if (.Platform$OS.type == "windows")
.install.macbinary <- function(...) NULL # globalVariables isn't available, so use this to suppress the warning

isBasePkg <- function(pkg) {
priority <- tryCatch(packageDescription(pkg, fields = "Priority"),
priority <- tryCatch(packageDescription(pkg, fields = "Priority", encoding = NA),
error = function(e) e, warning = function(e) e)
identical(priority, "base")
}
Expand Down

0 comments on commit c12096a

Please sign in to comment.