CRAN Package Check Results for Package sship

Last updated on 2021-10-17 13:50:58 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.7.1 2.07 24.60 26.67 OK
r-devel-linux-x86_64-debian-gcc 0.7.1 1.63 19.97 21.60 OK
r-devel-linux-x86_64-fedora-clang 0.7.1 42.66 OK
r-devel-linux-x86_64-fedora-gcc 0.7.1 32.29 OK
r-devel-windows-x86_64 0.7.1 5.00 36.00 41.00 OK
r-devel-windows-x86_64-gcc10-UCRT 0.7.1 OK
r-patched-linux-x86_64 0.7.1 2.10 24.35 26.45 OK
r-patched-solaris-x86 0.7.1 59.60 OK
r-release-linux-x86_64 0.7.1 2.30 24.40 26.70 OK
r-release-macos-arm64 0.7.1 OK
r-release-macos-x86_64 0.7.1 OK
r-release-windows-ix86+x86_64 0.7.1 4.00 42.00 46.00 OK
r-oldrel-macos-x86_64 0.7.1 ERROR
r-oldrel-windows-ix86+x86_64 0.7.1 5.00 45.00 50.00 OK

Check Details

Version: 0.7.1
Check: examples
Result: ERROR
    Running examples in ‘sship-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: dec
    > ### Title: Unpack shipment and decrypt content
    > ### Aliases: dec
    >
    > ### ** Examples
    >
    > # Make temporary workspace
    > wd <- tempdir()
    >
    > # Make a private-public key pair named "id_rsa" and "id_rsa.pub"
    > sship_keygen(directory = wd)
    Key pair written to /Volumes/Temp/tmp/RtmpYv2sPU
    >
    > # Make a secured (encrypted) file
    > saveRDS(iris, file = file.path(wd, "secret.rds"), ascii = TRUE)
    > pubkey <- readLines(file.path(wd, "id_rsa.pub"))
    > secure_secret_file <-
    + enc(filename = file.path(wd, "secret.rds"),
    + pubkey_holder = NULL,
    + pubkey = pubkey)
    Content encrypted and ready for shipment: /Volumes/Temp/tmp/RtmpYv2sPU/secret.rds__20211016_071841.tar.gz
    >
    > # Decrypt secured file using the private key
    > secret_file <-
    + dec(tarfile = secure_secret_file,
    + keyfile = file.path(wd, "id_rsa"),
    + target_dir = wd)
    Warning in file(con, "rb") :
     cannot open file 'iv': No such file or directory
    Error in file(con, "rb") : cannot open the connection
    Calls: dec -> readBin -> file
    Execution halted
Flavor: r-oldrel-macos-x86_64

Version: 0.7.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [2s/2s]
    Running the tests in ‘tests/testthat.R’ failed.
    Last 13 lines of output:
     file.exists("content.csv") is not TRUE
    
     `actual`: FALSE
     `expected`: TRUE
     ── Error (test-dec.R:36:3): data is identical before (encryption) and after decryption ──
     Error in `file(file, "rt")`: cannot open the connection
     Backtrace:
     █
     1. └─utils::read.csv("content.csv") test-dec.R:36:2
     2. └─utils::read.table(...)
     3. └─base::file(file, "rt")
    
     [ FAIL 3 | WARN 3 | SKIP 0 | PASS 22 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-macos-x86_64