CRAN Package Check Results for Package openscoring

Last updated on 2025-03-13 11:53:15 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.4 2.60 25.49 28.09 NOTE
r-devel-linux-x86_64-debian-gcc 1.0.4 1.88 20.53 22.41 NOTE
r-devel-linux-x86_64-fedora-clang 1.0.4 43.72 NOTE
r-devel-linux-x86_64-fedora-gcc 1.0.4 43.07 NOTE
r-devel-macos-arm64 1.0.4 25.00 OK
r-devel-macos-x86_64 1.0.4 42.00 NOTE
r-devel-windows-x86_64 1.0.4 4.00 89.00 93.00 ERROR
r-patched-linux-x86_64 1.0.4 OK
r-release-linux-x86_64 1.0.4 2.22 24.07 26.29 OK
r-release-macos-arm64 1.0.4 26.00 OK
r-release-macos-x86_64 1.0.4 47.00 OK
r-release-windows-x86_64 1.0.4 5.00 55.00 60.00 OK
r-oldrel-macos-arm64 1.0.4 OK
r-oldrel-macos-x86_64 1.0.4 55.00 OK
r-oldrel-windows-x86_64 1.0.4 4.00 56.00 60.00 OK

Check Details

Version: 1.0.4
Check: DESCRIPTION meta-information
Result: NOTE Missing dependency on R >= 4.1.0 because package code uses the pipe |> or function shorthand \(...) syntax added in R 4.1.0. File(s) using such syntax: ‘oscai.R’ Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-macos-x86_64, r-devel-windows-x86_64

Version: 1.0.4
Check: examples
Result: ERROR Running examples in 'openscoring-Ex.R' failed The error most likely occurred in: > ### Name: oscai > ### Title: Score with an AI A basic function to score the creativity with > ### an AI. See the OpenScoring site for more information. Requires an > ### internet connection. > ### Aliases: oscai > > ### ** Examples > > df <- data.frame( + stimulus = c("brick", "hammer", "sponge"), + response = c("butter for trolls", "make Thor jealous", "make it play in a kids show") + ) > > df <- oscai(df, stimulus, response, model = "davinci3") Error in `purrr::map()`: ℹ In index: 1. ℹ With name: 1. Caused by error in `curl::curl_fetch_memory()`: ! Timeout was reached [openscoring.du.edu]: SSL/TLS connection timeout Backtrace: ▆ 1. ├─openscoring::oscai(df, stimulus, response, model = "davinci3") 2. │ ├─dplyr::bind_rows(...) 3. │ │ └─rlang::list2(...) 4. │ └─purrr::map(...) 5. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress) 6. │ ├─purrr:::with_indexed_errors(...) 7. │ │ └─base::withCallingHandlers(...) 8. │ ├─purrr:::call_with_cleanup(...) 9. │ └─openscoring (local) .f(.x[[i]], ...) 10. │ └─httr::POST(...) 11. │ └─httr:::request_perform(req, hu$handle$handle) 12. │ ├─httr:::request_fetch(req$output, req$url, handle) 13. │ └─httr:::request_fetch.write_memory(req$output, req$url, handle) 14. │ └─curl::curl_fetch_memory(url, handle = handle) 15. ├─curl:::raise_libcurl_error(...) 16. │ └─base::stop(e) 17. └─purrr (local) `<fn>`(`<crl_rr__>`) 18. └─cli::cli_abort(...) 19. └─rlang::abort(...) Execution halted Flavor: r-devel-windows-x86_64

Version: 1.0.4
Check: tests
Result: ERROR Running 'testthat.R' [35s] 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(openscoring) > > test_check("openscoring") [ FAIL 3 | WARN 0 | SKIP 0 | PASS 1 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-oscai.R:7:3'): API responses ───────────────────────────────── Expected `oscai(df, stimulus, response)` to run without any errors. i Actually got a <purrr_error_indexed> with text: i In index: 1. i With name: 1. Caused by error in `curl::curl_fetch_memory()`: ! Timeout was reached [openscoring.du.edu]: SSL/TLS connection timeout ── Failure ('test-oscai.R:11:3'): chatgpt model works ────────────────────────── Expected `oscai(df, stimulus, response, model = "chatgpt")` to run without any errors. i Actually got a <purrr_error_indexed> with text: i In index: 1. i With name: 1. Caused by error in `curl::curl_fetch_memory()`: ! Timeout was reached [openscoring.du.edu]: SSL/TLS connection timeout ── Failure ('test-oscai.R:15:3'): babbage2 model works ───────────────────────── Expected `oscai(df, stimulus, response, model = "babbage2")` to run without any errors. i Actually got a <purrr_error_indexed> with text: i In index: 1. i With name: 1. Caused by error in `curl::curl_fetch_memory()`: ! Timeout was reached [openscoring.du.edu]: SSL/TLS connection timeout [ FAIL 3 | WARN 0 | SKIP 0 | PASS 1 ] Error: Test failures Execution halted Flavor: r-devel-windows-x86_64