* using log directory ‘/srv/hornik/tmp/CRAN_pretest/aifeducation.Rcheck’ * using R Under development (unstable) (2025-08-21 r88668) * 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 ‘aifeducation/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘aifeducation’ version ‘1.1.1’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [6s/9s] NOTE Maintainer: ‘Berding Florian ’ Days since last update: 3 * 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 ‘aifeducation’ can be installed ... [30s/30s] OK * used C++ compiler: ‘Debian clang version 19.1.7 (3+b2)’ * 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 ... [14s/14s] OK * 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 contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... [0s/0s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking compilation flags in Makevars ... OK * checking for GNU extensions in Makefiles ... OK * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking use of PKG_*FLAGS in Makefiles ... OK * checking use of SHLIB_OPENMP_*FLAGS in Makefiles ... OK * checking pragmas in C/C++ headers and code ... OK * checking compilation flags used ... OK * checking compiled code ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... NONE * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [2s/2s] ERROR Running ‘testthat.R’ [2s/2s] 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/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(aifeducation) > > test_check("aifeducation") [ FAIL 1 | WARN 0 | SKIP 20 | PASS 24 ] ══ Skipped tests (20) ══════════════════════════════════════════════════════════ • On CRAN (20): 'test-00_00_print_information_tests.R:1:1', 'test-00_01_generating_test_data.R:3:1', 'test-00_02_setup_Classifiers.R:3:1', 'test-01_01_install_and_config.R:1:1', 'test-01_04_R_and_Python_utils.R:1:1', 'test-01_05_KNNOR.R:1:1', 'test-02_01_pytorch_loss_fcts.R:1:1', 'test-02_02_pytorch_layers.R:1:1', 'test-02_03_pytorch_stack_layers.R:1:1', 'test-02_04_transformer_models.R:1:1', 'test-03_01_LargeDataSetForTexts.R:1:1', 'test-03_02_LargeDataSetForTextEmbeddings.R:1:1', 'test-03_03_EmbeddedText.R:1:1', 'test-03_04_DataManager.R:1:1', 'test-03_05_FeatureExtractor.R:1:1', 'test-03_06_TextEmbeddingModels.R:1:1', 'test-03_08_TEClassifiers_core.R:1:1', 'test-03_09_TEClassifiersProtoNet_old.R:1:1', 'test-03_09_TEClassifiersPrototype.R:1:1', 'test-99_clean_tmp_directories.R:1:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-01_02_Performance_Measures.R:256:3'): Gwet's AC1 and AC2 ─────── Error: Mat::operator(): index out of bounds Backtrace: ▆ 1. └─aifeducation::gwet_ac(...) at test-01_02_Performance_Measures.R:256:3 2. └─aifeducation::to_categorical_c(...) [ FAIL 1 | WARN 0 | SKIP 20 | PASS 24 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [1s/1s] OK * checking PDF version of manual ... [9s/9s] 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, 1 NOTE