Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0866706

Browse files
committed
Revert "Use source platform for non-native sysreqs lookup"
Need to revert this, because it fails on older R versions in practice.This is because the latest CRAN (or other) source packages might notsupport older R versions, so the resolution might fail. But there areoften binary packages available in this case, which will work.This reverts commitc4db034.
1 parentc4db034 commit0866706

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

‎R/sysreqs.R‎

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -138,20 +138,6 @@ sysreqs_install_plan <- function(refs, upgrade = TRUE, config = list()) {
138138
on.exit(unlink(lib,recursive=TRUE),add=TRUE)
139139
config$library<-lib
140140
}
141-
# If looking up sysreqs for another platform, and the platforms are
142-
# not explicitly specified, then set 'platforms' to source. Ideally we
143-
# would set it according to `config$sysreqs_platform`, but we don't
144-
# currently have a way of doing that. This simplification should not
145-
# fail currently, and even if we'll have sysreqs on non-source platforms
146-
# in the future, it should fail very rarely. Hopefully we can improve it.
147-
if (!"platforms"%in% names(config)) {
148-
if (
149-
("sysreqs_platform"%in% names(config))&&
150-
config$sysreqs_platform!= default_sysreqs_platform()
151-
) {
152-
config$platforms<-"source"
153-
}
154-
}
155141
config$sysreqs<-TRUE
156142
config$sysreqs_lookup_system<-FALSE
157143

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp