CRAN Package Check Results for Maintainer ‘Erwin Lares <erwin.lares at wisc.edu>’

Last updated on 2025-12-25 19:50:47 CET.

Package ERROR OK
containr 1 12

Package containr

Current CRAN status: ERROR: 1, OK: 12

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-release-windows-x86_64

Version: 0.1.1
Check: tests
Result: ERROR Running 'testthat.R' [92s] 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") Saving _problems/test-generate-dockerfile-file-args-53.R Saving _problems/test-generate-dockerfile-file-args-55.R [ 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) ── Expected `generate_dockerfile(...)` not to throw any errors. Actually got a <simpleError> with message: httr::status_code(res) == 200 is not TRUE 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 ── Expected `generate_dockerfile(...)` not to throw any errors. Actually got a <simpleError> with message: httr::status_code(res) == 200 is not TRUE 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 ── Expected `generate_dockerfile(...)` not to throw any errors. Actually got a <simpleError> with message: httr::status_code(res) == 200 is not TRUE 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 ── Expected `file.exists(dockerfile_path)` to be TRUE. Differences: `actual`: FALSE `expected`: TRUE [ FAIL 4 | WARN 0 | SKIP 0 | PASS 20 ] Error: ! Test failures. Execution halted Flavor: r-release-windows-x86_64