CRAN Package Check Results for Maintainer ‘Daniel Rakotomalala <rakdanielh at gmail.com>’

Last updated on 2026-04-26 02:49:51 CEST.

Package ERROR OK
scrutr 3 8

Package scrutr

Current CRAN status: ERROR: 3, OK: 8

Additional issues

rlibro

Version: 0.3.0
Check: examples
Result: ERROR Running examples in ‘scrutr-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: detect_chars_structure_datasets > ### Title: Detect character structure from datasets > ### Aliases: detect_chars_structure_datasets > > ### ** Examples > > mydir <- system.file("detect_chars_structure_datasets", package = "scrutr") > > detect <- detect_chars_structure_datasets( + datasets_folderpath = mydir, + considered_extensions = "xlsx", + patterns = "(?i)college", + output_filepath = file.path(mydir, "detect_college.rds"), + get_output_in_session = TRUE) Warning in gzfile(file, mode) : cannot open compressed file '/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/scrutr/detect_chars_structure_datasets/detect_college.rds', probable reason 'Read-only file system' Error in gzfile(file, mode) : cannot open the connection Calls: detect_chars_structure_datasets -> saveRDS -> gzfile Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.3.0
Check: tests
Result: ERROR Running ‘spelling.R’ [0s/0s] Running ‘testthat.R’ [7s/9s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(scrutr) > > test_check("scrutr") Attaching package: 'magrittr' The following objects are masked from 'package:testthat': equals, is_less_than, not Converting: original_cars.rds Done: original_cars.csv Converting: original_mtcars.csv Done: original_mtcars.csv Converting: original_cars.rds Done: converted_cars.csv Converting: original_mtcars.csv Done: converted_mtcars.rds Converting: original_cars.rds Done: converted_cars.csv Saving _problems/test-detect_chars_structure_datasets-12.R path_vector number_of_levels 1 a/b/c 3 2 d/e 2 Renamed: cars.rds -> cars_renamed.rds Renamed: mtcars.rds -> mtcars_renamed.rds [ FAIL 1 | WARN 1 | SKIP 0 | PASS 189 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-detect_chars_structure_datasets.R:7:3'): Valid outputs are consistent ── Error in `gzfile(file, mode)`: cannot open the connection Backtrace: ▆ 1. └─scrutr::detect_chars_structure_datasets(...) at test-detect_chars_structure_datasets.R:7:3 2. └─base::saveRDS(det_structure_list2, file = output_filepath) 3. └─base::gzfile(file, mode) [ FAIL 1 | WARN 1 | SKIP 0 | PASS 189 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.3.0
Check: examples
Result: ERROR Running examples in ‘scrutr-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: detect_chars_structure_datasets > ### Title: Detect character structure from datasets > ### Aliases: detect_chars_structure_datasets > > ### ** Examples > > mydir <- system.file("detect_chars_structure_datasets", package = "scrutr") > > detect <- detect_chars_structure_datasets( + datasets_folderpath = mydir, + considered_extensions = "xlsx", + patterns = "(?i)college", + output_filepath = file.path(mydir, "detect_college.rds"), + get_output_in_session = TRUE) Warning in gzfile(file, mode) : cannot open compressed file '/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/scrutr/detect_chars_structure_datasets/detect_college.rds', probable reason 'Read-only file system' Error in gzfile(file, mode) : cannot open the connection Calls: detect_chars_structure_datasets -> saveRDS -> gzfile Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.3.0
Check: tests
Result: ERROR Running ‘spelling.R’ [0s/0s] Running ‘testthat.R’ [6s/7s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(scrutr) > > test_check("scrutr") Attaching package: 'magrittr' The following objects are masked from 'package:testthat': equals, is_less_than, not Converting: original_cars.rds Done: original_cars.csv Converting: original_mtcars.csv Done: original_mtcars.csv Converting: original_cars.rds Done: converted_cars.csv Converting: original_mtcars.csv Done: converted_mtcars.rds Converting: original_cars.rds Done: converted_cars.csv Saving _problems/test-detect_chars_structure_datasets-12.R path_vector number_of_levels 1 a/b/c 3 2 d/e 2 Renamed: cars.rds -> cars_renamed.rds Renamed: mtcars.rds -> mtcars_renamed.rds [ FAIL 1 | WARN 1 | SKIP 0 | PASS 189 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-detect_chars_structure_datasets.R:7:3'): Valid outputs are consistent ── Error in `gzfile(file, mode)`: cannot open the connection Backtrace: ▆ 1. └─scrutr::detect_chars_structure_datasets(...) at test-detect_chars_structure_datasets.R:7:3 2. └─base::saveRDS(det_structure_list2, file = output_filepath) 3. └─base::gzfile(file, mode) [ FAIL 1 | WARN 1 | SKIP 0 | PASS 189 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.3.0
Check: examples
Result: ERROR Running examples in ‘scrutr-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: detect_chars_structure_datasets > ### Title: Detect character structure from datasets > ### Aliases: detect_chars_structure_datasets > > ### ** Examples > > mydir <- system.file("detect_chars_structure_datasets", package = "scrutr") > > detect <- detect_chars_structure_datasets( + datasets_folderpath = mydir, + considered_extensions = "xlsx", + patterns = "(?i)college", + output_filepath = file.path(mydir, "detect_college.rds"), + get_output_in_session = TRUE) Warning in gzfile(file, mode) : cannot open compressed file '/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/scrutr/detect_chars_structure_datasets/detect_college.rds', probable reason 'Read-only file system' Error in gzfile(file, mode) : cannot open the connection Calls: detect_chars_structure_datasets -> saveRDS -> gzfile Execution halted Flavor: r-release-linux-x86_64

Version: 0.3.0
Check: tests
Result: ERROR Running ‘spelling.R’ [0s/0s] Running ‘testthat.R’ [7s/11s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(scrutr) > > test_check("scrutr") Attaching package: 'magrittr' The following objects are masked from 'package:testthat': equals, is_less_than, not Converting: original_cars.rds Done: original_cars.csv Converting: original_mtcars.csv Done: original_mtcars.csv Converting: original_cars.rds Done: converted_cars.csv Converting: original_mtcars.csv Done: converted_mtcars.rds Converting: original_cars.rds Done: converted_cars.csv Saving _problems/test-detect_chars_structure_datasets-12.R path_vector number_of_levels 1 a/b/c 3 2 d/e 2 Renamed: cars.rds -> cars_renamed.rds Renamed: mtcars.rds -> mtcars_renamed.rds [ FAIL 1 | WARN 1 | SKIP 0 | PASS 189 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-detect_chars_structure_datasets.R:7:3'): Valid outputs are consistent ── Error in `gzfile(file, mode)`: cannot open the connection Backtrace: ▆ 1. └─scrutr::detect_chars_structure_datasets(...) at test-detect_chars_structure_datasets.R:7:3 2. └─base::saveRDS(det_structure_list2, file = output_filepath) 3. └─base::gzfile(file, mode) [ FAIL 1 | WARN 1 | SKIP 0 | PASS 189 ] Error: ! Test failures. Execution halted Flavor: r-release-linux-x86_64