CRAN Package Check Results for Package exampletestr

Last updated on 2024-08-07 00:49:16 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.7.1 3.15 54.52 57.67 ERROR
r-devel-linux-x86_64-debian-gcc 1.7.1 2.90 41.11 44.01 ERROR
r-devel-linux-x86_64-fedora-clang 1.7.1 94.51 ERROR
r-devel-linux-x86_64-fedora-gcc 1.7.1 103.37 ERROR
r-devel-windows-x86_64 1.7.1 6.00 78.00 84.00 ERROR
r-patched-linux-x86_64 1.7.1 3.55 52.83 56.38 ERROR
r-release-linux-x86_64 1.7.1 2.90 53.23 56.13 ERROR
r-release-macos-arm64 1.7.1 34.00 OK
r-release-macos-x86_64 1.7.1 54.00 OK
r-release-windows-x86_64 1.7.1 6.00 79.00 85.00 ERROR
r-oldrel-macos-arm64 1.7.1 39.00 OK
r-oldrel-macos-x86_64 1.7.1 66.00 OK
r-oldrel-windows-x86_64 1.7.1 6.00 83.00 89.00 ERROR

Check Details

Version: 1.7.1
Check: tests
Result: ERROR Running ‘spelling.R’ [0s/1s] Running ‘testthat.R’ [15s/22s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(exampletestr) > > get_os <- function() { + sysinf <- Sys.info() + if (!is.null(sysinf)) { + os <- sysinf["sysname"] + if (os == "Darwin") { + os <- "osx" + } + } else { ## mystery machine + os <- .Platform$OS.type + if (grepl("^darwin", R.version$os)) { + os <- "osx" + } + if (grepl("linux-gnu", R.version$os)) { + os <- "linux" + } + } + if (os == "osx") os <- "mac" + tolower(os) + } > > if (get_os() != "mac" || Sys.getenv("NOT_CRAN") == "true") { + test_check("exampletestr") + } [ FAIL 1 | WARN 0 | SKIP 0 | PASS 27 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-example-extraction.R:15:3'): `extract_examples()` works ────── `extract_examples("detect", tempdir(check = TRUE))` threw an error with unexpected message. Expected match: "Path .+ does not appear to be inside a project or package." Actual message: "✖ Path '/home/hornik/tmp/scratch/RtmpMvyzwO/' does not appear to be\n inside a project or package.\nℹ Read more in the help for `usethis::proj_get()`." Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-example-extraction.R:15:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─exampletestr:::extract_examples("detect", tempdir(check = TRUE)) 7. └─usethis::local_project(path = pkg_dir, quiet = TRUE) 8. └─usethis::proj_set(path = path, force = force) 9. └─usethis:::ui_abort(...) 10. └─cli::cli_abort(...) 11. └─rlang::abort(...) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 27 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.7.1
Check: tests
Result: ERROR Running ‘spelling.R’ [0s/0s] Running ‘testthat.R’ [11s/17s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(exampletestr) > > get_os <- function() { + sysinf <- Sys.info() + if (!is.null(sysinf)) { + os <- sysinf["sysname"] + if (os == "Darwin") { + os <- "osx" + } + } else { ## mystery machine + os <- .Platform$OS.type + if (grepl("^darwin", R.version$os)) { + os <- "osx" + } + if (grepl("linux-gnu", R.version$os)) { + os <- "linux" + } + } + if (os == "osx") os <- "mac" + tolower(os) + } > > if (get_os() != "mac" || Sys.getenv("NOT_CRAN") == "true") { + test_check("exampletestr") + } [ FAIL 1 | WARN 0 | SKIP 0 | PASS 27 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-example-extraction.R:15:3'): `extract_examples()` works ────── `extract_examples("detect", tempdir(check = TRUE))` threw an error with unexpected message. Expected match: "Path .+ does not appear to be inside a project or package." Actual message: "✖ Path '/tmp/RtmpfoHgeL/' does not appear to be inside a project or\n package.\nℹ Read more in the help for `usethis::proj_get()`." Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-example-extraction.R:15:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─exampletestr:::extract_examples("detect", tempdir(check = TRUE)) 7. └─usethis::local_project(path = pkg_dir, quiet = TRUE) 8. └─usethis::proj_set(path = path, force = force) 9. └─usethis:::ui_abort(...) 10. └─cli::cli_abort(...) 11. └─rlang::abort(...) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 27 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.7.1
Check: tests
Result: ERROR Running ‘spelling.R’ Running ‘testthat.R’ [23s/28s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(exampletestr) > > get_os <- function() { + sysinf <- Sys.info() + if (!is.null(sysinf)) { + os <- sysinf["sysname"] + if (os == "Darwin") { + os <- "osx" + } + } else { ## mystery machine + os <- .Platform$OS.type + if (grepl("^darwin", R.version$os)) { + os <- "osx" + } + if (grepl("linux-gnu", R.version$os)) { + os <- "linux" + } + } + if (os == "osx") os <- "mac" + tolower(os) + } > > if (get_os() != "mac" || Sys.getenv("NOT_CRAN") == "true") { + test_check("exampletestr") + } [ FAIL 1 | WARN 0 | SKIP 0 | PASS 27 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-example-extraction.R:15:3'): `extract_examples()` works ────── `extract_examples("detect", tempdir(check = TRUE))` threw an error with unexpected message. Expected match: "Path .+ does not appear to be inside a project or package." Actual message: "✖ Path '/tmp/RtmpxsseYN/working_dir/Rtmpqv68T3/' does not appear to be\n inside a project or package.\nℹ Read more in the help for `usethis::proj_get()`." Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-example-extraction.R:15:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─exampletestr:::extract_examples("detect", tempdir(check = TRUE)) 7. └─usethis::local_project(path = pkg_dir, quiet = TRUE) 8. └─usethis::proj_set(path = path, force = force) 9. └─usethis:::ui_abort(...) 10. └─cli::cli_abort(...) 11. └─rlang::abort(...) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 27 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.7.1
Check: tests
Result: ERROR Running ‘spelling.R’ Running ‘testthat.R’ [24s/34s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(exampletestr) > > get_os <- function() { + sysinf <- Sys.info() + if (!is.null(sysinf)) { + os <- sysinf["sysname"] + if (os == "Darwin") { + os <- "osx" + } + } else { ## mystery machine + os <- .Platform$OS.type + if (grepl("^darwin", R.version$os)) { + os <- "osx" + } + if (grepl("linux-gnu", R.version$os)) { + os <- "linux" + } + } + if (os == "osx") os <- "mac" + tolower(os) + } > > if (get_os() != "mac" || Sys.getenv("NOT_CRAN") == "true") { + test_check("exampletestr") + } [ FAIL 1 | WARN 0 | SKIP 0 | PASS 27 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-example-extraction.R:15:3'): `extract_examples()` works ────── `extract_examples("detect", tempdir(check = TRUE))` threw an error with unexpected message. Expected match: "Path .+ does not appear to be inside a project or package." Actual message: "✖ Path '/tmp/RtmpPG9x0d/working_dir/Rtmpci3LZo/' does not appear to be\n inside a project or package.\nℹ Read more in the help for `usethis::proj_get()`." Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-example-extraction.R:15:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─exampletestr:::extract_examples("detect", tempdir(check = TRUE)) 7. └─usethis::local_project(path = pkg_dir, quiet = TRUE) 8. └─usethis::proj_set(path = path, force = force) 9. └─usethis:::ui_abort(...) 10. └─cli::cli_abort(...) 11. └─rlang::abort(...) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 27 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 1.7.1
Check: tests
Result: ERROR Running 'spelling.R' [0s] Running 'testthat.R' [18s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(exampletestr) > > get_os <- function() { + sysinf <- Sys.info() + if (!is.null(sysinf)) { + os <- sysinf["sysname"] + if (os == "Darwin") { + os <- "osx" + } + } else { ## mystery machine + os <- .Platform$OS.type + if (grepl("^darwin", R.version$os)) { + os <- "osx" + } + if (grepl("linux-gnu", R.version$os)) { + os <- "linux" + } + } + if (os == "osx") os <- "mac" + tolower(os) + } > > if (get_os() != "mac" || Sys.getenv("NOT_CRAN") == "true") { + test_check("exampletestr") + } [ FAIL 1 | WARN 0 | SKIP 0 | PASS 27 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-example-extraction.R:15:3'): `extract_examples()` works ────── `extract_examples("detect", tempdir(check = TRUE))` threw an error with unexpected message. Expected match: "Path .+ does not appear to be inside a project or package." Actual message: "✖ Path 'D:/temp/RtmpKiFNzm/' does not appear to be inside a project or\n package.\nℹ Read more in the help for `usethis::proj_get()`." Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-example-extraction.R:15:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─exampletestr:::extract_examples("detect", tempdir(check = TRUE)) 7. └─usethis::local_project(path = pkg_dir, quiet = TRUE) 8. └─usethis::proj_set(path = path, force = force) 9. └─usethis:::ui_abort(...) 10. └─cli::cli_abort(...) 11. └─rlang::abort(...) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 27 ] Error: Test failures Execution halted Flavor: r-devel-windows-x86_64

Version: 1.7.1
Check: tests
Result: ERROR Running ‘spelling.R’ [0s/0s] Running ‘testthat.R’ [15s/24s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(exampletestr) > > get_os <- function() { + sysinf <- Sys.info() + if (!is.null(sysinf)) { + os <- sysinf["sysname"] + if (os == "Darwin") { + os <- "osx" + } + } else { ## mystery machine + os <- .Platform$OS.type + if (grepl("^darwin", R.version$os)) { + os <- "osx" + } + if (grepl("linux-gnu", R.version$os)) { + os <- "linux" + } + } + if (os == "osx") os <- "mac" + tolower(os) + } > > if (get_os() != "mac" || Sys.getenv("NOT_CRAN") == "true") { + test_check("exampletestr") + } [ FAIL 1 | WARN 0 | SKIP 0 | PASS 27 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-example-extraction.R:15:3'): `extract_examples()` works ────── `extract_examples("detect", tempdir(check = TRUE))` threw an error with unexpected message. Expected match: "Path .+ does not appear to be inside a project or package." Actual message: "✖ Path '/home/hornik/tmp/scratch/Rtmp4w1qK6/' does not appear to be\n inside a project or package.\nℹ Read more in the help for `usethis::proj_get()`." Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-example-extraction.R:15:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─exampletestr:::extract_examples("detect", tempdir(check = TRUE)) 7. └─usethis::local_project(path = pkg_dir, quiet = TRUE) 8. └─usethis::proj_set(path = path, force = force) 9. └─usethis:::ui_abort(...) 10. └─cli::cli_abort(...) 11. └─rlang::abort(...) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 27 ] Error: Test failures Execution halted Flavor: r-patched-linux-x86_64

Version: 1.7.1
Check: tests
Result: ERROR Running ‘spelling.R’ [0s/1s] Running ‘testthat.R’ [15s/23s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(exampletestr) > > get_os <- function() { + sysinf <- Sys.info() + if (!is.null(sysinf)) { + os <- sysinf["sysname"] + if (os == "Darwin") { + os <- "osx" + } + } else { ## mystery machine + os <- .Platform$OS.type + if (grepl("^darwin", R.version$os)) { + os <- "osx" + } + if (grepl("linux-gnu", R.version$os)) { + os <- "linux" + } + } + if (os == "osx") os <- "mac" + tolower(os) + } > > if (get_os() != "mac" || Sys.getenv("NOT_CRAN") == "true") { + test_check("exampletestr") + } [ FAIL 1 | WARN 0 | SKIP 0 | PASS 27 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-example-extraction.R:15:3'): `extract_examples()` works ────── `extract_examples("detect", tempdir(check = TRUE))` threw an error with unexpected message. Expected match: "Path .+ does not appear to be inside a project or package." Actual message: "✖ Path '/home/hornik/tmp/scratch/RtmpD58crf/' does not appear to be\n inside a project or package.\nℹ Read more in the help for `usethis::proj_get()`." Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-example-extraction.R:15:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─exampletestr:::extract_examples("detect", tempdir(check = TRUE)) 7. └─usethis::local_project(path = pkg_dir, quiet = TRUE) 8. └─usethis::proj_set(path = path, force = force) 9. └─usethis:::ui_abort(...) 10. └─cli::cli_abort(...) 11. └─rlang::abort(...) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 27 ] Error: Test failures Execution halted Flavor: r-release-linux-x86_64

Version: 1.7.1
Check: tests
Result: ERROR Running 'spelling.R' [0s] Running 'testthat.R' [19s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(exampletestr) > > get_os <- function() { + sysinf <- Sys.info() + if (!is.null(sysinf)) { + os <- sysinf["sysname"] + if (os == "Darwin") { + os <- "osx" + } + } else { ## mystery machine + os <- .Platform$OS.type + if (grepl("^darwin", R.version$os)) { + os <- "osx" + } + if (grepl("linux-gnu", R.version$os)) { + os <- "linux" + } + } + if (os == "osx") os <- "mac" + tolower(os) + } > > if (get_os() != "mac" || Sys.getenv("NOT_CRAN") == "true") { + test_check("exampletestr") + } [ FAIL 1 | WARN 0 | SKIP 0 | PASS 27 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-example-extraction.R:15:3'): `extract_examples()` works ────── `extract_examples("detect", tempdir(check = TRUE))` threw an error with unexpected message. Expected match: "Path .+ does not appear to be inside a project or package." Actual message: "✖ Path 'D:/temp/Rtmp25abw9/' does not appear to be inside a project or\n package.\nℹ Read more in the help for `usethis::proj_get()`." Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-example-extraction.R:15:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─exampletestr:::extract_examples("detect", tempdir(check = TRUE)) 7. └─usethis::local_project(path = pkg_dir, quiet = TRUE) 8. └─usethis::proj_set(path = path, force = force) 9. └─usethis:::ui_abort(...) 10. └─cli::cli_abort(...) 11. └─rlang::abort(...) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 27 ] Error: Test failures Execution halted Flavor: r-release-windows-x86_64

Version: 1.7.1
Check: tests
Result: ERROR Running 'spelling.R' [0s] Running 'testthat.R' [20s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(exampletestr) > > get_os <- function() { + sysinf <- Sys.info() + if (!is.null(sysinf)) { + os <- sysinf["sysname"] + if (os == "Darwin") { + os <- "osx" + } + } else { ## mystery machine + os <- .Platform$OS.type + if (grepl("^darwin", R.version$os)) { + os <- "osx" + } + if (grepl("linux-gnu", R.version$os)) { + os <- "linux" + } + } + if (os == "osx") os <- "mac" + tolower(os) + } > > if (get_os() != "mac" || Sys.getenv("NOT_CRAN") == "true") { + test_check("exampletestr") + } [ FAIL 1 | WARN 0 | SKIP 0 | PASS 27 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-example-extraction.R:15:3'): `extract_examples()` works ────── `extract_examples("detect", tempdir(check = TRUE))` threw an error with unexpected message. Expected match: "Path .+ does not appear to be inside a project or package." Actual message: "✖ Path 'D:/temp/Rtmp2PuaMR/' does not appear to be inside a project or\n package.\nℹ Read more in the help for `usethis::proj_get()`." Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-example-extraction.R:15:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─exampletestr:::extract_examples("detect", tempdir(check = TRUE)) 7. └─usethis::local_project(path = pkg_dir, quiet = TRUE) 8. └─usethis::proj_set(path = path, force = force) 9. └─usethis:::ui_abort(...) 10. └─cli::cli_abort(...) 11. └─rlang::abort(...) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 27 ] Error: Test failures Execution halted Flavor: r-oldrel-windows-x86_64