Package Details: r-openssl 2.3.2-2

Git Clone URL: https://aur.archlinux.org/r-openssl.git (read-only, click to copy)
Package Base: r-openssl
Description: Toolkit for Encryption, Signatures and Certificates Based on OpenSSL
Upstream URL: https://cran.r-project.org/package=openssl
Licenses: MIT
Submitter: Kibouo
Maintainer: pekkarr (BioArchLinuxBot)
Last Packager: BioArchLinuxBot
Votes: 3
Popularity: 0.120680
First Submitted: 2019-05-02 15:40 (UTC)
Last Updated: 2025-04-13 15:35 (UTC)

Latest Comments

landaro commented on 2025-04-04 15:27 (UTC) (edited on 2025-04-04 15:28 (UTC) by landaro)

I am currently unable to perform this update: 2.3.1-1 -> 2.3.2-1. The package seems to build fine, but then some test does not work, and I am really struggling to figure out what the problem is. this is the output of the problematic CHECK phase of the build:

* DONE (openssl)
==> Starting check()...
[ FAIL 1 | WARN 0 | SKIP 1 | PASS 562 ]

══ Skipped tests (1) ═════════════════════════════════════════════════════════════════════════════════════════════════════════
• no longer available (1): test_google.R:7:3

══ Failed tests ══════════════════════════════════════════════════════════════════════════════════════════════════════════════
── Failure (test_ssl_ctx.R:28:3): ssl-ctx integration works ────────────────────
`curl::curl_fetch_memory("https://cran.r-project.org", handle = h2)` did not throw an error.

[ FAIL 1 | WARN 0 | SKIP 1 | PASS 562 ]
Error: Test failures
Execution halted
==> ERROR: A failure occurred in check().
    Aborting...
 -> error making: r-openssl-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
r-openssl - exit status 4

pekkarr commented on 2023-03-23 17:43 (UTC)

Having check in r-testthat wouldn't work after all, since r-mockery depends on r-testthat and the tests fail without r-mockery.

pekkarr commented on 2023-03-23 17:32 (UTC) (edited on 2023-03-23 17:38 (UTC) by pekkarr)

There are also dependency cycles with these packages: r-cli, r-crayon, r-desc, r-lazyeval, r-magrittr, r-pillar, r-pkgload, r-praise, r-r6, r-rematch2, r-rlang, r-rprojroot, r-waldo, r-withr. I left a comment on each package explaining the cycle.

Besides r-lazyeval, these are all direct or indirect dependencies of r-testthat, so removing the tests is the best option. r-lazyeval on the other hand is fine if the checkdepends array is cleaned to contain only the packages needed for tests, which I explained in a comment on that package.

I also found out that it's possible to enable check by default on r-testthat by setting checkdepends to contain only r-curl, r-mockery, r-vctrs and r-xml2. During check the just built r-testthat is used to run the tests on itself, so it's not needed in checkdepends.

EDIT: r-testthat wouldn't work after all, since r-mockery depends on r-testthat.

pekkarr commented on 2023-03-21 16:54 (UTC)

Thank you for fixing it. There were similar problems with at least r-testthat (which checkdepends on itself) and r-vctrs (with cycle r-vctrs -> r-testthat -> r-waldo -> r-tibble -> r-vctrs), but for these it's not possible to keep the tests while also removing the cycles, since it's not possible to run the checks without r-testthat. For them it would be better to just remove the check.

peippo commented on 2023-03-21 16:42 (UTC)

Good catch, @pekkarr, thanks!

pekkarr commented on 2023-03-21 13:03 (UTC)

There is now a semi-cyclical dependency with r-jose, since r-openssl checkdepends on r-jose, while r-jose itself depends on r-openssl. While technically this might not be a bug, it can make it hard to install these packages with AUR helpers, as those might not be able to handle semi-cyclical dependencies.

However, I found that the tests work even when r-jose is removed from checkdepends. Doing that would remove the dependency cycle. Also r-knitr and r-rmarkdown are useless for the tests.

dviktor commented on 2021-12-22 20:30 (UTC)

Further maintenance and support for this package has been moved there. You can install pre-built packages from my repo

japhir commented on 2020-03-09 15:59 (UTC)

please update version to 1.4.1 and updpkgsums :)