* using log directory ‘/srv/hornik/tmp/CRAN_pretest/framework.Rcheck’ * using R Under development (unstable) (2026-02-03 r89375) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 21.1.8 (1+b1) Debian flang version 21.1.8 (1+b1) * running under: Debian GNU/Linux forky/sid * using session charset: UTF-8 * current time: 2026-02-04 17:11:14 UTC * checking for file ‘framework/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘framework’ version ‘1.0.0’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [4s/4s] NOTE Maintainer: ‘Erik Westlund ’ New submission Suggests or Enhances not in mainstream repositories: httpgd, qs * checking package namespace information ... OK * checking package dependencies ... INFO Package suggested but not available for checking: ‘httpgd’ * 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 ‘framework’ can be installed ... [6s/6s] OK * checking package directory ... OK * checking for future file timestamps ... 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 ... [0s/0s] OK * checking whether the package can be loaded with stated dependencies ... [0s/0s] OK * checking whether the package can be unloaded cleanly ... [0s/0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK * checking whether the namespace can be unloaded cleanly ... [0s/0s] OK * checking loading without being on the library search path ... [0s/0s] OK * checking whether startup messages can be suppressed ... [0s/0s] 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 ... [12s/12s] NOTE Found the following possibly unsafe calls: File ‘framework/R/scaffold.R’: unlockBinding("config", .GlobalEnv) Found the following assignments to the global environment: File ‘framework/R/scaffold.R’: assign("config", config_obj, envir = .GlobalEnv) * checking Rd files ... [1s/1s] 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 examples ... [2s/2s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [8s/8s] ERROR Running ‘testthat.R’ [8s/8s] 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(framework) Attaching package: 'framework' The following objects are masked from 'package:testthat': capture_output, setup The following object is masked from 'package:methods': new > > test_check("framework") Loaded 1 function(s) from my-functions ✓ Author information updated in settings.yml Name: Jane Doe Email: jane@example.com Affiliation: Test University ✓ Data source 'inputs.raw.survey' added to settings.yml File: inputs/raw/survey.csv Type: csv Locked: yes Load with: data_read("inputs.raw.survey") ✓ Data source 'mydata' added to settings.yml File: data/mydata.csv Type: csv Load with: data_read("mydata") ✓ Connection 'mydb' added to settings.yml Driver: sqlite Database: data/mydb.db Use with: query_get("SELECT * FROM table", "mydb") ✓ Connection 'warehouse' added to settings.yml Driver: postgresql Host: localhost Port: 5432 Database: analytics User: analyst Use with: query_get("SELECT * FROM table", "warehouse") ✓ Added package 'dplyr' to settings.yml Auto-attach: yes Run scaffold() to install and load packages ✓ Added package 'tidyverse/dplyr@main' to settings.yml Auto-attach: no Run scaffold() to install and load packages ✓ Added package 'ggplot2' to settings.yml Auto-attach: yes Run scaffold() to install and load packages ✓ Updated package 'ggplot2@3.4.0' in settings.yml Auto-attach: no Run scaffold() to install and load packages ✓ Directory 'notebooks' set to 'analysis' in settings.yml Create directory 'analysis'? [Y/n]: Created directory: analysis ✓ Directory 'custom_dir' set to 'my_custom_path' in settings.yml Create directory 'my_custom_path'? [Y/n]: Created directory: my_custom_path Installing NonExistentPackage package for FakeDB connections... ✓ Created framework.db with schema ✓ Created framework.db with schema Updated .gitignore with renv entries Updated .gitignore with renv entries ✓ Created framework.db with schema ✓ Created framework.db with schema ✓ Created framework.db with schema ✓ Created framework.db with schema ✓ Created framework.db with schema [ FAIL 3 | WARN 5 | SKIP 97 | PASS 629 ] ══ Skipped tests (97) ══════════════════════════════════════════════════════════ • Encrypted haven files not yet testable (1): 'test-haven.R:75:3' • Fixture file not found (13): 'test-haven.R:4:3', 'test-haven.R:18:3', 'test-haven.R:29:3', 'test-haven.R:40:3', 'test-haven.R:54:3', 'test-haven.R:65:3', 'test-haven.R:91:3', 'test-haven.R:102:3', 'test-haven.R:112:3', 'test-haven.R:122:3', 'test-haven.R:138:3', 'test-haven.R:148:3', 'test-haven.R:161:3' • MySQL not available (1): 'test-schema-multi.R:62:3' • MySQL server not available (Docker not running?) (1): 'test-connections-multi.R:80:5' • On CRAN (74): 'test-api-settings.R:4:3', 'test-api-settings.R:42:3', 'test-api-settings.R:85:3', 'test-api-settings.R:111:3', 'test-api-settings.R:146:3', 'test-api-settings.R:181:3', 'test-api-settings.R:211:3', 'test-api-settings.R:242:3', 'test-api-settings.R:272:3', 'test-api-settings.R:302:3', 'test-api-settings.R:344:3', 'test-api-settings.R:380:3', 'test-api-settings.R:420:3', 'test-configure-ai.R:61:3', 'test-configure-ai.R:102:3', 'test-configure-ai.R:126:3', 'test-configure-ai.R:145:3', 'test-configure-ai.R:186:3', 'test-configure-global.R:5:3', 'test-configure-global.R:20:3', 'test-configure-global.R:49:3', 'test-configure-global.R:74:3', 'test-configure-global.R:90:3', 'test-configure-global.R:106:3', 'test-configure-global.R:122:3', 'test-configure-global.R:138:3', 'test-configure-global.R:158:3', 'test-configure-global.R:184:3', 'test-configure-global.R:204:3', 'test-configure-global.R:226:3', 'test-configure-global.R:250:3', 'test-configure-global.R:286:3', 'test-configure-global.R:322:3', 'test-configure-global.R:345:3', 'test-configure-global.R:367:3', 'test-configure-global.R:389:3', 'test-configure-global.R:411:3', 'test-configure-global.R:455:3', 'test-configure-global.R:486:3', 'test-configure-global.R:514:3', 'test-configure-global.R:545:3', 'test-configure-global.R:566:3', 'test-configure-global.R:605:3', 'test-configure-global.R:636:3', 'test-configure-global.R:668:3', 'test-doc-regressions.R:2:3', 'test-doc-regressions.R:17:3', 'test-doc-regressions.R:39:3', 'test-doc-regressions.R:53:3', 'test-doc-regressions.R:75:3', 'test-doc-regressions.R:88:3', 'test-project-creation-workflow.R:8:3', 'test-project-creation-workflow.R:63:3', 'test-project-creation-workflow.R:113:3', 'test-project-creation-workflow.R:166:3', 'test-project-creation-workflow.R:193:3', 'test-project-creation-workflow.R:275:3', 'test-project-settings-api.R:2:3', 'test-project-settings-api.R:113:3', 'test-project-settings-api.R:182:3', 'test-project-settings-api.R:233:3', 'test-project-settings-api.R:288:3', 'test-project_create.R:3:3', 'test-project_create.R:71:3', 'test-project_create.R:126:3', 'test-project_create.R:157:3', 'test-project_create.R:190:3', 'test-project_create.R:224:3', 'test-project_create.R:255:3', 'test-project_create.R:289:3', 'test-project_create.R:325:3', 'test-quarto-generation.R:2:3', 'test-quarto-generation.R:44:3', 'test-s3-legacy.R:2:3' • PostgreSQL not available (2): 'test-schema-multi.R:39:3', 'test-transactions-multi.R:171:3' • PostgreSQL server not available (Docker not running?) (1): 'test-connections-multi.R:46:5' • Requires git repository (1): 'test-security_audit.R:247:3' • S3_TEST_BUCKET not set - skipping integration tests (1): 'test-publish.R:361:3' • Test isolation issue - .is_initialized() searches parent directories (1): 'test-init.R:9:3' • empty test (1): 'test-security_audit.R:541:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-publish.R:38:3'): .resolve_s3_connection finds explicit connection ── Error: No S3 connections configured. Add one via the GUI or in settings.yml: connections: storage_buckets: my_s3: bucket: my-bucket region: us-east-1 default_storage_bucket: my_s3 Backtrace: ▆ 1. └─framework:::.resolve_s3_connection("my_s3") at test-publish.R:38:3 ── Error ('test-publish.R:87:3'): .resolve_s3_connection finds default connection ── Error: No S3 connections configured. Add one via the GUI or in settings.yml: connections: storage_buckets: my_s3: bucket: my-bucket region: us-east-1 default_storage_bucket: my_s3 Backtrace: ▆ 1. └─framework:::.resolve_s3_connection(NULL) at test-publish.R:87:3 ── Error ('test-publish.R:221:3'): .resolve_s3_connection errors when missing credentials ── Error: No S3 connections configured. Add one via the GUI or in settings.yml: connections: storage_buckets: my_s3: bucket: my-bucket region: us-east-1 default_storage_bucket: my_s3 Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-publish.R:221: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. └─framework:::.resolve_s3_connection("my_s3") [ FAIL 3 | WARN 5 | SKIP 97 | PASS 629 ] Error: ! Test failures. Execution halted * checking PDF version of manual ... [6s/6s] OK * checking HTML version of manual ... [5s/5s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR, 2 NOTEs