* using log directory ‘/srv/hornik/tmp/CRAN_pretest/ThinkingGrid.Rcheck’ * using R Under development (unstable) (2025-09-30 r88885) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 19.1.7 (3+b1) Debian flang-new version 19.1.7 (3+b1) * running under: Debian GNU/Linux forky/sid * using session charset: UTF-8 * checking for file ‘ThinkingGrid/DESCRIPTION’ ... OK * this is package ‘ThinkingGrid’ version ‘0.1.0’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [4s/5s] NOTE Maintainer: ‘Avinash Kulkarni ’ New submission * 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 executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘ThinkingGrid’ can be installed ... [4s/4s] OK * checking package directory ... OK * checking for future file timestamps ... OK * checking ‘build’ directory ... OK * checking DESCRIPTION meta-information ... OK * 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 ... [1s/1s] OK * checking whether the package can be loaded with stated dependencies ... [1s/1s] OK * checking whether the package can be unloaded cleanly ... [1s/1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK * checking whether the namespace can be unloaded cleanly ... [1s/1s] OK * checking loading without being on the library search path ... [1s/1s] OK * checking whether startup messages can be suppressed ... [1s/1s] 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 ... [9s/9s] OK * checking Rd files ... [0s/0s] 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 ... [4s/4s] ERROR Running examples in ‘ThinkingGrid-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: generate_survey > ### Title: Creates a Qualtrics importable survey file from a CSV file of > ### questions. > ### Aliases: generate_survey > > ### ** Examples > > # Generate survey from sample setup file > setup_file <- system.file("extdata", "sample_setup_file.csv", package = "ThinkingGrid") > if (file.exists(setup_file)) { + generate_survey(setup_file, "_temp_output_") + # Clean up + file.remove("_temp_output_-0.qsf") + } Error in py_module_import(module, convert = convert) : ModuleNotFoundError: No module named 'numpy' Run `reticulate::py_last_error()` for details. Calls: generate_survey ... import_from_path_immediate -> import -> py_module_import Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [39s/26s] ERROR Running ‘testthat.R’ [39s/25s] 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(ThinkingGrid) > > test_check("ThinkingGrid") Inserting image 1 at 0.00s (20%)... Inserting image 2 at 1.00s (40%)... Inserting image 3 at 2.00s (60%)... Inserting image 4 at 3.00s (80%)... Inserting image 5 at 4.00s (100%)... Encoding to gif... done! Inserting image 1 at 0.00s (20%)... Inserting image 2 at 1.00s (40%)... Inserting image 3 at 2.00s (60%)... Inserting image 4 at 3.00s (80%)... Inserting image 5 at 4.00s (100%)... Encoding to gif... done! Inserting image 1 at 0.00s (20%)... Inserting image 2 at 1.00s (40%)... Inserting image 3 at 2.00s (60%)... Inserting image 4 at 3.00s (80%)... Inserting image 5 at 4.00s (100%)... Encoding to gif... done! Inserting image 1 at 0.00s (20%)... Inserting image 2 at 1.00s (40%)... Inserting image 3 at 2.00s (60%)... Inserting image 4 at 3.00s (80%)... Inserting image 5 at 4.00s (100%)... Encoding to gif... done! Inserting image 1 at 0.00s (20%)... Inserting image 2 at 1.00s (40%)... Inserting image 3 at 2.00s (60%)... Inserting image 4 at 3.00s (80%)... Inserting image 5 at 4.00s (100%)... Encoding to gif... done! Inserting image 1 at 0.00s (20%)... Inserting image 2 at 1.00s (40%)... Inserting image 3 at 2.00s (60%)... Inserting image 4 at 3.00s (80%)... Inserting image 5 at 4.00s (100%)... Encoding to gif... done! [ FAIL 1 | WARN 0 | SKIP 24 | PASS 6 ] ══ Skipped tests (24) ══════════════════════════════════════════════════════════ • On CRAN (22): 'test-2x2-plot.R:9:5', 'test-2x2-plot.R:24:5', 'test-2x2-plot.R:39:5', 'test-2x2-plot.R:53:5', 'test-basic.R:93:5', 'test-basic.R:98:5', 'test-basic.R:103:5', 'test-basic.R:108:5', 'test-basic.R:113:5', 'test-basic.R:118:5', 'test-basic.R:126:3', 'test-basic.R:131:3', 'test-basic.R:136:3', 'test-basic.R:141:3', 'test-basic.R:146:3', 'test-basic.R:151:3', 'test-basic.R:159:3', 'test-basic.R:164:3', 'test-basic.R:169:3', 'test-basic.R:174:3', 'test-basic.R:179:3', 'test-basic.R:184:3' • Skipping generate_survey test during R CMD check to avoid file creation (1): 'test-basic.R:56:9' • pandas not available for testing (1): 'test-basic.R:81:5' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-basic.R:76:5'): read_qualtrics_data does not crash ───────────── Error in `py_module_import(module, convert = convert)`: ModuleNotFoundError: No module named 'pandas' Run `reticulate::py_last_error()` for details. Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-basic.R:76:5 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─ThinkingGrid::read_qualtrics_data(data_file, setup_file) 5. └─reticulate::import_from_path("read_qualtrics_data", path = py_module_path()) 6. └─reticulate:::import_from_path_immediate(module, path, convert) 7. └─reticulate::import(module, convert = convert) 8. └─reticulate:::py_module_import(module, convert = convert) [ FAIL 1 | WARN 0 | SKIP 24 | PASS 6 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [22s/20s] ERROR Error(s) in re-building vignettes: ... --- re-building ‘generate_survey_read_data.Rmd’ using rmarkdown Quitting from generate_survey_read_data.Rmd:49-57 [read_survey_data] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error in `py_module_import()`: ! ModuleNotFoundError: No module named 'pandas' Run `reticulate::py_last_error()` for details. --- Backtrace: ▆ 1. └─ThinkingGrid::read_qualtrics_data(...) 2. └─reticulate::import_from_path("read_qualtrics_data", path = py_module_path()) 3. └─reticulate:::import_from_path_immediate(module, path, convert) 4. └─reticulate::import(module, convert = convert) 5. └─reticulate:::py_module_import(module, convert = convert) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'generate_survey_read_data.Rmd' failed with diagnostics: ModuleNotFoundError: No module named 'pandas' Run `reticulate::py_last_error()` for details. --- failed re-building ‘generate_survey_read_data.Rmd’ --- re-building ‘plot_2x2.Rmd’ using rmarkdown [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. --- finished re-building ‘plot_2x2.Rmd’ --- re-building ‘plot_tg.Rmd’ using rmarkdown Inserting image 1 at 0.00s (20%)... Inserting image 2 at 1.00s (40%)... Inserting image 3 at 2.00s (60%)... Inserting image 4 at 3.00s (80%)... Inserting image 5 at 4.00s (100%)... Encoding to gif... done! [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. --- finished re-building ‘plot_tg.Rmd’ SUMMARY: processing the following file failed: ‘generate_survey_read_data.Rmd’ Error: Vignette re-building failed. Execution halted * checking PDF version of manual ... [3s/3s] OK * checking HTML version of manual ... [0s/0s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 3 ERRORs, 1 NOTE