CRAN Package Check Results for Package this.path

Last updated on 2024-11-12 07:49:38 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.5.0 14.62 40.14 54.76 OK
r-devel-linux-x86_64-debian-gcc 2.5.0 14.03 28.69 42.72 OK
r-devel-linux-x86_64-fedora-clang 2.5.0 86.92 OK
r-devel-linux-x86_64-fedora-gcc 2.5.0 98.18 OK
r-devel-windows-x86_64 2.5.0 33.00 69.00 102.00 ERROR
r-patched-linux-x86_64 2.5.0 17.82 37.63 55.45 OK
r-release-linux-x86_64 2.5.0 16.74 37.20 53.94 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 36.00 70.00 106.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 38.00 79.00 117.00 ERROR

Additional issues

rchk

Check Details

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' [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 Flavors: r-devel-windows-x86_64, 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