Running 'testthat.R' [38s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(PSPManalysis)
  
  Welcome to the PSPManalysis package for anlyzing physiologically structured population models
  Explore the demos (shown by demo(package="PSPManalysis") to get an overview
  Also check out the help pages of the exported functions:
  
  PSPMdemo, PSPMecodyn, PSPMequi, PSPMevodyn, PSPMind, PSPMclean, PSPMhelp, csbread and showpspm
  
  For detailed information consult the manual using PSPMhelp()
  
  > 
  > test_check("PSPManalysis")
  
  Building executable Medflydemo.dll using sources from D:\RCompile\CRANpkg\lib\4.2\PSPManalysis\C ...
  
    
     make[1]: Entering directory '/d/temp/RtmpKSP0lu'
  
    
     gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG     -I"d:/rtools42/x86_64-w64-mingw32.static.posix/include"  -DR_PACKAGE -I. -I"D:\RCompile\CRANpkg\lib\4.2\PSPManalysis\C"  -DRFUNCTIONS=0 -DPROBLEMHEADER="Medfly.h"   -pedantic -O2 -Wall  -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -fno-reorder-blocks-and-partition  -c PSPMdemo.c -o PSPMdemo.o
  
    
     gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG     -I"d:/rtools42/x86_64-w64-mingw32.static.posix/include"  -DR_PACKAGE -I. -I"D:\RCompile\CRANpkg\lib\4.2\PSPManalysis\C"  -DRFUNCTIONS=0 -DPROBLEMHEADER="Medfly.h"   -pedantic -O2 -Wall  -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -fno-reorder-blocks-and-partition  -c biftest.c -o biftest.o
  
    
     gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG     -I"d:/rtools42/x86_64-w64-mingw32.static.posix/include"  -DR_PACKAGE -I. -I"D:\RCompile\CRANpkg\lib\4.2\PSPManalysis\C"  -DRFUNCTIONS=0 -DPROBLEMHEADER="Medfly.h"   -pedantic -O2 -Wall  -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -fno-reorder-blocks-and-partition  -c curve.c -o curve.o
  
    
     gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG     -I"d:/rtools42/x86_64-w64-mingw32.static.posix/include"  -DR_PACKAGE -I. -I"D:\RCompile\CRANpkg\lib\4.2\PSPManalysis\C"  -DRFUNCTIONS=0 -DPROBLEMHEADER="Medfly.h"   -pedantic -O2 -Wall  -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -fno-reorder-blocks-and-partition  -c io.c -o io.o
  
    
     gcc -shared -s -static-libgcc -o Medflydemo.dll tmp.def PSPMdemo.o biftest.o curve.o io.o -LD:/RCompile/recent/R/bin/x64 -lRlapack -LD:/RCompile/recent/R/bin/x64 -lRblas -Ld:/rtools42/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools42/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR
  
    
  D
    
     D:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: PSPMdemo.o:PSPMdemo.c:(.text+0x5d5b): undefined reference to `__imp__set_output_format'
  
    
     collect2.exe: error: ld returned 1 exit status
  
    
     make[1]: Leaving directory '/d/temp/RtmpKSP0lu'
  
    
     make[1]: Entering directory '/d/temp/RtmpKSP0lu'
  
    
     make[1]: Leaving directory '/d/temp/RtmpKSP0lu'
  
  Compilation of  Medflydemo.dll  succeeded!
  
  
  Building executable PNAS2002equi.dll using sources from D:\RCompile\CRANpkg\lib\4.2\PSPManalysis\C ...
  
    
     make[1]: Entering directory '/d/temp/RtmpKSP0lu'
  
    
     gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG     -I"d:/rtools42/x86_64-w64-mingw32.static.posix/include"  -DR_PACKAGE -I. -I"D:\RCompile\CRANpkg\lib\4.2\PSPManalysis\C"  -DRFUNCTIONS=0 -DPROBLEMHEADER="PNAS2002.h"   -pedantic -O2 -Wall  -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -fno-reorder-blocks-and-partition  -c PSPMequi.c -o PSPMequi.o
  
    
     gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG     -I"d:/rtools42/x86_64-w64-mingw32.static.posix/include"  -DR_PACKAGE -I. -I"D:\RCompile\CRANpkg\lib\4.2\PSPManalysis\C"  -DRFUNCTIONS=0 -DPROBLEMHEADER="PNAS2002.h"   -pedantic -O2 -Wall  -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -fno-reorder-blocks-and-partition  -c biftest.c -o biftest.o
  
    
     gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG     -I"d:/rtools42/x86_64-w64-mingw32.static.posix/include"  -DR_PACKAGE -I. -I"D:\RCompile\CRANpkg\lib\4.2\PSPManalysis\C"  -DRFUNCTIONS=0 -DPROBLEMHEADER="PNAS2002.h"   -pedantic -O2 -Wall  -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -fno-reorder-blocks-and-partition  -c curve.c -o curve.o
  
    
     gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG     -I"d:/rtools42/x86_64-w64-mingw32.static.posix/include"  -DR_PACKAGE -I. -I"D:\RCompile\CRANpkg\lib\4.2\PSPManalysis\C"  -DRFUNCTIONS=0 -DPROBLEMHEADER="PNAS2002.h"   -pedantic -O2 -Wall  -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -fno-reorder-blocks-and-partition  -c io.c -o io.o
  
    
     gcc -shared -s -static-libgcc -o PNAS2002equi.dll tmp.def PSPMequi.o biftest.o curve.o io.o -LD:/RCompile/recent/R/bin/x64 -lRlapack -LD:/RCompile/recent/R/bin/x64 -lRblas -Ld:/rtools42/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools42/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR
  
    
  D
    
     D:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: PSPMequi.o:PSPMequi.c:(.text+0x7561): undefined reference to `__imp__set_output_format'
  
    
     collect2.exe: error: ld returned 1 exit status
  
    
     make[1]: Leaving directory '/d/temp/RtmpKSP0lu'
  
    
     make[1]: Entering directory '/d/temp/RtmpKSP0lu'
  
    
     make[1]: Leaving directory '/d/temp/RtmpKSP0lu'
  
  Compilation of  PNAS2002equi.dll  succeeded!
  
  
  
  
  Detection of the ESS value of the bifurcation parameter of the structured population (ingestion exponent)
  
  
  Building executable Indet_growthequi.dll using sources from D:\RCompile\CRANpkg\lib\4.2\PSPManalysis\C ...
  
    
     make[1]: Entering directory '/d/temp/RtmpKSP0lu'
  
    
     gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG     -I"d:/rtools42/x86_64-w64-mingw32.static.posix/include"  -DR_PACKAGE -I. -I"D:\RCompile\CRANpkg\lib\4.2\PSPManalysis\C"  -DRFUNCTIONS=0 -DPROBLEMHEADER="Indet_growth.h"   -pedantic -O2 -Wall  -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -fno-reorder-blocks-and-partition  -c PSPMequi.c -o PSPMequi.o
  
    
     gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG     -I"d:/rtools42/x86_64-w64-mingw32.static.posix/include"  -DR_PACKAGE -I. -I"D:\RCompile\CRANpkg\lib\4.2\PSPManalysis\C"  -DRFUNCTIONS=0 -DPROBLEMHEADER="Indet_growth.h"   -pedantic -O2 -Wall  -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -fno-reorder-blocks-and-partition  -c biftest.c -o biftest.o
  
    
     gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG     -I"d:/rtools42/x86_64-w64-mingw32.static.posix/include"  -DR_PACKAGE -I. -I"D:\RCompile\CRANpkg\lib\4.2\PSPManalysis\C"  -DRFUNCTIONS=0 -DPROBLEMHEADER="Indet_growth.h"   -pedantic -O2 -Wall  -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -fno-reorder-blocks-and-partition  -c curve.c -o curve.o
  
    
     gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG     -I"d:/rtools42/x86_64-w64-mingw32.static.posix/include"  -DR_PACKAGE -I. -I"D:\RCompile\CRANpkg\lib\4.2\PSPManalysis\C"  -DRFUNCTIONS=0 -DPROBLEMHEADER="Indet_growth.h"   -pedantic -O2 -Wall  -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -fno-reorder-blocks-and-partition  -c io.c -o io.o
  
    
     gcc -shared -s -static-libgcc -o Indet_growthequi.dll tmp.def PSPMequi.o biftest.o curve.o io.o -LD:/RCompile/recent/R/bin/x64 -lRlapack -LD:/RCompile/recent/R/bin/x64 -lRblas -Ld:/rtools42/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools42/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR
  
    
  D
    
     D:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: PSPMequi.o:PSPMequi.c:(.text+0x72a1): undefined reference to `__imp__set_output_format'
  
    
     collect2.exe: error: ld returned 1 exit status
  
    
     make[1]: Leaving directory '/d/temp/RtmpKSP0lu'
  
    
     make[1]: Entering directory '/d/temp/RtmpKSP0lu'
  
    
     make[1]: Leaving directory '/d/temp/RtmpKSP0lu'
  
  Compilation of  Indet_growthequi.dll  succeeded!
  
  
  Building executable PNAS2002_5bsind.dll using sources from D:\RCompile\CRANpkg\lib\4.2\PSPManalysis\C ...
  
    
     make[1]: Entering directory '/d/temp/RtmpKSP0lu'
  
    
     gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG     -I"d:/rtools42/x86_64-w64-mingw32.static.posix/include"  -DR_PACKAGE -I. -I"D:\RCompile\CRANpkg\lib\4.2\PSPManalysis\C"  -DRFUNCTIONS=0 -DPROBLEMHEADER="PNAS2002_5bs.h"   -pedantic -O2 -Wall  -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -fno-reorder-blocks-and-partition  -c PSPMind.c -o PSPMind.o
  
    
     gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG     -I"d:/rtools42/x86_64-w64-mingw32.static.posix/include"  -DR_PACKAGE -I. -I"D:\RCompile\CRANpkg\lib\4.2\PSPManalysis\C"  -DRFUNCTIONS=0 -DPROBLEMHEADER="PNAS2002_5bs.h"   -pedantic -O2 -Wall  -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -fno-reorder-blocks-and-partition  -c biftest.c -o biftest.o
  
    
     gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG     -I"d:/rtools42/x86_64-w64-mingw32.static.posix/include"  -DR_PACKAGE -I. -I"D:\RCompile\CRANpkg\lib\4.2\PSPManalysis\C"  -DRFUNCTIONS=0 -DPROBLEMHEADER="PNAS2002_5bs.h"   -pedantic -O2 -Wall  -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -fno-reorder-blocks-and-partition  -c curve.c -o curve.o
  
    
     gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG     -I"d:/rtools42/x86_64-w64-mingw32.static.posix/include"  -DR_PACKAGE -I. -I"D:\RCompile\CRANpkg\lib\4.2\PSPManalysis\C"  -DRFUNCTIONS=0 -DPROBLEMHEADER="PNAS2002_5bs.h"   -pedantic -O2 -Wall  -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -fno-reorder-blocks-and-partition  -c io.c -o io.o
  
    
     gcc -shared -s -static-libgcc -o PNAS2002_5bsind.dll tmp.def PSPMind.o biftest.o curve.o io.o -LD:/RCompile/recent/R/bin/x64 -lRlapack -LD:/RCompile/recent/R/bin/x64 -lRblas -Ld:/rtools42/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools42/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR
  
    
  D
    
     D:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: PSPMind.o:PSPMind.c:(.text+0x3ffb): undefined reference to `__imp__set_output_format'
  
    
     collect2.exe: error: ld returned 1 exit status
  
    
     make[1]: Leaving directory '/d/temp/RtmpKSP0lu'
  
    
     make[1]: Entering directory '/d/temp/RtmpKSP0lu'
  
    
     make[1]: Leaving directory '/d/temp/RtmpKSP0lu'
  
  Compilation of  PNAS2002_5bsind.dll  succeeded!
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test.01-Medfly.R:1:1): (code run outside of `test_that()`) ───────────
  Error in `PSPMdemo("Medfly", clean = TRUE, force = TRUE)`: 
  Executable Medflydemo.dll not found! Computation aborted.
  
  Backtrace:
      █
   1. └─PSPManalysis::PSPMdemo("Medfly", clean = TRUE, force = TRUE) test.01-Medfly.R:1:0
  ── Error (???): (code run outside of `test_that()`) ────────────────────────────
  Error in `PSPMequi("PNAS2002.h", "EQ", c(1e-06, 1e-06), 0.5, c(1, 0, 4e-04), 
      NULL, c("popZE", "0", "envZE", "1", "envZE", "2"), clean = TRUE, 
      force = TRUE)`: 
  Executable PNAS2002equi.dll not found! Computation aborted.
  
  Backtrace:
      █
   1. └─PSPManalysis::PSPMequi(...)
  ── Error (???): (code run outside of `test_that()`) ────────────────────────────
  Error in `PSPMequi("Indet_growth.h", "EQ", c(1, 0.22, 0), -0.1, c(6, 0.5, 
      2), options = c("popEVO", "0", "report", "2"), clean = TRUE)`: 
  Executable Indet_growthequi.dll not found! Computation aborted.
  
  Backtrace:
      █
   1. └─PSPManalysis::PSPMequi(...)
  ── Error (test.04-PNAS2002_5bsind.R:3:1): (code run outside of `test_that()`) ──
  Error in `PSPMind("PNAS2002_5bs", c(1.30341e-05, 3.84655e-05, 4.00802e-06), 
      pars, options = c("isort", "1"), clean = TRUE, force = TRUE)`: 
  Executable PNAS2002_5bsind.dll not found! Computation aborted.
  
  Backtrace:
      █
   1. └─PSPManalysis::PSPMind(...) test.04-PNAS2002_5bsind.R:3:0
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted