R Under development (unstable) (2026-02-06 r89378 ucrt) -- "Unsuffered Consequences" Copyright (C) 2026 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > # 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(theorytools) > skip_if_no_python <- function() { + if (!reticulate::py_module_available("transformers") | + !reticulate::py_module_available("numpy") | + !reticulate::py_module_available("torch")){ + skip("Python dependencies not available for testing") + } + } > test_check("theorytools") v Setting active project to "D:/temp/2026_02_07_11_00_16_19106/RtmpAPo3Ic/add_theory94e837cd2650". v Setting active project to "". v Setting active project to "D:/temp/2026_02_07_11_00_16_19106/RtmpAPo3Ic/copy_theory94e871637d1a". v Setting active project to "". No personal access token (PAT) available. Obtain a PAT from here: https://github.com/settings/tokens For more on what to do with the PAT, see ?gh_whoami. v Setting active project to "D:/temp/2026_02_07_11_00_16_19106/RtmpAPo3Ic/license94e86e92613d". v Setting active project to "". v Setting active project to "D:/temp/2026_02_07_11_00_16_19106/RtmpAPo3Ic/license_arguments94e82ca75ed7". v Setting active project to "". [ FAIL 0 | WARN 0 | SKIP 3 | PASS 53 ] ══ Skipped tests (3) ═══════════════════════════════════════════════════════════ • On CRAN (2): 'test-code.R:18:3', 'test-python.R:4:3' • Skipped test that requires GitHub (1): 'test-create_fair_theory.R:3:3' [ FAIL 0 | WARN 0 | SKIP 3 | PASS 53 ] > > proc.time() user system elapsed 7.25 1.39 52.89