* using log directory 'd:/RCompile/CRANincoming/R-devel/rcdf.Rcheck' * using R Under development (unstable) (2025-08-18 r88641 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.2.0 GNU Fortran (GCC) 14.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'rcdf/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'rcdf' version '0.1.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... NOTE Maintainer: 'Bhas Abdulsamad ' New submission Possibly misspelled words in DESCRIPTION: AES (6:299) RCDF (3:49, 6:81) RSA (6:307) The Title field should be in title case. Current version is: 'A comprehensive toolkit for working with RCDF (Encrypted Parquet) files in R' In title case that is: 'A Comprehensive Toolkit for Working with RCDF (Encrypted Parquet) Files in R' The Description field should not start with the package name, 'This package' or similar. * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking serialization versions ... OK * checking whether package 'rcdf' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... 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: 'read_rcdf.R' 'utils.R' 'write_rcdf.R' * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking whether startup messages can be suppressed ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... 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(dplyr) Attaching package: 'dplyr' The following object is masked from 'package:testthat': matches The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union > library(rcdf) > > test_check("rcdf") [1] "DB_HOST=localhost" "DB_USER=root" "DB_PASS=\"secret\"" [1] "DB_HOST=localhost" "DB_USER=root" character(0) [1] "DB_HOST=localhost" "DB_USER=root" i Writing csv i Writing json [ FAIL 1 | WARN 0 | SKIP 0 | PASS 59 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-read_rcdf.R:81:3'): read_rcdf throws error if decryption key is invalid ── Error in `aes_any(data, key, iv, FALSE, mode)`: OpenSSL error: EC5C0100:error:1C800064:Provider routines:ossl_cipher_unpadblock:bad decrypt:providers/implementations/ciphers/ciphercommon_block.c:107: Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-read_rcdf.R:81:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─rcdf::read_rcdf(path = mock_rcdf, decryption_key = "invalid_key") 8. └─rcdf:::decrypt_key(data = meta, key = decryption_key, password = password) 9. └─rcdf:::decrypt_info_aes(data$key_app, key = list(aes_key = key)) 10. └─openssl::aes_cbc_decrypt(...) 11. └─openssl:::aes_decrypt(data, key, iv, "cbc") 12. └─openssl:::aes_any(data, key, iv, FALSE, mode) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 59 ] Error: Test failures In addition: Warning message: call dbDisconnect() when finished working with a connection Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... OK * checking PDF version of manual ... [21s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR, 2 NOTEs