Running 'testthat.R'
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 C:\r_packages\pkgcheck\CRAN\PSPManalysis\PSPManalysis.Rcheck\PSPManalysis\C ...
  
    
     gcc  -I"C:/r_packages/rinst/include" -DNDEBUG     -I"C:/r_packages/x86_64-w64-mingw32.static.posix/include"  -DR_PACKAGE -I. -I"C:\r_packages\pkgcheck\CRAN\PSPManalysis\PSPManalysis.Rcheck\PSPManalysis\C"  -DRFUNCTIONS=0 -DPROBLEMHEADER="Medfly.h"   -O2 -Wall  -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -fexceptions  -c PSPMdemo.c -o PSPMdemo.o
  
    
     gcc  -I"C:/r_packages/rinst/include" -DNDEBUG     -I"C:/r_packages/x86_64-w64-mingw32.static.posix/include"  -DR_PACKAGE -I. -I"C:\r_packages\pkgcheck\CRAN\PSPManalysis\PSPManalysis.Rcheck\PSPManalysis\C"  -DRFUNCTIONS=0 -DPROBLEMHEADER="Medfly.h"   -O2 -Wall  -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -fexceptions  -c biftest.c -o biftest.o
  
    
     gcc  -I"C:/r_packages/rinst/include" -DNDEBUG     -I"C:/r_packages/x86_64-w64-mingw32.static.posix/include"  -DR_PACKAGE -I. -I"C:\r_packages\pkgcheck\CRAN\PSPManalysis\PSPManalysis.Rcheck\PSPManalysis\C"  -DRFUNCTIONS=0 -DPROBLEMHEADER="Medfly.h"   -O2 -Wall  -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -fexceptions  -c curve.c -o curve.o
  
    
     gcc  -I"C:/r_packages/rinst/include" -DNDEBUG     -I"C:/r_packages/x86_64-w64-mingw32.static.posix/include"  -DR_PACKAGE -I. -I"C:\r_packages\pkgcheck\CRAN\PSPManalysis\PSPManalysis.Rcheck\PSPManalysis\C"  -DRFUNCTIONS=0 -DPROBLEMHEADER="Medfly.h"   -O2 -Wall  -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -fexceptions  -c io.c -o io.o
  
    
     gcc -shared -s -static-libgcc -o Medflydemo.dll tmp.def PSPMdemo.o biftest.o curve.o io.o -LC:/r_packages/rinst/bin/x64 -lRlapack -LC:/r_packages/rinst/bin/x64 -lRblas -LC:/r_packages/x86_64-w64-mingw32.static.posix/lib/x64 -LC:/r_packages/x86_64-w64-mingw32.static.posix/lib -LC:/r_packages/rinst/bin/x64 -lR
  
    
  C
    
     C:\r_packages\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
  
  Compilation of  Medflydemo.dll  succeeded!
  
  
  Building executable PNAS2002equi.dll using sources from C:\r_packages\pkgcheck\CRAN\PSPManalysis\PSPManalysis.Rcheck\PSPManalysis\C ...
  
    
     gcc  -I"C:/r_packages/rinst/include" -DNDEBUG     -I"C:/r_packages/x86_64-w64-mingw32.static.posix/include"  -DR_PACKAGE -I. -I"C:\r_packages\pkgcheck\CRAN\PSPManalysis\PSPManalysis.Rcheck\PSPManalysis\C"  -DRFUNCTIONS=0 -DPROBLEMHEADER="PNAS2002.h"   -O2 -Wall  -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -fexceptions  -c PSPMequi.c -o PSPMequi.o
  
    
     In file included from PSPMequi.c:181:
     C:\r_packages\pkgcheck\CRAN\PSPManalysis\PSPManalysis.Rcheck\PSPManalysis\C/dopri5.h: In function 'LifeHistory':
  
    
     C:\r_packages\pkgcheck\CRAN\PSPManalysis\PSPManalysis.Rcheck\PSPManalysis\C/dopri5.h:243:27: warning: implicit declaration of function 'CohortLimit' [-Wimplicit-function-declaration]
       243 |           CohortLims[p] = CohortLimit(curBirthState, p);
           |                           ^~~~~~~~~~~
  
    
     PSPMequi.c: In function 'Equation':
  
    
     PSPMequi.c:272:20: warning: implicit declaration of function 'AllocateHeapMemory' [-Wimplicit-function-declaration]
       272 |   retval         = AllocateHeapMemory();
           |                    ^~~~~~~~~~~~~~~~~~
  
    
     PSPMequi.c:278:7: warning: implicit declaration of function 'FreeHeapMemory' [-Wimplicit-function-declaration]
       278 |       FreeHeapMemory();
           |       ^~~~~~~~~~~~~~
  
    
     PSPMequi.c:365:63: warning: implicit declaration of function 'FinalIstatePnt'; did you mean 'IstatePnt'? [-Wimplicit-function-declaration]
       365 |               if (!LifeHistory(BirthStateNr, b, MaxCohortDim, FinalIstatePnt(b, 0, 0))) retval = FAILURE;
           |                                                               ^~~~~~~~~~~~~~
           |                                                               IstatePnt
  
    
     PSPMequi.c:365:63: warning: passing argument 4 of 'LifeHistory' makes pointer from integer without a cast [-Wint-conversion]
       365 |               if (!LifeHistory(BirthStateNr, b, MaxCohortDim, FinalIstatePnt(b, 0, 0))) retval = FAILURE;
           |                                                               ^~~~~~~~~~~~~~~~~~~~~~~
           |                                                               |
           |                                                               int
     In file included from PSPMequi.c:181:
     C:\r_packages\pkgcheck\CRAN\PSPManalysis\PSPManalysis.Rcheck\PSPManalysis\C/dopri5.h:147:99: note: expected 'double *' but argument is of type 'int'
       147 | int LifeHistory(const int *birthStateNr, const int curBirthState, const int maxCohortDim, double *iStateOut)
           |                                                                                           ~~~~~~~~^~~~~~~~~
     PSPMequi.c:367:22: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion]
       367 |               memcpy(FinalIstatePnt(b, PopulationNr, 0), FinalIstatePnt(b, PIPEVOIndex, 0), (CohortDim + BirthStateNr[PIPEVOIndex])*sizeof(double));
           |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           |                      |
           |                      int
     In file included from C:\r_packages\pkgcheck\CRAN\PSPManalysis\PSPManalysis.Rcheck\PSPManalysis\C/globals.h:48,
                      from PSPMequi.c:47:
     C:/r_packages/x86_64-w64-mingw32.static.posix/include/string.h:50:45: note: expected 'void * restrict' but argument is of type 'int'
        50 |   void * __cdecl memcpy(void * __restrict__ _Dst,const void * __restrict__ _Src,size_t _Size) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
           |                         ~~~~~~~~~~~~~~~~~~~~^~~~
     PSPMequi.c:367:58: warning: passing argument 2 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion]
     367 |               memcpy(FinalIstatePnt(b, PopulationNr, 0), FinalIstatePnt(b, PIPEVOIndex, 0),
    
       367 |               memcpy(FinalIstatePnt(b, PopulationNr, 0), FinalIstatePnt(b, PIPEVOIndex, 0), (CohortDim + BirthStateNr[PIPEVOIndex])*sizeof(double));
           |                                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           |                                                          |
           |                                                          int
     In file included from C:\r_packages\pkgcheck\CRAN\PSPManalysis\PSPManalysis.Rcheck\PSPManalysis\C/globals.h:48,
                      from PSPMequi.c:47:
     C:/r_packages/x86_64-w64-mingw32.static.posix/include/string.h:50:76: note: expected 'const void * restrict' but argument is of type 'int'
        50 |   void * __cdecl memcpy(void * __restrict__ _Dst,const void * __restrict__ _Src,size_t _Size) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
           |                                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
     PSPMequi.c:399:57: warning: passing argument 4 of 'LifeHistory' makes pointer from integer without a cast [-Wint-conversion]
       399 |         if (!LifeHistory(BirthStateNr, b, MaxCohortDim, FinalIstatePnt(b, 0, 0))) retval = FAILURE;
           |                                                         ^~~~~~~~~~~~~~~~~~~~~~~
           |                                                         |
           |                                                         int
     In file included from PSPMequi.c:181:
     C:\r_packages\pkgcheck\CRAN\PSPManalysis\PSPManalysis.Rcheck\PSPManalysis\C/dopri5.h:147:99: note: expected 'double *' but argument is of type 'int'
       147 | int LifeHistory(const int *birthStateNr, const int curBirthState, const int maxCohortDim, double *iStateOut)
           |                                                                                           ~~~~~~~~^~~~~~~~~
  
    
     PSPMequi.c:418:19: warning: implicit declaration of function 'FinalIstate' [-Wimplicit-function-declaration]
       418 |           R0[p] = FinalIstate(0, p, CohortDim);
           |                   ^~~~~~~~~~~
     PSPMequi.c:423:29: error: lvalue required as left operand of assignment
       423 |           CohortLimit(0, p) = (FinalIstate(0, p, SortIndex) - BirthState(p, 0, SortIndex))/COHORT_NR;
           |                             ^
     PSPMequi.c:485:67: error: lvalue required as left operand of assignment
       485 |           for (b = 0; b < BirthStateNr[p]; b++) CohortLimit(b, p) = (FinalIstate(b, p, SortIndex) - BirthState(p, b, SortIndex))/COHORT_NR;
           |                                                                   ^
     PSPMequi.c:506:53: warning: passing argument 2 of 'SUM' makes pointer from integer without a cast [-Wint-conversion]
       506 |               STDOUT("%15.6G", SUM(BirthStateNr[p], FinalIstatePnt(b, p, CohortDim), 1));
           |                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           |                                                     |
           |                                                     int
     In file included from PSPMequi.c:47:
     C:\r_packages\pkgcheck\CRAN\PSPManalysis\PSPManalysis.Rcheck\PSPManalysis\C/globals.h:498:34: note: expected 'double *' but argument is of type 'int'
       498 | INLINE double SUM(int a, double *b, int c)
           |                          ~~~~~~~~^
  
    
     At top level:
  
    
     PSPMequi.c:130:16: warning: 'CohortLimitMem' defined but not used [-Wunused-variable]
       130 | static double *CohortLimitMem = NULL;
           |                ^~~~~~~~~~~~~~
     PSPMequi.c:123:36: warning: 'RightEigenvecMem' defined but not used [-Wunused-variable]
       123 | static double                     *RightEigenvecMem = NULL;
           |                                    ^~~~~~~~~~~~~~~~
     PSPMequi.c:119:35: warning: 'LastMemAllocated' defined but not used [-Wunused-variable]
       119 | static int                        LastMemAllocated = 0;
           |                                   ^~~~~~~~~~~~~~~~
  
    
     make: *** [C:/r_packages/rinst/etc/x64/Makeconf:252: PSPMequi.o] Error 1
  
  gcc  -I"C:/r_packages/rinst/include" -DNDEBUG     -I"C:/r_packages/x86_64-w64-mingw32.static.posix/include"  -DR_PACKAGE -I. -I"C:\r_packages\pkgcheck\CRAN\PSPManalysis\PSPManalysis.Rcheck\PSPManalysis\C"  -DRFUNCTIONS=0 -DPROBLEMHEADER="PNAS2002.h"   -O2 -Wall  -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -fexceptions  -c PSPMequi.c -o PSPMequi.o
  In file included from PSPMequi.c:181:
  C:\r_packages\pkgcheck\CRAN\PSPManalysis\PSPManalysis.Rcheck\PSPManalysis\C/dopri5.h: In function 'LifeHistory':
  C:\r_packages\pkgcheck\CRAN\PSPManalysis\PSPManalysis.Rcheck\PSPManalysis\C/dopri5.h:243:27: warning: implicit declaration of function 'CohortLimit' [-Wimplicit-function-declaration]
    243 |           CohortLims[p] = CohortLimit(curBirthState, p);
        |                           ^~~~~~~~~~~
  PSPMequi.c: In function 'Equation':
  PSPMequi.c:272:20: warning: implicit declaration of function 'AllocateHeapMemory' [-Wimplicit-function-declaration]
    272 |   retval         = AllocateHeapMemory();
        |                    ^~~~~~~~~~~~~~~~~~
  PSPMequi.c:278:7: warning: implicit declaration of function 'FreeHeapMemory' [-Wimplicit-function-declaration]
    278 |       FreeHeapMemory();
        |       ^~~~~~~~~~~~~~
  PSPMequi.c:365:63: warning: implicit declaration of function 'FinalIstatePnt'; did you mean 'IstatePnt'? [-Wimplicit-function-declaration]
    365 |               if (!LifeHistory(BirthStateNr, b, MaxCohortDim, FinalIstatePnt(b, 0, 0))) retval = FAILURE;
        |                                                               ^~~~~~~~~~~~~~
        |                                                               IstatePnt
  PSPMequi.c:365:63: warning: passing argument 4 of 'LifeHistory' makes pointer from integer without a cast [-Wint-conversion]
    365 |               if (!LifeHistory(BirthStateNr, b, MaxCohortDim, FinalIstatePnt(b, 0, 0))) retval = FAILURE;
        |                                                               ^~~~~~~~~~~~~~~~~~~~~~~
        |                                                               |
        |                                                               int
  In file included from PSPMequi.c:181:
  C:\r_packages\pkgcheck\CRAN\PSPManalysis\PSPManalysis.Rcheck\PSPManalysis\C/dopri5.h:147:99: note: expected 'double *' but argument is of type 'int'
    147 | int LifeHistory(const int *birthStateNr, const int curBirthState, const int maxCohortDim, double *iStateOut)
        |                                                                                           ~~~~~~~~^~~~~~~~~
  PSPMequi.c:367:22: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion]
    367 |               memcpy(FinalIstatePnt(b, PopulationNr, 0), FinalIstatePnt(b, PIPEVOIndex, 0), (CohortDim + BirthStateNr[PIPEVOIndex])*sizeof(double));
        |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        |                      |
        |                      int
  In file included from C:\r_packages\pkgcheck\CRAN\PSPManalysis\PSPManalysis.Rcheck\PSPManalysis\C/globals.h:48,
                   from PSPMequi.c:47:
  C:/r_packages/x86_64-w64-mingw32.static.posix/include/string.h:50:45: note: expected 'void * restrict' but argument is of type 'int'
     50 |   void * __cdecl memcpy(void * __restrict__ _Dst,const void * __restrict__ _Src,size_t _Size) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
        |                         ~~~~~~~~~~~~~~~~~~~~^~~~
  PSPMequi.c:367:58: warning: passing argument 2 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion]
    367 |               memcpy(FinalIstatePnt(b, PopulationNr, 0), FinalIstatePnt(b, PIPEVOIndex, 0), (CohortDim + BirthStateNr[PIPEVOIndex])*sizeof(double));
        |                                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        |                                                          |
        |                                                          int
  In file included from C:\r_packages\pkgcheck\CRAN\PSPManalysis\PSPManalysis.Rcheck\PSPManalysis\C/globals.h:48,
                   from PSPMequi.c:47:
  C:/r_packages/x86_64-w64-mingw32.static.posix/include/string.h:50:76: note: expected 'const void * restrict' but argument is of type 'int'
     50 |   void * __cdecl memcpy(void * __restrict__ _Dst,const void * __restrict__ _Src,size_t _Size) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
        |                                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
  PSPMequi.c:399:57: warning: passing argument 4 of 'LifeHistory' makes pointer from integer without a cast [-Wint-conversion]
    399 |         if (!LifeHistory(BirthStateNr, b, MaxCohortDim, FinalIstatePnt(b, 0, 0))) retval = FAILURE;
        |                                                         ^~~~~~~~~~~~~~~~~~~~~~~
        |                                                         |
        |                                                         int
  In file included from PSPMequi.c:181:
  C:\r_packages\pkgcheck\CRAN\PSPManalysis\PSPManalysis.Rcheck\PSPManalysis\C/dopri5.h:147:99: note: expected 'double *' but argument is of type 'int'
    147 | int LifeHistory(const int *birthStateNr, const int curBirthState, const int maxCohortDim, double *iStateOut)
        |                                                                                           ~~~~~~~~^~~~~~~~~
  PSPMequi.c:418:19: warning: implicit declaration of function 'FinalIstate' [-Wimplicit-function-declaration]
    418 |           R0[p] = FinalIstate(0, p, CohortDim);
        |                   ^~~~~~~~~~~
  PSPMequi.c:423:29: error: lvalue required as left operand of assignment
    423 |           CohortLimit(0, p) = (FinalIstate(0, p, SortIndex) - BirthState(p, 0, SortIndex))/COHORT_NR;
        |                             ^
  PSPMequi.c:485:67: error: lvalue required as left operand of assignment
    485 |           for (b = 0; b < BirthStateNr[p]; b++) CohortLimit(b, p) = (FinalIstate(b, p, SortIndex) - BirthState(p, b, SortIndex))/COHORT_NR;
        |                                                                   ^
  PSPMequi.c:506:53: warning: passing argument 2 of 'SUM' makes pointer from integer without a cast [-Wint-conversion]
    506 |               STDOUT("%15.6G", SUM(BirthStateNr[p], FinalIstatePnt(b, p, CohortDim), 1));
        |                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        |                                                     |
        |                                                     int
  In file included from PSPMequi.c:47:
  C:\r_packages\pkgcheck\CRAN\PSPManalysis\PSPManalysis.Rcheck\PSPManalysis\C/globals.h:498:34: note: expected 'double *' but argument is of type 'int'
    498 | INLINE double SUM(int a, double *b, int c)
        |                          ~~~~~~~~^
  At top level:
  PSPMequi.c:130:16: warning: 'CohortLimitMem' defined but not used [-Wunused-variable]
    130 | static double *CohortLimitMem = NULL;
        |                ^~~~~~~~~~~~~~
  PSPMequi.c:123:36: warning: 'RightEigenvecMem' defined but not used [-Wunused-variable]
    123 | static double                     *RightEigenvecMem = NULL;
        |                                    ^~~~~~~~~~~~~~~~
  PSPMequi.c:119:35: warning: 'LastMemAllocated' defined but not used [-Wunused-variable]
    119 | static int                        LastMemAllocated = 0;
        |                                   ^~~~~~~~~~~~~~~~
  make: *** [C:/r_packages/rinst/etc/x64/Makeconf:252: PSPMequi.o] Error 1
  
  
  
  Detection of the ESS value of the bifurcation parameter of the structured population (ingestion exponent)
  
  
  Building executable Indet_growthequi.dll using sources from C:\r_packages\pkgcheck\CRAN\PSPManalysis\PSPManalysis.Rcheck\PSPManalysis\C ...
  
    
     gcc  -I"C:/r_packages/rinst/include" -DNDEBUG     -I"C:/r_packages/x86_64-w64-mingw32.static.posix/include"  -DR_PACKAGE -I. -I"C:\r_packages\pkgcheck\CRAN\PSPManalysis\PSPManalysis.Rcheck\PSPManalysis\C"  -DRFUNCTIONS=0 -DPROBLEMHEADER="Indet_growth.h"   -O2 -Wall  -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -fexceptions  -c PSPMequi.c -o PSPMequi.o
  
    
     In file included from PSPMequi.c:181:
     C:\r_packages\pkgcheck\CRAN\PSPManalysis\PSPManalysis.Rcheck\PSPManalysis\C/dopri5.h: In function 'LifeHistory':
  
    
     C:\r_packages\pkgcheck\CRAN\PSPManalysis\PSPManalysis.Rcheck\PSPManalysis\C/dopri5.h:243:27: warning: implicit declaration of function 'CohortLimit' [-Wimplicit-function-declaration]
       243 |           CohortLims[p] = CohortLimit(curBirthState, p);
           |                           ^~~~~~~~~~~
  
    
     PSPMequi.c: In function 'Equation':
  
    
     PSPMequi.c:272:20: warning: implicit declaration of function 'AllocateHeapMemory' [-Wimplicit-function-declaration]
       272 |   retval         = AllocateHeapMemory();
           |                    ^~~~~~~~~~~~~~~~~~
  
    
     PSPMequi.c:278:7: warning: implicit declaration of function 'FreeHeapMemory' [-Wimplicit-function-declaration]
       278 |       FreeHeapMemory();
           |       ^~~~~~~~~~~~~~
  
    
     PSPMequi.c:365:63: warning: implicit declaration of function 'FinalIstatePnt'; did you mean 'IstatePnt'? [-Wimplicit-function-declaration]
       365 |               if (!LifeHistory(BirthStateNr, b, MaxCohortDim, FinalIstatePnt(b, 0, 0))) retval = FAILURE;
           |                                                               ^~~~~~~~~~~~~~
           |                                                               IstatePnt
     PSPMequi.c:365:63: warning: passing argument 4 of 'LifeHistory' makes pointer from integer without a cast [-Wint-conversion]
       365 |               if (!LifeHistory(BirthStateNr, b, MaxCohortDim, FinalIstatePnt(b, 0, 0))) retval = FAILURE;
           |                                                               ^~~~~~~~~~~~~~~~~~~~~~~
           |                                                               |
           |                                                               int
     In file included from PSPMequi.c:181:
     C:\r_packages\pkgcheck\CRAN\PSPManalysis\PSPManalysis.Rcheck\PSPManalysis\C/dopri5.h:147:99: note: expected 'double *' but argument is of type 'int'
       147 | int LifeHistory(const int *birthStateNr, const int curBirthState, const int maxCohortDim, double *iStateOut)
           |                                                                                           ~~~~~~~~^~~~~~~~~
  
    
     PSPMequi.c:367:22: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion]
       367 |               memcpy(FinalIstatePnt(b, PopulationNr, 0), FinalIstatePnt(b, PIPEVOIndex, 0), (CohortDim + BirthStateNr[PIPEVOIndex])*sizeof(double));
           |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           |                      |
           |                      int
     In file included from C:\r_packages\pkgcheck\CRAN\PSPManalysis\PSPManalysis.Rcheck\PSPManalysis\C/globals.h:48,
                      from PSPMequi.c:47:
     C:/r_packages/x86_64-w64-mingw32.static.posix/include/string.h:50:45: note: expected 'void * restrict' but argument is of type 'int'
        50 |   void * __cdecl memcpy(void * __restrict__ _Dst,const void * __restrict__ _Src,size_t _Size) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
           |                         ~~~~~~~~~~~~~~~~~~~~^~~~
     PSPMequi.c:367:58: warning: passing argument 2 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion]
       367 |               memcpy(FinalIstatePnt(b, PopulationNr, 0), FinalIstatePnt(b, PIPEVOIndex, 0), (CohortDim + BirthStateNr[PIPEVOIndex])*sizeof(double));
           |                                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           |                                                          |
           |                                                          int
     In file included from C:\r_packages\pkgcheck\CRAN\PSPManalysis\PSPManalysis.Rcheck\PSPManalysis\C/globals.h:48,
                      from PSPMequi.c:47:
     C:/r_packages/x86_64-w64-mingw32.static.posix/include/string.h:50:76: note: expected 'const void * restrict' but argument is of type 'int'
        50 |   void * __cdecl memcpy(void * __restrict__ _Dst,const void * __restrict__ _Src,size_t _Size) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
           |                                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
  PSPMequi.c:399:57: warning: passing argument 4 of 'LifeHistory' makes pointer from integer w
    
     PSPMequi.c:399:57: warning: passing argument 4 of 'LifeHistory' makes pointer from integer without a cast [-Wint-conversion]
       399 |         if (!LifeHistory(BirthStateNr, b, MaxCohortDim, FinalIstatePnt(b, 0, 0))) retval = FAILURE;
           |                                                         ^~~~~~~~~~~~~~~~~~~~~~~
           |                                                         |
           |                                                         int
     In file included from PSPMequi.c:181:
     C:\r_packages\pkgcheck\CRAN\PSPManalysis\PSPManalysis.Rcheck\PSPManalysis\C/dopri5.h:147:99: note: expected 'double *' but argument is of type 'int'
       147 | int LifeHistory(const int *birthStateNr, const int curBirthState, const int maxCohortDim, double *iStateOut)
           |                                                                                           ~~~~~~~~^~~~~~~~~
  
    
     PSPMequi.c:418:19: warning: implicit declaration of function 'FinalIstate' [-Wimplicit-function-declaration]
       418 |           R0[p] = FinalIstate(0, p, CohortDim);
           |                   ^~~~~~~~~~~
     PSPMequi.c:423:29: error: lvalue required as left operand of assignment
       423 |           CohortLimit(0, p) = (FinalIstate(0, p, SortIndex) - BirthState(p, 0, SortIndex))/COHORT_NR;
           |                             ^
     PSPMequi.c:485:67: error: lvalue required as left operand of assignment
       485 |           for (b = 0; b < BirthStateNr[p]; b++) CohortLimit(b, p) = (FinalIstate(b, p, SortIndex) - BirthState(p, b, SortIndex))/COHORT_NR;
           |                                                                   ^
     PSPMequi.c:506:53: warning: passing argument 2 of 'SUM' makes pointer from integer without a cast [-Wint-conversion]
       506 |               STDOUT("%15.6G", SUM(BirthStateNr[p], FinalIstatePnt(b, p, CohortDim), 1));
           |                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           |                                                     |
           |                                                     int
     In file included from PSPMequi.c:47:
     C:\r_packages\pkgcheck\CRAN\PSPManalysis\PSPManalysis.Rcheck\PSPManalysis\C/globals.h:498:34: note: expected 'double *' but argument is of type 'int'
       498 | INLINE double SUM(int a, double *b, int c)
           |                          ~~~~~~~~^
  
    
     At top level:
  
    
     PSPMequi.c:130:16: warning: 'CohortLimitMem' defined but not used [-Wunused-variable]
       130 | static double *CohortLimitMem = NULL;
           |                ^~~~~~~~~~~~~~
     PSPMequi.c:123:36: warning: 'RightEigenvecMem' defined but not used [-Wunused-variable]
       123 | static double                     *RightEigenvecMem = NULL;
           |                                    ^~~~~~~~~~~~~~~~
     PSPMequi.c:119:35: warning: 'LastMemAllocated' defined but not used [-Wunused-variable]
       119 | static int                        LastMemAllocated = 0;
           |                                   ^~~~~~~~~~~~~~~~
  
    
     make: *** [C:/r_packages/rinst/etc/x64/Makeconf:252: PSPMequi.o] Error 1
  
  gcc  -I"C:/r_packages/rinst/include" -DNDEBUG     -I"C:/r_packages/x86_64-w64-mingw32.static.posix/include"  -DR_PACKAGE -I. -I"C:\r_packages\pkgcheck\CRAN\PSPManalysis\PSPManalysis.Rcheck\PSPManalysis\C"  -DRFUNCTIONS=0 -DPROBLEMHEADER="Indet_growth.h"   -O2 -Wall  -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -fexceptions  -c PSPMequi.c -o PSPMequi.o
  In file included from PSPMequi.c:181:
  C:\r_packages\pkgcheck\CRAN\PSPManalysis\PSPManalysis.Rcheck\PSPManalysis\C/dopri5.h: In function 'LifeHistory':
  C:\r_packages\pkgcheck\CRAN\PSPManalysis\PSPManalysis.Rcheck\PSPManalysis\C/dopri5.h:243:27: warning: implicit declaration of function 'CohortLimit' [-Wimplicit-function-declaration]
    243 |           CohortLims[p] = CohortLimit(curBirthState, p);
        |                           ^~~~~~~~~~~
  PSPMequi.c: In function 'Equation':
  PSPMequi.c:272:20: warning: implicit declaration of function 'AllocateHeapMemory' [-Wimplicit-function-declaration]
    272 |   retval         = AllocateHeapMemory();
        |                    ^~~~~~~~~~~~~~~~~~
  PSPMequi.c:278:7: warning: implicit declaration of function 'FreeHeapMemory' [-Wimplicit-function-declaration]
    278 |       FreeHeapMemory();
        |       ^~~~~~~~~~~~~~
  PSPMequi.c:365:63: warning: implicit declaration of function 'FinalIstatePnt'; did you mean 'IstatePnt'? [-Wimplicit-function-declaration]
    365 |               if (!LifeHistory(BirthStateNr, b, MaxCohortDim, FinalIstatePnt(b, 0, 0))) retval = FAILURE;
        |                                                               ^~~~~~~~~~~~~~
        |                                                               IstatePnt
  PSPMequi.c:365:63: warning: passing argument 4 of 'LifeHistory' makes pointer from integer without a cast [-Wint-conversion]
    365 |               if (!LifeHistory(BirthStateNr, b, MaxCohortDim, FinalIstatePnt(b, 0, 0))) retval = FAILURE;
        |                                                               ^~~~~~~~~~~~~~~~~~~~~~~
        |                                                               |
        |                                                               int
  In file included from PSPMequi.c:181:
  C:\r_packages\pkgcheck\CRAN\PSPManalysis\PSPManalysis.Rcheck\PSPManalysis\C/dopri5.h:147:99: note: expected 'double *' but argument is of type 'int'
    147 | int LifeHistory(const int *birthStateNr, const int curBirthState, const int maxCohortDim, double *iStateOut)
        |                                                                                           ~~~~~~~~^~~~~~~~~
  PSPMequi.c:367:22: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion]
    367 |               memcpy(FinalIstatePnt(b, PopulationNr, 0), FinalIstatePnt(b, PIPEVOIndex, 0), (CohortDim + BirthStateNr[PIPEVOIndex])*sizeof(double));
        |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        |                      |
        |                      int
  In file included from C:\r_packages\pkgcheck\CRAN\PSPManalysis\PSPManalysis.Rcheck\PSPManalysis\C/globals.h:48,
                   from PSPMequi.c:47:
  C:/r_packages/x86_64-w64-mingw32.static.posix/include/string.h:50:45: note: expected 'void * restrict' but argument is of type 'int'
     50 |   void * __cdecl memcpy(void * __restrict__ _Dst,const void * __restrict__ _Src,size_t _Size) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
        |                         ~~~~~~~~~~~~~~~~~~~~^~~~
  PSPMequi.c:367:58: warning: passing argument 2 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion]
    367 |               memcpy(FinalIstatePnt(b, PopulationNr, 0), FinalIstatePnt(b, PIPEVOIndex, 0), (CohortDim + BirthStateNr[PIPEVOIndex])*sizeof(double));
        |                                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        |                                                          |
        |                                                          int
  In file included from C:\r_packages\pkgcheck\CRAN\PSPManalysis\PSPManalysis.Rcheck\PSPManalysis\C/globals.h:48,
                   from PSPMequi.c:47:
  C:/r_packages/x86_64-w64-mingw32.static.posix/include/string.h:50:76: note: expected 'const void * restrict' but argument is of type 'int'
     50 |   void * __cdecl memcpy(void * __restrict__ _Dst,const void * __restrict__ _Src,size_t _Size) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
        |                                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
  PSPMequi.c:399:57: warning: passing argument 4 of 'LifeHistory' makes pointer from integer without a cast [-Wint-conversion]
    399 |         if (!LifeHistory(BirthStateNr, b, MaxCohortDim, FinalIstatePnt(b, 0, 0))) retval = FAILURE;
        |                                                         ^~~~~~~~~~~~~~~~~~~~~~~
        |                                                         |
        |                                                         int
  In file included from PSPMequi.c:181:
  C:\r_packages\pkgcheck\CRAN\PSPManalysis\PSPManalysis.Rcheck\PSPManalysis\C/dopri5.h:147:99: note: expected 'double *' but argument is of type 'int'
    147 | int LifeHistory(const int *birthStateNr, const int curBirthState, const int maxCohortDim, double *iStateOut)
        |                                                                                           ~~~~~~~~^~~~~~~~~
  PSPMequi.c:418:19: warning: implicit declaration of function 'FinalIstate' [-Wimplicit-function-declaration]
    418 |           R0[p] = FinalIstate(0, p, CohortDim);
        |                   ^~~~~~~~~~~
  PSPMequi.c:423:29: error: lvalue required as left operand of assignment
    423 |           CohortLimit(0, p) = (FinalIstate(0, p, SortIndex) - BirthState(p, 0, SortIndex))/COHORT_NR;
        |                             ^
  PSPMequi.c:485:67: error: lvalue required as left operand of assignment
    485 |           for (b = 0; b < BirthStateNr[p]; b++) CohortLimit(b, p) = (FinalIstate(b, p, SortIndex) - BirthState(p, b, SortIndex))/COHORT_NR;
        |                                                                   ^
  PSPMequi.c:506:53: warning: passing argument 2 of 'SUM' makes pointer from integer without a cast [-Wint-conversion]
    506 |               STDOUT("%15.6G", SUM(BirthStateNr[p], FinalIstatePnt(b, p, CohortDim), 1));
        |                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        |                                                     |
        |                                                     int
  In file included from PSPMequi.c:47:
  C:\r_packages\pkgcheck\CRAN\PSPManalysis\PSPManalysis.Rcheck\PSPManalysis\C/globals.h:498:34: note: expected 'double *' but argument is of type 'int'
    498 | INLINE double SUM(int a, double *b, int c)
        |                          ~~~~~~~~^
  At top level:
  PSPMequi.c:130:16: warning: 'CohortLimitMem' defined but not used [-Wunused-variable]
    130 | static double *CohortLimitMem = NULL;
        |                ^~~~~~~~~~~~~~
  PSPMequi.c:123:36: warning: 'RightEigenvecMem' defined but not used [-Wunused-variable]
    123 | static double                     *RightEigenvecMem = NULL;
        |                                    ^~~~~~~~~~~~~~~~
  PSPMequi.c:119:35: warning: 'LastMemAllocated' defined but not used [-Wunused-variable]
    119 | static int                        LastMemAllocated = 0;
        |                                   ^~~~~~~~~~~~~~~~
  make: *** [C:/r_packages/rinst/etc/x64/Makeconf:252: PSPMequi.o] Error 1
  
  Building executable PNAS2002_5bsind.dll using sources from C:\r_packages\pkgcheck\CRAN\PSPManalysis\PSPManalysis.Rcheck\PSPManalysis\C ...
  
    
     gcc  -I"C:/r_packages/rinst/include" -DNDEBUG     -I"C:/r_packages/x86_64-w64-mingw32.static.posix/include"  -DR_PACKAGE -I. -I"C:\r_packages\pkgcheck\CRAN\PSPManalysis\PSPManalysis.Rcheck\PSPManalysis\C"  -DRFUNCTIONS=0 -DPROBLEMHEADER="PNAS2002_5bs.h"   -O2 -Wall  -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -fexceptions  -c PSPMind.c -o PSPMind.o
  
    
     In file included from PSPMind.c:132:
     C:\r_packages\pkgcheck\CRAN\PSPManalysis\PSPManalysis.Rcheck\PSPManalysis\C/dopri5.h: In function 'LifeHistory':
  
    
     C:\r_packages\pkgcheck\CRAN\PSPManalysis\PSPManalysis.Rcheck\PSPManalysis\C/dopri5.h:243:27: warning: implicit declaration of function 'CohortLimit' [-Wimplicit-function-declaration]
       243 |           CohortLims[p] = CohortLimit(curBirthState, p);
           |                           ^~~~~~~~~~~
  
    
     C:\r_packages\pkgcheck\CRAN\PSPManalysis\PSPManalysis.Rcheck\PSPManalysis\C/dopri5.h:689:37: error: lvalue required as left operand of assignment
       689 |       CohortLimit(curBirthState, p) = (Istate(p, SortIndex) - Bstates[p][SortIndex])/COHORT_NR;
           |                                     ^
  
    
     PSPMind.c: In function 'Equation':
  
    
     PSPMind.c:163:20: warning: implicit declaration of function 'AllocateHeapMemory' [-Wimplicit-function-declaration]
       163 |   retval         = AllocateHeapMemory();
           |                    ^~~~~~~~~~~~~~~~~~
  
    
     PSPMind.c:169:7: warning: implicit declaration of function 'FreeHeapMemory' [-Wimplicit-function-declaration]
       169 |       FreeHeapMemory();
           |       ^~~~~~~~~~~~~~
  
    
     PSPMind.c:192:53: warning: implicit declaration of function 'FinalIstatePnt'; did you mean 'IstatePnt'? [-Wimplicit-function-declaration]
       192 |     if (!LifeHistory(BirthStateNr, b, MaxCohortDim, FinalIstatePnt(b, 0, 0))) retval = FAILURE;
           |                                                     ^~~~~~~~~~~~~~
           |                                                     IstatePnt
  
    
     PSPMind.c:192:53: warning: passing argument 4 of 'LifeHistory' makes pointer from integer without a cast [-Wint-conversion]
       192 |     if (!LifeHistory(BirthStateNr, b, MaxCohortDim, FinalIstatePnt(b, 0, 0))) retval = FAILURE;
           |                                                     ^~~~~~~~~~~~~~~~~~~~~~~
           |                                                     |
           |                                                     int
     In file included from PSPMind.c:132:
     C:\r_packages\pkgcheck\CRAN\PSPManalysis\PSPManalysis.Rcheck\PSPManalysis\C/dopri5.h:147:99: note: expected 'double *' but argument is of type 'int'
       147 | int LifeHistory(const int *birthStateNr, const int curBirthState, const int maxCohortDim, double *iStateOut)
           |                                                                                           ~~~~~~~~^~~~~~~~~
     PSPMind.c:215:53: warning: passing argument 4 of 'LifeHistory' makes pointer from integer without a cast [-Wint-conversion]
       215 |     if (!LifeHistory(BirthStateNr, b, MaxCohortDim, FinalIstatePnt(b, 0, 0))) retval = FAILURE;
           |                                                     ^~~~~~~~~~~~~~~~~~~~~~~
           |                                                     |
           |                                                     int
     In file included from PSPMind.c:132:
     C:\r_packages\pkgcheck\CRAN\PSPManalysis\PSPManalysis.Rcheck\PSPManalysis\C/dopri5.h:147:99: note: expected 'double *' but argument is of type 'int'
       147 | int LifeHistory(const int *birthStateNr, const int curBirthState, const int maxCohortDim, double *iStateOut)
           |                                                                                           ~~~~~~~~^~~~~~~~~
  
    
     PSPMind.c:234:19: warning: implicit declaration of function 'FinalIstate' [-Wimplicit-function-declaration]
       234 |           R0[p] = FinalIstate(0, p, IStateDim + 1);
           |                   ^~~~~~~~~~~
     PSPMind.c:295:49: warning: passing argument 2 of 'SUM' makes pointer from integer without a cast [-Wint-conversion]
       295 |           STDOUT("%15.6G", SUM(BirthStateNr[p], FinalIstatePnt(b, p, (IStateDim + 1)), 1));
           |                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           |                                                 |
           |                                                 int
     In file included from PSPMind.c:47:
     C:\r_packages\pkgcheck\CRAN\PSPManalysis\PSPManalysis.Rcheck\PSPManalysis\C/globals.h:498:34: note: expected 'double *' but argument is of type 'int'
       498 | INLINE double SUM(int a, double *b, int c)
           |                          ~~~~~~~~^
  
    
     At top level:
  
    
     PSPMind.c:105:36: warning: 'CohortLimitMem' defined but not used [-Wunused-variable]
       105 | static double                     *CohortLimitMem = NULL;
           |                                    ^~~~~~~~~~~~~~
     PSPMind.c:100:36: warning: 'RightEigenvecMem' defined but not used [-Wunused-variable]
       100 | static double                     *RightEigenvecMem = NULL;
           |                                    ^~~~~~~~~~~~~~~~
     PSPMind.c:97:35: warning: 'LastMemAllocated' defined but not used [-Wunused-variable]
        97 | static int                        LastMemAllocated = 0;
           |                                   ^~~~~~~~~~~~~~~~
  
    
     make: *** [C:/r_packages/rinst/etc/x64/Makeconf:252: PSPMind.o] Error 1
  
  gcc  -I"C:/r_packages/rinst/include" -DNDEBUG     -I"C:/r_packages/x86_64-w64-mingw32.static.posix/include"  -DR_PACKAGE -I. -I"C:\r_packages\pkgcheck\CRAN\PSPManalysis\PSPManalysis.Rcheck\PSPManalysis\C"  -DRFUNCTIONS=0 -DPROBLEMHEADER="PNAS2002_5bs.h"   -O2 -Wall  -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -fexceptions  -c PSPMind.c -o PSPMind.o
  In file included from PSPMind.c:132:
  C:\r_packages\pkgcheck\CRAN\PSPManalysis\PSPManalysis.Rcheck\PSPManalysis\C/dopri5.h: In function 'LifeHistory':
  C:\r_packages\pkgcheck\CRAN\PSPManalysis\PSPManalysis.Rcheck\PSPManalysis\C/dopri5.h:243:27: warning: implicit declaration of function 'CohortLimit' [-Wimplicit-function-declaration]
    243 |           CohortLims[p] = CohortLimit(curBirthState, p);
        |                           ^~~~~~~~~~~
  C:\r_packages\pkgcheck\CRAN\PSPManalysis\PSPManalysis.Rcheck\PSPManalysis\C/dopri5.h:689:37: error: lvalue required as left operand of assignment
    689 |       CohortLimit(curBirthState, p) = (Istate(p, SortIndex) - Bstates[p][SortIndex])/COHORT_NR;
        |                                     ^
  PSPMind.c: In function 'Equation':
  PSPMind.c:163:20: warning: implicit declaration of function 'AllocateHeapMemory' [-Wimplicit-function-declaration]
    163 |   retval         = AllocateHeapMemory();
        |                    ^~~~~~~~~~~~~~~~~~
  PSPMind.c:169:7: warning: implicit declaration of function 'FreeHeapMemory' [-Wimplicit-function-declaration]
    169 |       FreeHeapMemory();
        |       ^~~~~~~~~~~~~~
  PSPMind.c:192:53: warning: implicit declaration of function 'FinalIstatePnt'; did you mean 'IstatePnt'? [-Wimplicit-function-declaration]
    192 |     if (!LifeHistory(BirthStateNr, b, MaxCohortDim, FinalIstatePnt(b, 0, 0))) retval = FAILURE;
        |                                                     ^~~~~~~~~~~~~~
        |                                                     IstatePnt
  PSPMind.c:192:53: warning: passing argument 4 of 'LifeHistory' makes pointer from integer without a cast [-Wint-conversion]
    192 |     if (!LifeHistory(BirthStateNr, b, MaxCohortDim, FinalIstatePnt(b, 0, 0))) retval = FAILURE;
        |                                                     ^~~~~~~~~~~~~~~~~~~~~~~
        |                                                     |
        |                                                     int
  In file included from PSPMind.c:132:
  C:\r_packages\pkgcheck\CRAN\PSPManalysis\PSPManalysis.Rcheck\PSPManalysis\C/dopri5.h:147:99: note: expected 'double *' but argument is of type 'int'
    147 | int LifeHistory(const int *birthStateNr, const int curBirthState, const int maxCohortDim, double *iStateOut)
        |                                                                                           ~~~~~~~~^~~~~~~~~
  PSPMind.c:215:53: warning: passing argument 4 of 'LifeHistory' makes pointer from integer without a cast [-Wint-conversion]
    215 |     if (!LifeHistory(BirthStateNr, b, MaxCohortDim, FinalIstatePnt(b, 0, 0))) retval = FAILURE;
        |                                                     ^~~~~~~~~~~~~~~~~~~~~~~
        |                                                     |
        |                                                     int
  In file included from PSPMind.c:132:
  C:\r_packages\pkgcheck\CRAN\PSPManalysis\PSPManalysis.Rcheck\PSPManalysis\C/dopri5.h:147:99: note: expected 'double *' but argument is of type 'int'
    147 | int LifeHistory(const int *birthStateNr, const int curBirthState, const int maxCohortDim, double *iStateOut)
        |                                                                                           ~~~~~~~~^~~~~~~~~
  PSPMind.c:234:19: warning: implicit declaration of function 'FinalIstate' [-Wimplicit-function-declaration]
    234 |           R0[p] = FinalIstate(0, p, IStateDim + 1);
        |                   ^~~~~~~~~~~
  PSPMind.c:295:49: warning: passing argument 2 of 'SUM' makes pointer from integer without a cast [-Wint-conversion]
    295 |           STDOUT("%15.6G", SUM(BirthStateNr[p], FinalIstatePnt(b, p, (IStateDim + 1)), 1));
        |                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        |                                                 |
        |                                                 int
  In file included from PSPMind.c:47:
  C:\r_packages\pkgcheck\CRAN\PSPManalysis\PSPManalysis.Rcheck\PSPManalysis\C/globals.h:498:34: note: expected 'double *' but argument is of type 'int'
    498 | INLINE double SUM(int a, double *b, int c)
        |                          ~~~~~~~~^
  At top level:
  PSPMind.c:105:36: warning: 'CohortLimitMem' defined but not used [-Wunused-variable]
    105 | static double                     *CohortLimitMem = NULL;
        |                                    ^~~~~~~~~~~~~~
  PSPMind.c:100:36: warning: 'RightEigenvecMem' defined but not used [-Wunused-variable]
    100 | static double                     *RightEigenvecMem = NULL;
        |                                    ^~~~~~~~~~~~~~~~
  PSPMind.c:97:35: warning: 'LastMemAllocated' defined but not used [-Wunused-variable]
     97 | static int                        LastMemAllocated = 0;
        |                                   ^~~~~~~~~~~~~~~~
  make: *** [C:/r_packages/rinst/etc/x64/Makeconf:252: PSPMind.o] Error 1
  ══ 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 `buildSO("PSPMequi", modelname, debug, force, silent)`: 
  Compilation of PNAS2002equi.dll failed!
  
  Backtrace:
      █
   1. └─PSPManalysis::PSPMequi(...)
   2.   └─PSPManalysis:::buildSO("PSPMequi", modelname, debug, force, silent)
  ── Error (???): (code run outside of `test_that()`) ────────────────────────────
  Error in `buildSO("PSPMequi", modelname, debug, force, silent)`: 
  Compilation of Indet_growthequi.dll failed!
  
  Backtrace:
      █
   1. └─PSPManalysis::PSPMequi(...)
   2.   └─PSPManalysis:::buildSO("PSPMequi", modelname, debug, force, silent)
  ── Error (test.04-PNAS2002_5bsind.R:3:1): (code run outside of `test_that()`) ──
  Error in `buildSO("PSPMind", modelname, debug, force, silent)`: 
  Compilation of PNAS2002_5bsind.dll failed!
  
  Backtrace:
      █
   1. └─PSPManalysis::PSPMind(...) test.04-PNAS2002_5bsind.R:3:0
   2.   └─PSPManalysis:::buildSO("PSPMind", modelname, debug, force, silent)
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted