CRAN Package Check Results for Package containr

Last updated on 2025-09-26 02:49:33 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-gcc 0.1.1 1.42 20.60 22.02 OK
r-devel-linux-x86_64-fedora-clang 0.1.1 39.74 OK
r-devel-linux-x86_64-fedora-gcc 0.1.1 38.12 OK
r-devel-windows-x86_64 0.1.1 5.00 57.00 62.00 ERROR
r-release-macos-arm64 0.1.1 27.00 OK
r-release-macos-x86_64 0.1.1 48.00 OK
r-oldrel-macos-arm64 0.1.1 31.00 OK
r-oldrel-macos-x86_64 0.1.1 41.00 OK

Check Details

Version: 0.1.1
Check: examples
Result: ERROR Running examples in 'containr-Ex.R' failed The error most likely occurred in: > ### Name: generate_dockerfile > ### Title: Generate a reproducible Dockerfile for R projects > ### Aliases: generate_dockerfile > > ### ** Examples > > # Basic Usage > > # Specify an image with R 4.2.0 installed > > generate_dockerfile(r_version = "4.3.0") Error in get_r_ver_tags(r_mode = r_mode, verbose = verbose) : httr::status_code(res) == 200 is not TRUE Calls: generate_dockerfile -> r_ver_exists -> get_r_ver_tags -> stopifnot Execution halted Flavor: r-devel-windows-x86_64

Version: 0.1.1
Check: tests
Result: ERROR Running 'testthat.R' [2s] Running the tests in 'tests/testthat.R' failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(containr) > > test_check("containr") [ FAIL 4 | WARN 0 | SKIP 0 | PASS 20 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-generate-dockerfile-file-args.R:7:5'): NULL file args are accepted (public API) ── `generate_dockerfile(...)` threw an unexpected error. Message: httr::status_code(res) == 200 is not TRUE Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-generate-dockerfile-file-args.R:7:5 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─containr::generate_dockerfile(...) 8. └─containr:::r_ver_exists(resolved_version) 9. └─containr:::get_r_ver_tags(r_mode = r_mode, verbose = verbose) 10. └─base::stopifnot(httr::status_code(res) == 200) ── Failure ('test-generate-dockerfile-file-args.R:26:5'): Existing files are accepted and Dockerfile is written ── `generate_dockerfile(...)` threw an unexpected error. Message: httr::status_code(res) == 200 is not TRUE Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-generate-dockerfile-file-args.R:26:5 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─containr::generate_dockerfile(...) 8. └─containr:::r_ver_exists(resolved_version) 9. └─containr:::get_r_ver_tags(r_mode = r_mode, verbose = verbose) 10. └─base::stopifnot(httr::status_code(res) == 200) ── Failure ('test-generate-dockerfile-file-args.R:44:5'): Dockerfile is written to specified output directory ── `generate_dockerfile(...)` threw an unexpected error. Message: httr::status_code(res) == 200 is not TRUE Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-generate-dockerfile-file-args.R:44:5 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─containr::generate_dockerfile(...) 8. └─containr:::r_ver_exists(resolved_version) 9. └─containr:::get_r_ver_tags(r_mode = r_mode, verbose = verbose) 10. └─base::stopifnot(httr::status_code(res) == 200) ── Failure ('test-generate-dockerfile-file-args.R:55:5'): Dockerfile is written to specified output directory ── file.exists(dockerfile_path) is not TRUE `actual`: FALSE `expected`: TRUE [ FAIL 4 | WARN 0 | SKIP 0 | PASS 20 ] Error: Test failures Execution halted Flavor: r-devel-windows-x86_64