Last updated on 2024-08-31 17:49:19 CEST.
Package | ERROR | NOTE | OK |
---|---|---|---|
FormShare | 1 | 2 | 10 |
Current CRAN status: ERROR: 1, NOTE: 2, OK: 10
Version: 1.0.1
Check: dependencies in R code
Result: NOTE
Namespaces in Imports field not imported from:
‘R6’ ‘httr’ ‘jsonlite’
All declared Imports should be used.
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’ [1s/12s]
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(FormShare)
>
> test_check("FormShare")
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('testclass.R:7:1'): (code run outside of `test_that()`) ──────────────
Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [formshare.org] Failed to connect to formshare.org port 443 after 10000 ms: Timeout was reached
Backtrace:
▆
1. └─my_connection$login() at testclass.R:7:1
2. └─httr::POST(self$token_url, body = body, encode = "form")
3. └─httr:::request_perform(req, hu$handle$handle)
4. ├─httr:::request_fetch(req$output, req$url, handle)
5. └─httr:::request_fetch.write_memory(req$output, req$url, handle)
6. └─curl::curl_fetch_memory(url, handle = handle)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
Error: Test failures
Execution halted
Flavor: r-patched-linux-x86_64