Running ‘testthat.R’ [2s/4s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(dde)
  > 
  > test_check("dde")
  using C compiler: ‘gcc-14 (Debian 14.2.0-1) 14.2.0’
  make[1]: Entering directory '/tmp/RtmpRRZJiY/file1100712cd97d1e'
  make[1]: Leaving directory '/tmp/RtmpRRZJiY/file1100712cd97d1e'
  make[1]: Entering directory '/tmp/RtmpRRZJiY/file1100712cd97d1e'
  gcc-14 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -I/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/dde/include -g -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c logistic2.c -o logistic2.o
  logistic2.c: In function ‘logistic_finalize’:
  logistic2.c:9:7: error: implicit declaration of function ‘Free’; did you mean ‘free’? [-Wimplicit-function-declaration]
      9 |       Free(p);
        |       ^~~~
        |       free
  logistic2.c: In function ‘logistic_init’:
  logistic2.c:17:26: error: implicit declaration of function ‘Calloc’; did you mean ‘calloc’? [-Wimplicit-function-declaration]
     17 |   double * p = (double*) Calloc(length(pars), double);
        |                          ^~~~~~
        |                          calloc
  logistic2.c:17:47: error: expected expression before ‘double’
     17 |   double * p = (double*) Calloc(length(pars), double);
        |                                               ^~~~~~
  make[1]: *** [/home/hornik/tmp/R.check/r-devel-gcc/Work/build/etc/Makeconf:195: logistic2.o] Error 1
  make[1]: Leaving directory '/tmp/RtmpRRZJiY/file1100712cd97d1e'
  make[1]: Entering directory '/tmp/RtmpRRZJiY/file1100712cd97d1e'
  make[1]: Leaving directory '/tmp/RtmpRRZJiY/file1100712cd97d1e'
  Error in `FUN()`:
  ! In path: "/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/dde.Rcheck/tests/testthat/helper-dde.R"
  Caused by error in `FUN()`:
  ! Error compiling source; see above for details
  Backtrace:
       ▆
    1. ├─testthat::test_check("dde")
    2. │ └─testthat::test_dir(...)
    3. │   └─testthat:::test_files(...)
    4. │     └─testthat:::test_files_serial(...)
    5. │       └─testthat:::test_files_setup_state(...)
    6. │         └─testthat::source_test_helpers(".", env)
    7. │           └─testthat::source_dir(path, "^helper.*\\.[rR]$", env = env, wrap = FALSE)
    8. │             └─base::lapply(...)
    9. │               └─testthat (local) FUN(X[[i]], ...)
   10. │                 └─testthat::source_file(path, env = env, chdir = chdir, wrap = wrap)
   11. │                   ├─base::withCallingHandlers(...)
   12. │                   └─base::eval(exprs, env)
   13. │                     └─base::eval(exprs, env)
   14. │                       ├─base::local(...) at tests/testthat/helper-dde.R:126:1
   15. │                       │ └─base::eval.parent(substitute(eval(quote(expr), envir)))
   16. │                       │   └─base::eval(expr, p)
   17. │                       │     └─base::eval(expr, p)
   18. │                       └─base::eval(...)
   19. │                         └─base::eval(...)
   20. │                           └─base::lapply(files, dde:::shlib, "dde_") at tests/testthat/helper-dde.R:129:3
   21. │                             └─dde (local) FUN(X[[i]], ...)
   22. │                               └─base::stop("Error compiling source; see above for details")
   23. └─base::.handleSimpleError(...)
   24.   └─testthat (local) h(simpleError(msg, call))
   25.     └─rlang::abort(...)
  Execution halted