CRAN Package Check Results for Package import

Last updated on 2025-12-07 12:50:24 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.3.4 1.91 47.21 49.12 OK
r-devel-linux-x86_64-debian-gcc 1.3.4 1.54 28.29 29.83 ERROR
r-devel-linux-x86_64-fedora-clang 1.3.4 77.70 OK
r-devel-linux-x86_64-fedora-gcc 1.3.4 82.92 OK
r-devel-windows-x86_64 1.3.4 3.00 63.00 66.00 OK
r-patched-linux-x86_64 1.3.4 1.84 43.69 45.53 OK
r-release-linux-x86_64 1.3.4 1.87 43.41 45.28 OK
r-release-macos-arm64 1.3.4 OK
r-release-macos-x86_64 1.3.4 2.00 89.00 91.00 OK
r-release-windows-x86_64 1.3.4 4.00 64.00 68.00 OK
r-oldrel-macos-arm64 1.3.4 OK
r-oldrel-macos-x86_64 1.3.4 2.00 106.00 108.00 OK
r-oldrel-windows-x86_64 1.3.4 3.00 77.00 80.00 OK

Check Details

Version: 1.3.4
Check: package dependencies
Result: WARN Cannot process vignettes Packages suggested but not available for checking: 'knitr', 'rmarkdown' VignetteBuilder package required for checking but not installed: ‘knitr’ Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.3.4
Check: tests
Result: ERROR Running ‘testthat.R’ [12s/15s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > > # Import should never be attached > #library(import) > > test_check("import") Loading required package: import The import package should not be attached. Use "colon syntax" instead, e.g. import::from, or import:::from. Error: ! Test failed with 1 failure and 1 success. Backtrace: ▆ 1. └─testthat::test_that(...) 2. └─testthat:::test_code(code, parent.frame()) 3. ├─withr (local) `<fn>`() 4. └─reporter$end_test(context = reporter$.context, test = test) 5. └─cli::cli_abort(...) 6. └─rlang::abort(...) Execution halted Error: ! Test failed with 1 failure and 1 success. Backtrace: ▆ 1. └─testthat::test_that(...) 2. └─testthat:::test_code(code, parent.frame()) 3. ├─withr (local) `<fn>`() 4. └─reporter$end_test(context = reporter$.context, test = test) 5. └─cli::cli_abort(...) 6. └─rlang::abort(...) Execution halted Error: ! Test failed with 1 failure and 1 success. Backtrace: ▆ 1. └─testthat::test_that(...) 2. └─testthat:::test_code(code, parent.frame()) 3. ├─withr (local) `<fn>`() 4. └─reporter$end_test(context = reporter$.context, test = test) 5. └─cli::cli_abort(...) 6. └─rlang::abort(...) Execution halted Error: ! Test failed with 1 failure and 1 success. Backtrace: ▆ 1. └─testthat::test_that(...) 2. └─testthat:::test_code(code, parent.frame()) 3. ├─withr (local) `<fn>`() 4. └─reporter$end_test(context = reporter$.context, test = test) 5. └─cli::cli_abort(...) 6. └─rlang::abort(...) Execution halted Error: ! Test failed with 1 failure and 1 success. Backtrace: ▆ 1. └─testthat::test_that(...) 2. └─testthat:::test_code(code, parent.frame()) 3. ├─withr (local) `<fn>`() 4. └─reporter$end_test(context = reporter$.context, test = test) 5. └─cli::cli_abort(...) 6. └─rlang::abort(...) Execution halted Error: ! Test failed with 1 failure and 3 successes. Backtrace: ▆ 1. └─testthat::test_that(...) 2. └─testthat:::test_code(code, parent.frame()) 3. ├─withr (local) `<fn>`() 4. └─reporter$end_test(context = reporter$.context, test = test) 5. └─cli::cli_abort(...) 6. └─rlang::abort(...) Execution halted Error: ! Test failed with 1 failure and 1 success. Backtrace: ▆ 1. └─testthat::test_that(...) 2. └─testthat:::test_code(code, parent.frame()) 3. ├─withr (local) `<fn>`() 4. └─reporter$end_test(context = reporter$.context, test = test) 5. └─cli::cli_abort(...) 6. └─rlang::abort(...) Execution halted [ FAIL 7 | WARN 7 | SKIP 0 | PASS 3 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test_import.R:51:5'): test_basetemplate.R works ────────────────── Expected some element of [1] "/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/import.Rcheck/tests/test_import" ── Error: Basic scenario works ───────────────────────────────────────────────── Error: there is no package called ‘knitr’ Backtrace: ▆ 1. ├─testthat::expect_silent(import::from(knitr, normal_print)) 2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise) 3. │ ├─testthat (local) .capture(...) 4. │ │ ├─withr::with_output_sink(...) 5. │ │ │ └─base::force(code) 6. │ │ ├─base::withCallingHandlers(...) 7. │ │ └─base::withVisible(code) 8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 9. └─import::from(knitr, normal_print) 10. └─base::tryCatch(...) 11. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 12. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 13. └─value[[3L]](cond) to match regexp "Import tests completed successfully ...". Actual text: ✖ │ [1] "/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/import.Rcheck/tests/test_import" ✖ │ ── Error: Basic scenario works ───────────────────────────────────────────────── ✖ │ Error: there is no package called ‘knitr’ ✖ │ Backtrace: ✖ │ ▆ ✖ │ 1. ├─testthat::expect_silent(import::from(knitr, normal_print)) ✖ │ 2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise) ✖ │ 3. │ ├─testthat (local) .capture(...) ✖ │ 4. │ │ ├─withr::with_output_sink(...) ✖ │ 5. │ │ │ └─base::force(code) ✖ │ 6. │ │ ├─base::withCallingHandlers(...) ✖ │ 7. │ │ └─base::withVisible(code) ✖ │ 8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) ✖ │ 9. └─import::from(knitr, normal_print) ✖ │ 10. └─base::tryCatch(...) ✖ │ 11. └─base (local) tryCatchList(expr, classes, parentenv, handlers) ✖ │ 12. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) ✖ │ 13. └─value[[3L]](cond) ── Failure ('test_import.R:51:5'): test_from.R works ────────────────────────── Expected some element of [1] "/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/import.Rcheck/tests/test_import" ── Error: Imports from libraries work ────────────────────────────────────────── Error: there is no package called ‘knitr’ Backtrace: ▆ 1. ├─testthat::expect_silent(import::from(knitr, normal_print)) 2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise) 3. │ ├─testthat (local) .capture(...) 4. │ │ ├─withr::with_output_sink(...) 5. │ │ │ └─base::force(code) 6. │ │ ├─base::withCallingHandlers(...) 7. │ │ └─base::withVisible(code) 8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 9. └─import::from(knitr, normal_print) 10. └─base::tryCatch(...) 11. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 12. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 13. └─value[[3L]](cond) to match regexp "Import tests completed successfully ...". Actual text: ✖ │ [1] "/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/import.Rcheck/tests/test_import" ✖ │ ── Error: Imports from libraries work ────────────────────────────────────────── ✖ │ Error: there is no package called ‘knitr’ ✖ │ Backtrace: ✖ │ ▆ ✖ │ 1. ├─testthat::expect_silent(import::from(knitr, normal_print)) ✖ │ 2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise) ✖ │ 3. │ ├─testthat (local) .capture(...) ✖ │ 4. │ │ ├─withr::with_output_sink(...) ✖ │ 5. │ │ │ └─base::force(code) ✖ │ 6. │ │ ├─base::withCallingHandlers(...) ✖ │ 7. │ │ └─base::withVisible(code) ✖ │ 8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) ✖ │ 9. └─import::from(knitr, normal_print) ✖ │ 10. └─base::tryCatch(...) ✖ │ 11. └─base (local) tryCatchList(expr, classes, parentenv, handlers) ✖ │ 12. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) ✖ │ 13. └─value[[3L]](cond) ── Failure ('test_import.R:51:5'): test_hidden_objects.R works ──────────────── Expected some element of [1] "/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/import.Rcheck/tests/test_import" Test passed with 3 successes 🎊. Test passed with 3 successes 🥳. Test passed with 7 successes 🎊. Test passed with 3 successes 😸. Test passed with 8 successes 🎉. Test passed with 3 successes 🥳. ── Error: Import hidden (unexported) object ──────────────────────────────────── Error: there is no package called ‘rmarkdown’ Backtrace: ▆ 1. ├─testthat::expect_silent(import:::from(rmarkdown, .packageName)) 2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise) 3. │ ├─testthat (local) .capture(...) 4. │ │ ├─withr::with_output_sink(...) 5. │ │ │ └─base::force(code) 6. │ │ ├─base::withCallingHandlers(...) 7. │ │ └─base::withVisible(code) 8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 9. └─import:::from(rmarkdown, .packageName) 10. └─base::tryCatch(...) 11. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 12. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 13. └─value[[3L]](cond) to match regexp "Import tests completed successfully ...". Actual text: ✖ │ [1] "/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/import.Rcheck/tests/test_import" ✖ │ Test passed with 3 successes 🎊. ✖ │ Test passed with 3 successes 🥳. ✖ │ Test passed with 7 successes 🎊. ✖ │ Test passed with 3 successes 😸. ✖ │ Test passed with 8 successes 🎉. ✖ │ Test passed with 3 successes 🥳. ✖ │ ── Error: Import hidden (unexported) object ──────────────────────────────────── ✖ │ Error: there is no package called ‘rmarkdown’ ✖ │ Backtrace: ✖ │ ▆ ✖ │ 1. ├─testthat::expect_silent(import:::from(rmarkdown, .packageName)) ✖ │ 2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise) ✖ │ 3. │ ├─testthat (local) .capture(...) ✖ │ 4. │ │ ├─withr::with_output_sink(...) ✖ │ 5. │ │ │ └─base::force(code) ✖ │ 6. │ │ ├─base::withCallingHandlers(...) ✖ │ 7. │ │ └─base::withVisible(code) ✖ │ 8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) ✖ │ 9. └─import:::from(rmarkdown, .packageName) ... and 4 more. ── Failure ('test_import.R:51:5'): test_into_and_here.R works ───────────────── Expected some element of [1] "/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/import.Rcheck/tests/test_import" ── Error: Imports from libraries work with into() ────────────────────────────── Error: there is no package called ‘knitr’ Backtrace: ▆ 1. └─import::from(.into = "custom_env", normal_print, .from = knitr) 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. └─value[[3L]](cond) to match regexp "Import tests completed successfully ...". Actual text: ✖ │ [1] "/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/import.Rcheck/tests/test_import" ✖ │ ── Error: Imports from libraries work with into() ────────────────────────────── ✖ │ Error: there is no package called ‘knitr’ ✖ │ Backtrace: ✖ │ ▆ ✖ │ 1. └─import::from(.into = "custom_env", normal_print, .from = knitr) ✖ │ 2. └─base::tryCatch(...) ✖ │ 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) ✖ │ 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) ✖ │ 5. └─value[[3L]](cond) ── Failure ('test_import.R:51:5'): test_into_param.R works ──────────────────── Expected some element of [1] "/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/import.Rcheck/tests/test_import" ── Error: .into all combinations ─────────────────────────────────────────────── Error: there is no package called ‘knitr’ Backtrace: ▆ 1. ├─testthat (local) es(import::from(knitr, normal_print, .into = "a", .character_only = FALSE)) 2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise) 3. │ ├─testthat (local) .capture(...) 4. │ │ ├─withr::with_output_sink(...) 5. │ │ │ └─base::force(code) 6. │ │ ├─base::withCallingHandlers(...) 7. │ │ └─base::withVisible(code) 8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 9. └─import::from(knitr, normal_print, .into = "a", .character_only = FALSE) 10. └─base::tryCatch(...) 11. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 12. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 13. └─value[[3L]](cond) to match regexp "Import tests completed successfully ...". Actual text: ✖ │ [1] "/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/import.Rcheck/tests/test_import" ✖ │ ── Error: .into all combinations ─────────────────────────────────────────────── ✖ │ Error: there is no package called ‘knitr’ ✖ │ Backtrace: ✖ │ ▆ ✖ │ 1. ├─testthat (local) es(import::from(knitr, normal_print, .into = "a", .character_only = FALSE)) ✖ │ 2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise) ✖ │ 3. │ ├─testthat (local) .capture(...) ✖ │ 4. │ │ ├─withr::with_output_sink(...) ✖ │ 5. │ │ │ └─base::force(code) ✖ │ 6. │ │ ├─base::withCallingHandlers(...) ✖ │ 7. │ │ └─base::withVisible(code) ✖ │ 8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) ✖ │ 9. └─import::from(knitr, normal_print, .into = "a", .character_only = FALSE) ✖ │ 10. └─base::tryCatch(...) ✖ │ 11. └─base (local) tryCatchList(expr, classes, parentenv, handlers) ✖ │ 12. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) ✖ │ 13. └─value[[3L]](cond) ── Failure ('test_import.R:51:5'): test_module_recursive.R works ────────────── Expected some element of [1] "/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/import.Rcheck/tests/test_import" Test passed with 5 successes 😸. Test passed with 5 successes 🌈. ── Error: Recursive import::here() works with modules and packages ───────────── Error: Failed to import module_recursive_package_here.R due to the following error: there is no package called ‘knitr’ Backtrace: ▆ 1. ├─testthat::expect_silent(...) 2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise) 3. │ ├─testthat (local) .capture(...) 4. │ │ ├─withr::with_output_sink(...) 5. │ │ │ └─base::force(code) 6. │ │ ├─base::withCallingHandlers(...) 7. │ │ └─base::withVisible(code) 8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 9. └─import::from(module_recursive_package_here.R, print_title_text) 10. └─base::tryCatch(...) 11. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 12. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 13. └─value[[3L]](cond) to match regexp "Import tests completed successfully ...". Actual text: ✖ │ [1] "/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/import.Rcheck/tests/test_import" ✖ │ Test passed with 5 successes 😸. ✖ │ Test passed with 5 successes 🌈. ✖ │ ── Error: Recursive import::here() works with modules and packages ───────────── ✖ │ Error: Failed to import module_recursive_package_here.R due to the following error: ✖ │ there is no package called ‘knitr’ ✖ │ Backtrace: ✖ │ ▆ ✖ │ 1. ├─testthat::expect_silent(...) ✖ │ 2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise) ✖ │ 3. │ ├─testthat (local) .capture(...) ✖ │ 4. │ │ ├─withr::with_output_sink(...) ✖ │ 5. │ │ │ └─base::force(code) ✖ │ 6. │ │ ├─base::withCallingHandlers(...) ✖ │ 7. │ │ └─base::withVisible(code) ✖ │ 8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) ✖ │ 9. └─import::from(module_recursive_package_here.R, print_title_text) ✖ │ 10. └─base::tryCatch(...) ✖ │ 11. └─base (local) tryCatchList(expr, classes, parentenv, handlers) ✖ │ 12. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) ... and 1 more. ── Failure ('test_import.R:51:5'): test_what.R works ────────────────────────── Expected some element of [1] "/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/import.Rcheck/tests/test_import" ── Error: Listing imports from libraries works ───────────────────────────────── Error: there is no package called ‘knitr’ Backtrace: ▆ 1. ├─testthat::expect_contains(import::what(knitr), "normal_print") 2. │ └─testthat::quasi_label(enquo(object)) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─import::what(knitr) 5. └─base::eval(cl, envir = list2env(list(tmp_env = tmp_env), parent = parent.frame())) 6. └─base::eval(cl, envir = list2env(list(tmp_env = tmp_env), parent = parent.frame())) 7. └─import::from(.from = knitr, .all = TRUE, .into = tmp_env) 8. └─base::tryCatch(...) 9. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 10. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 11. └─value[[3L]](cond) to match regexp "Import tests completed successfully ...". Actual text: ✖ │ [1] "/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/import.Rcheck/tests/test_import" ✖ │ ── Error: Listing imports from libraries works ───────────────────────────────── ✖ │ Error: there is no package called ‘knitr’ ✖ │ Backtrace: ✖ │ ▆ ✖ │ 1. ├─testthat::expect_contains(import::what(knitr), "normal_print") ✖ │ 2. │ └─testthat::quasi_label(enquo(object)) ✖ │ 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) ✖ │ 4. └─import::what(knitr) ✖ │ 5. └─base::eval(cl, envir = list2env(list(tmp_env = tmp_env), parent = parent.frame())) ✖ │ 6. └─base::eval(cl, envir = list2env(list(tmp_env = tmp_env), parent = parent.frame())) ✖ │ 7. └─import::from(.from = knitr, .all = TRUE, .into = tmp_env) ✖ │ 8. └─base::tryCatch(...) ✖ │ 9. └─base (local) tryCatchList(expr, classes, parentenv, handlers) ✖ │ 10. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) ✖ │ 11. └─value[[3L]](cond) [ FAIL 7 | WARN 7 | SKIP 0 | PASS 3 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.3.4
Check: package vignettes
Result: NOTE Package has ‘vignettes’ subdirectory but apparently no vignettes. Perhaps the ‘VignetteBuilder’ information is missing from the DESCRIPTION file? Flavor: r-devel-linux-x86_64-debian-gcc