* using log directory ‘/srv/hornik/tmp/CRAN/aifeducation.Rcheck’ * using R Under development (unstable) (2024-04-16 r86435) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 17.0.6 (5) Debian flang-new version 17.0.6 (5) * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘aifeducation/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘aifeducation’ version ‘0.3.3’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [6s/9s] Note_to_CRAN_maintainers Maintainer: ‘Berding Florian ’ * 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 ... [19s/19s] OK * used C++ compiler: ‘Debian clang version 17.0.6 (5)’ * 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 R/sysdata.rda ... 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 ... [4s/4s] ERROR Running ‘testthat.R’ [4s/4s] 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_results<-test_check("aifeducation") List of 22 $ python : chr "/usr/bin/python3" $ libpython : chr "/usr/lib/python3.11/config-3.11-x86_64-linux-gnu/libpython3.11.so" $ pythonhome : chr "//usr://usr" $ pythonpath : chr "/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/reticulate/config:/usr/lib/python311.zip:/usr/lib/python3.11:/u"| __truncated__ $ prefix : chr "/usr" $ exec_prefix : chr "/usr" $ base_exec_prefix : chr "/usr" $ virtualenv : chr "" $ virtualenv_activate : chr "" $ executable : chr "/usr/bin/python3" $ base_executable : chr "/usr/bin/python3" $ version_string : chr "3.11.8 (main, Feb 7 2024, 21:52:08) [GCC 13.2.0]" $ version : chr "3.11" $ architecture : chr "64bit" $ anaconda : logi FALSE $ conda : chr "False" $ numpy :List of 2 ..$ path : chr "/usr/lib/python3/dist-packages/numpy" ..$ version:Class 'numeric_version' hidden list of 1 .. ..$ : int [1:3] 1 24 2 $ required_module : chr "os" $ required_module_path: chr "froze" $ available : logi TRUE $ python_versions : chr "/usr/bin/python3" $ forced : chr "PATH" - attr(*, "class")= chr "py_config" [ FAIL 1 | WARN 0 | SKIP 3 | PASS 3 ] ══ Skipped tests (3) ═══════════════════════════════════════════════════════════ • Necessary python modules not available (1): 'test-05_classifier_neural_net.R:1:1' • On CRAN (2): 'test-01_vocab_draft.R:1:1', 'test-04_transformer_models.R:1:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-03_text_embedding_model_gvc_lda.R:14:1'): (code run outside of `test_that()`) ── Error: Python module datasets was not found. Detected Python configuration: Backtrace: ▆ 1. ├─datasets$disable_progress_bars at test-03_text_embedding_model_gvc_lda.R:14:1 2. ├─reticulate:::`$.python.builtin.module`(datasets, disable_progress_bars) at test-03_text_embedding_model_gvc_lda.R:14:1 3. │ └─reticulate::py_get_attr(x, name, TRUE) 4. └─reticulate (local) ``(``) [ FAIL 1 | WARN 0 | SKIP 3 | PASS 3 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [3s/4s] OK * checking PDF version of manual ... [4s/4s] OK * checking HTML version of manual ... [2s/2s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR