Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions R/rtools.R
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

# R 4.5.0 or later on ARM64
if (getRversion() >= "4.5.0" && grepl("aarch", R.version$platform)) {
rtools45_aarch64_home <- Sys.getenv("RTOOLS45_AARCH64_HOME", "C:\rtools45-aarch64")
rtools45_aarch64_home <- Sys.getenv("RTOOLS45_AARCH64_HOME", "C:\\rtools45-aarch64")

Check warning on line 35 in R/rtools.R

View check run for this annotation

Codecov / codecov/patch

R/rtools.R#L35

Added line #L35 was not covered by tests
if (file.exists(file.path(rtools45_aarch64_home, "usr", "bin"))) {
if (debug) {
cat("Found in Rtools 4.5 (aarch64) installation folder\n")
Expand All @@ -57,7 +57,7 @@
# R 4.4.0 or later on ARM64
if (getRversion() >= "4.4.0" && getRversion() < "4.5.0" &&
grepl("aarch", R.version$platform)) {
rtools44_aarch64_home <- Sys.getenv("RTOOLS44_AARCH64_HOME", "C:\rtools44-aarch64")
rtools44_aarch64_home <- Sys.getenv("RTOOLS44_AARCH64_HOME", "C:\\rtools44-aarch64")

Check warning on line 60 in R/rtools.R

View check run for this annotation

Codecov / codecov/patch

R/rtools.R#L60

Added line #L60 was not covered by tests
if (file.exists(file.path(rtools44_aarch64_home, "usr", "bin"))) {
if (debug) {
cat("Found in Rtools 4.4 (aarch64) installation folder\n")
Expand All @@ -83,7 +83,7 @@
# R 4.3.0 or later on ARM64
if (getRversion() >= "4.3.0" && getRversion() < "4.4.0" &&
grepl("aarch", R.version$platform)) {
rtools43_aarch64_home <- Sys.getenv("RTOOLS43_AARCH64_HOME", "C:\rtools43-aarch64")
rtools43_aarch64_home <- Sys.getenv("RTOOLS43_AARCH64_HOME", "C:\\rtools43-aarch64")

Check warning on line 86 in R/rtools.R

View check run for this annotation

Codecov / codecov/patch

R/rtools.R#L86

Added line #L86 was not covered by tests
if (file.exists(file.path(rtools43_aarch64_home, "usr", "bin"))) {
if (debug) {
cat("Found in Rtools 4.3 (aarch64) installation folder\n")
Expand Down