Running ‘testthat.R’ [21s/30s]
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)
  > 
  > if (identical(Sys.getenv("NOT_CRAN"), "true"))
  +   library(neuralGAM)
  >   test_check("neuralGAM")
  Loading required package: neuralGAM
  NOTE: conda not found... run 'install_neuralGAM()' and load library again...
  [ FAIL 0 | WARN 0 | SKIP 98 | PASS 41 ]
  
  ══ Skipped tests (98) ══════════════════════════════════════════════════════════
  • keras not available (15): 'test-autoplot.R:37:3', 'test-autoplot.R:72:3',
    'test-autoplot.R:92:3', 'test-autoplot.R:120:3', 'test-diagnose.R:12:3',
    'test-diagnose.R:54:3', 'test-diagnose.R:96:3', 'test-plot.R:13:3',
    'test-predict.R:41:3', 'test-predict.R:93:3', 'test-predict.R:144:3',
    'test-predict.R:178:3', 'test-predict.R:217:3', 'test-summary.R:12:3',
    'test-summary.R:54:3'
  • keras not available for testing... (83): 'test-NeuralGAM.R:18:3',
    'test-NeuralGAM.R:25:3', 'test-NeuralGAM.R:32:3', 'test-NeuralGAM.R:39:3',
    'test-NeuralGAM.R:46:3', 'test-NeuralGAM.R:53:3', 'test-NeuralGAM.R:60:3',
    'test-NeuralGAM.R:67:3', 'test-NeuralGAM.R:74:3', 'test-NeuralGAM.R:81:3',
    'test-NeuralGAM.R:90:3', 'test-NeuralGAM.R:98:3', 'test-NeuralGAM.R:106:3',
    'test-NeuralGAM.R:114:3', 'test-NeuralGAM.R:122:3', 'test-NeuralGAM.R:130:3',
    'test-NeuralGAM.R:137:3', 'test-NeuralGAM.R:144:3', 'test-NeuralGAM.R:156:3',
    'test-NeuralGAM.R:173:3', 'test-NeuralGAM.R:191:3', 'test-NeuralGAM.R:212:3',
    'test-NeuralGAM.R:235:3', 'test-NeuralGAM.R:247:3', 'test-NeuralGAM.R:270:3',
    'test-NeuralGAM.R:295:3', 'test-NeuralGAM.R:319:3', 'test-NeuralGAM.R:332:3',
    'test-NeuralGAM.R:345:3', 'test-NeuralGAM.R:364:3', 'test-NeuralGAM.R:377:3',
    'test-NeuralGAM.R:387:3', 'test-NeuralGAM.R:401:3', 'test-NeuralGAM.R:409:3',
    'test-NeuralGAM.R:492:3', 'test-NeuralGAM.R:511:3', 'test-NeuralGAM.R:520:3',
    'test-NeuralGAM.R:529:3', 'test-NeuralGAM.R:541:3',
    'test-build_feature_NN.R:16:3', 'test-build_feature_NN.R:63:3',
    'test-build_feature_NN.R:98:3', 'test-build_feature_NN.R:131:3',
    'test-build_feature_NN.R:157:3', 'test-diriv.R:15:3', 'test-diriv.R:35:3',
    'test-diriv.R:43:3', 'test-diriv.R:51:3', 'test-diriv.R:59:3',
    'test-epistemic-pi.R:28:3', 'test-epistemic-pi.R:47:3',
    'test-epistemic-pi.R:62:3', 'test-epistemic-pi.R:88:3',
    'test-epistemic-pi.R:120:3', 'test-formula.R:20:3', 'test-formula.R:35:3',
    'test-formula.R:49:3', 'test-formula.R:62:3', 'test-formula.R:75:3',
    'test-formula.R:92:3', 'test-formula.R:115:3', 'test-formula.R:142:3',
    'test-formula.R:154:3', 'test-formula.R:187:3', 'test-inv_link.R:14:3',
    'test-inv_link.R:25:3', 'test-inv_link.R:36:3', 'test-inv_link.R:44:3',
    'test-inv_link.R:59:3', 'test-link.R:19:3', 'test-link.R:29:3',
    'test-link.R:39:3', 'test-link.R:46:3', 'test-link.R:54:3',
    'test-plot_history.R:14:3', 'test-print.R:15:3', 'test-weight.R:14:3',
    'test-weight.R:26:3', 'test-weight.R:44:3', 'test-weight.R:53:3',
    'test-weight.R:62:3', 'test-weight.R:71:3', 'test-weight.R:81:3'
  
  [ FAIL 0 | WARN 0 | SKIP 98 | PASS 41 ]
  Error: /tmp/check-CRAN-regular-hornik/cache/R/reticulate/uv/python/cpython-3.12.13-linux-x86_64-gnu/lib/libpython3.12.so - /tmp/check-CRAN-regular-hornik/cache/R/reticulate/uv/python/cpython-3.12.13-linux-x86_64-gnu/lib/libpython3.12.so: cannot enable executable stack as shared object requires: Invalid argument
  Execution halted