CRAN Package Check Results for Package openscoring

Last updated on 2024-05-01 03:53:44 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.1 3.46 30.85 34.31 ERROR
r-devel-linux-x86_64-debian-gcc 1.0.1 2.52 23.95 26.47 ERROR
r-devel-linux-x86_64-fedora-clang 1.0.1 42.19 ERROR
r-devel-linux-x86_64-fedora-gcc 1.0.1 41.63 ERROR
r-devel-windows-x86_64 1.0.1 4.00 49.00 53.00 OK
r-patched-linux-x86_64 1.0.1 3.33 28.99 32.32 ERROR
r-release-linux-x86_64 1.0.1 2.75 29.92 32.67 ERROR
r-release-macos-arm64 1.0.1 23.00 OK
r-release-windows-x86_64 1.0.1 4.00 49.00 53.00 OK
r-oldrel-macos-arm64 1.0.1 27.00 OK
r-oldrel-macos-x86_64 1.0.1 46.00 OK
r-oldrel-windows-x86_64 1.0.1 5.00 49.00 54.00 OK

Check Details

Version: 1.0.1
Check: examples
Result: ERROR Running examples in ‘openscoring-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### 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 = "davinci2") Error in curl::curl_fetch_memory(url, handle = handle) : SSL peer certificate or SSH remote key was not OK: [openscoring.du.edu] server certificate verification failed. CAfile: none CRLfile: none Calls: oscai ... request_fetch -> request_fetch.write_memory -> <Anonymous> Execution halted Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 1.0.1
Check: tests
Result: ERROR Running ‘testthat.R’ [2s/5s] 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 4 | WARN 0 | SKIP 0 | PASS 4 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-oscai.R:7:3'): API responses ───────────────────────────────── Expected `oscai(df, stimulus, response)` to run without any errors. i Actually got a <simpleError> with text: SSL peer certificate or SSH remote key was not OK: [openscoring.du.edu] server certificate verification failed. CAfile: none CRLfile: none ── 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 <simpleError> with text: SSL peer certificate or SSH remote key was not OK: [openscoring.du.edu] server certificate verification failed. CAfile: none CRLfile: none ── 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 <simpleError> with text: SSL peer certificate or SSH remote key was not OK: [openscoring.du.edu] server certificate verification failed. CAfile: none CRLfile: none ── Failure ('test-oscai.R:19:3'): davinci2 model works ───────────────────────── Expected `oscai(df, stimulus, response, model = "davinci2")` to run without any errors. i Actually got a <simpleError> with text: SSL peer certificate or SSH remote key was not OK: [openscoring.du.edu] server certificate verification failed. CAfile: none CRLfile: none [ FAIL 4 | WARN 0 | SKIP 0 | PASS 4 ] Error: Test failures Execution halted Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 1.0.1
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 = "davinci2") Error in curl::curl_fetch_memory(url, handle = handle) : SSL peer certificate or SSH remote key was not OK: [openscoring.du.edu] SSL certificate problem: unable to get local issuer certificate Calls: oscai ... request_fetch -> request_fetch.write_memory -> <Anonymous> Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 1.0.1
Check: tests
Result: ERROR Running ‘testthat.R’ 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 4 | WARN 0 | SKIP 0 | PASS 4 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-oscai.R:7:3'): API responses ───────────────────────────────── Expected `oscai(df, stimulus, response)` to run without any errors. i Actually got a <simpleError> with text: SSL peer certificate or SSH remote key was not OK: [openscoring.du.edu] SSL certificate problem: unable to get local issuer certificate ── 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 <simpleError> with text: SSL peer certificate or SSH remote key was not OK: [openscoring.du.edu] SSL certificate problem: unable to get local issuer certificate ── 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 <simpleError> with text: SSL peer certificate or SSH remote key was not OK: [openscoring.du.edu] SSL certificate problem: unable to get local issuer certificate ── Failure ('test-oscai.R:19:3'): davinci2 model works ───────────────────────── Expected `oscai(df, stimulus, response, model = "davinci2")` to run without any errors. i Actually got a <simpleError> with text: SSL peer certificate or SSH remote key was not OK: [openscoring.du.edu] SSL certificate problem: unable to get local issuer certificate [ FAIL 4 | WARN 0 | SKIP 0 | PASS 4 ] Error: Test failures Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc