CRAN Package Check Results for Package this.path

Last updated on 2024-11-05 05:50:02 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.5.0 14.88 39.73 54.61 OK
r-devel-linux-x86_64-debian-gcc 2.5.0 13.37 29.15 42.52 OK
r-devel-linux-x86_64-fedora-clang 2.5.0 87.00 OK
r-devel-linux-x86_64-fedora-gcc 2.5.0 98.18 OK
r-devel-windows-x86_64 2.5.0 38.00 73.00 111.00 OK
r-patched-linux-x86_64 2.5.0 18.82 37.98 56.80 OK
r-release-linux-x86_64 2.5.0 17.37 37.86 55.23 OK
r-release-macos-arm64 2.5.0 49.00 OK
r-release-macos-x86_64 2.5.0 111.00 OK
r-release-windows-x86_64 2.5.0 37.00 73.00 110.00 ERROR
r-oldrel-macos-arm64 2.5.0 56.00 OK
r-oldrel-macos-x86_64 2.5.0 125.00 OK
r-oldrel-windows-x86_64 2.5.0 35.00 80.00 115.00 ERROR

Additional issues

rchk

Check Details

Version: 2.5.0
Check: tests
Result: ERROR Running 'basename2-tests.R' [1s] Running 'ext-tests.R' [0s] Running 'faster-subsequent-times.R' [1s] Running 'isclipboard-tests.R' [0s] Running 'pathjoin-tests.R' [0s] Running 'set-sys-path-tests.R' [1s] Running 'this-path-tests.R' [1s] Running 'zzz.R' [0s] Running the tests in 'tests/set-sys-path-tests.R' failed. Complete output: > local({ + + + FILE.R <- tempfile(fileext = ".R") + on.exit(unlink(FILE.R)) + writeLines(" + test.this.path <- function () + { + try(print(this.path::sys.path(verbose = TRUE))) + try(print(this.path::env.path(verbose = TRUE))) + try(print(this.path::src.path(verbose = TRUE))) + try(print(this.path::this.path(verbose = TRUE))) + } + + + test.this.path()", FILE.R) + + + sourcelike <- function(file) { + ofile <- file + file <- this.path::set.sys.path(file, Function = "sourcelike") + lines <- readLines(file, warn = FALSE) + filename <- this.path::sys.path(local = TRUE, for.msg = TRUE) + isFile <- !is.na(filename) + if (isFile) { + timestamp <- file.info(filename)$mtime[1] + if (is.na(timestamp)) + timestamp <- Sys.time() + } + else { + filename <- if (is.character(ofile)) ofile else "<connection>" + timestamp <- Sys.time() + } + srcfile <- srcfilecopy(filename, lines, timestamp, isFile) + this.path::set.src.path(srcfile) + envir <- new.env(hash = TRUE, parent = .BaseNamespaceEnv) + envir$.packageName <- filename + oopt <- options(topLevelEnvironment = envir) + on.exit(options(oopt)) + this.path::set.env.path(envir) + exprs <- parse(text = lines, srcfile = srcfile) + this.path::source.exprs(exprs, evaluated = TRUE, envir) + `.this.path::document.context` + } + + + this.path::source.exprs({ + + + x <- sourcelike(this.path::relpath(FILE.R)) + print(x, quote = FALSE) + + + y <- local({ + FILE.zip <- tempfile(fileext = ".zip") + on.exit(unlink(FILE.zip)) + local({ + owd <- getwd() + on.exit(setwd(owd)) + setwd(this.path::dirname2(FILE.R)) + status <- utils::zip(FILE.zip, this.path::basename2(FILE.R)) + on.exit() + setwd(owd) + if (status == 0L) { + local({ + conn <- unz(this.path::relpath(FILE.zip), this.path::basename2(FILE.R)) + on.exit(close(conn)) + sourcelike(conn) + }) + } + }) + }) + print(y, quote = FALSE) + + + }) + + + }) Error in regexec(" ([ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz]:) +(.*?) *(?:Web Client Network|Microsoft Windows Network)?$", : input string 9 is invalid in this locale Calls: local ... eval -> sourcelike -> <Anonymous> -> .relpath -> regexec In addition: Warning message: In regexec(" ([ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz]:) +(.*?) *(?:Web Client Network|Microsoft Windows Network)?$", : unable to translate 'Der Befehl wurde erfolgreich ausgef<81>hrt.' to a wide string Execution halted Flavor: r-release-windows-x86_64

Version: 2.5.0
Check: tests
Result: ERROR Running 'basename2-tests.R' [0s] Running 'ext-tests.R' [0s] Running 'faster-subsequent-times.R' [1s] Running 'isclipboard-tests.R' [0s] Running 'pathjoin-tests.R' [0s] Running 'set-sys-path-tests.R' [1s] Running 'this-path-tests.R' [2s] Running 'zzz.R' [0s] Running the tests in 'tests/set-sys-path-tests.R' failed. Complete output: > local({ + + + FILE.R <- tempfile(fileext = ".R") + on.exit(unlink(FILE.R)) + writeLines(" + test.this.path <- function () + { + try(print(this.path::sys.path(verbose = TRUE))) + try(print(this.path::env.path(verbose = TRUE))) + try(print(this.path::src.path(verbose = TRUE))) + try(print(this.path::this.path(verbose = TRUE))) + } + + + test.this.path()", FILE.R) + + + sourcelike <- function(file) { + ofile <- file + file <- this.path::set.sys.path(file, Function = "sourcelike") + lines <- readLines(file, warn = FALSE) + filename <- this.path::sys.path(local = TRUE, for.msg = TRUE) + isFile <- !is.na(filename) + if (isFile) { + timestamp <- file.info(filename)$mtime[1] + if (is.na(timestamp)) + timestamp <- Sys.time() + } + else { + filename <- if (is.character(ofile)) ofile else "<connection>" + timestamp <- Sys.time() + } + srcfile <- srcfilecopy(filename, lines, timestamp, isFile) + this.path::set.src.path(srcfile) + envir <- new.env(hash = TRUE, parent = .BaseNamespaceEnv) + envir$.packageName <- filename + oopt <- options(topLevelEnvironment = envir) + on.exit(options(oopt)) + this.path::set.env.path(envir) + exprs <- parse(text = lines, srcfile = srcfile) + this.path::source.exprs(exprs, evaluated = TRUE, envir) + `.this.path::document.context` + } + + + this.path::source.exprs({ + + + x <- sourcelike(this.path::relpath(FILE.R)) + print(x, quote = FALSE) + + + y <- local({ + FILE.zip <- tempfile(fileext = ".zip") + on.exit(unlink(FILE.zip)) + local({ + owd <- getwd() + on.exit(setwd(owd)) + setwd(this.path::dirname2(FILE.R)) + status <- utils::zip(FILE.zip, this.path::basename2(FILE.R)) + on.exit() + setwd(owd) + if (status == 0L) { + local({ + conn <- unz(this.path::relpath(FILE.zip), this.path::basename2(FILE.R)) + on.exit(close(conn)) + sourcelike(conn) + }) + } + }) + }) + print(y, quote = FALSE) + + + }) + + + }) Error in regexec(" ([ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz]:) +(.*?) *(?:Web Client Network|Microsoft Windows Network)?$", : input string 3 is invalid in this locale Calls: local ... eval -> sourcelike -> <Anonymous> -> .relpath -> regexec In addition: Warning message: In regexec(" ([ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz]:) +(.*?) *(?:Web Client Network|Microsoft Windows Network)?$", : unable to translate 'Es sind keine Eintr<84>ge in der Liste.' to a wide string Execution halted Flavor: r-oldrel-windows-x86_64