CRAN Package Check Results for Package ctxR

Last updated on 2025-12-07 07:49:39 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.1.3 9.86 107.39 117.25 OK
r-devel-linux-x86_64-debian-gcc 1.1.3 6.29 50.54 56.83 ERROR
r-devel-linux-x86_64-fedora-clang 1.1.3 20.00 154.90 174.90 OK
r-devel-linux-x86_64-fedora-gcc 1.1.3 20.00 151.66 171.66 OK
r-devel-windows-x86_64 1.1.3 14.00 175.00 189.00 OK
r-patched-linux-x86_64 1.1.3 10.65 93.41 104.06 OK
r-release-linux-x86_64 1.1.3 9.63 95.02 104.65 OK
r-release-macos-arm64 1.1.3 OK
r-release-macos-x86_64 1.1.3 13.00 167.00 180.00 OK
r-release-windows-x86_64 1.1.3 16.00 171.00 187.00 OK
r-oldrel-macos-arm64 1.1.3 OK
r-oldrel-macos-x86_64 1.1.3 8.00 163.00 171.00 OK
r-oldrel-windows-x86_64 1.1.3 19.00 201.00 220.00 OK

Check Details

Version: 1.1.3
Check: package dependencies
Result: WARN Cannot process vignettes Packages suggested but not available for checking: 'countcolors', 'devtools', 'DT', 'htmlTable', 'kableExtra', 'knitr', 'prettydoc', 'rmarkdown', 'rmdformats' VignetteBuilder package required for checking but not installed: ‘knitr’ Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.1.3
Check: tests
Result: ERROR Running ‘testthat.R’ [7s/40s] 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/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(ctxR) ℹ CCTE's Terms of Service: <https://www.epa.gov/comptox-tools/computational-toxicology-and-exposure-apis> ℹ Please cite ctxR if you use it! Use `citation('ctxR')` for details. No config file or environment variable found: API access unlikely. > > test_check("ctxR") Using request.R from "ctxR" [1] "Found 0 results. Try adjusting the search parameters." [1] "Found 0 results. Try adjusting the search parameters." [1] "Found 0 results. Try adjusting the search parameters." [1] "Found 0 results. Try adjusting the search parameters." Saving _problems/test-chemical-APIs-batch-133.R DTXCID30182 Please input a correct value for `Projection`! [1] "Found 0 results. Try adjusting the search parameters." [1] "Found 0 results. Try adjusting the search parameters." Saving _problems/test-chemical-APIs-batch-296.R [1] "Found 0 results. Try adjusting the search parameters." [1] "Found 0 results. Try adjusting the search parameters." Saving _problems/test-chemical-APIs-188.R [ FAIL 3 | WARN 0 | SKIP 0 | PASS 504 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-chemical-APIs-batch.R:133:3'): Rate limit warnings ───────────── Error in `get_chemical_image_batch(DTXSID = c("DTXSID7020182"), API_key = ctx_key(), rate_limit = "0")`: Please install png package Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test-chemical-APIs-batch.R:133:3 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. └─ctxR::get_chemical_image_batch(...) ── Error ('test-chemical-APIs-batch.R:296:3'): Return data types ─────────────── Error in `get_chemical_image_batch(DTXSID = c("DTXSID7020182"), API_key = ctx_key())`: Please install png package Backtrace: ▆ 1. ├─testthat::expect_type(...) at test-chemical-APIs-batch.R:296:3 2. │ └─testthat::quasi_label(enquo(object)) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─ctxR::get_chemical_image_batch(DTXSID = c("DTXSID7020182"), API_key = ctx_key()) ── Error ('test-chemical-APIs.R:188:3'): Return data type ────────────────────── Error: Please install png package Backtrace: ▆ 1. ├─testthat::expect_type(...) at test-chemical-APIs.R:188:3 2. │ └─testthat::quasi_label(enquo(object)) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─ctxR::get_chemical_image(DTXSID = "DTXSID7020182", API_key = ctx_key()) 5. └─httr::content(response, encoding = "UTF-8") 6. └─httr:::parse_auto(raw, type, encoding, ...) 7. └─httr (local) parser(x = content, type = type, encoding = encoding, ...) 8. └─httr:::need_package("png") [ FAIL 3 | WARN 0 | SKIP 0 | PASS 504 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.1.3
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