CRAN Package Check Results for Package PSPManalysis

Last updated on 2021-10-16 19:52:29 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.4 5.19 154.53 159.72 NOTE
r-devel-linux-x86_64-debian-gcc 0.3.4 4.04 118.71 122.75 NOTE
r-devel-linux-x86_64-fedora-clang 0.3.4 205.09 NOTE
r-devel-linux-x86_64-fedora-gcc 0.3.4 202.74 NOTE
r-devel-windows-x86_64 0.3.4 8.00 146.00 154.00 NOTE
r-devel-windows-x86_64-gcc10-UCRT 0.3.4 ERROR
r-patched-linux-x86_64 0.3.4 5.57 155.65 161.22 NOTE
r-patched-solaris-x86 0.3.4 255.90 NOTE
r-release-linux-x86_64 0.3.4 4.84 152.95 157.79 NOTE
r-release-macos-arm64 0.3.4 NOTE
r-release-macos-x86_64 0.3.4 NOTE
r-release-windows-ix86+x86_64 0.3.4 14.00 321.00 335.00 NOTE
r-oldrel-macos-x86_64 0.3.4 OK
r-oldrel-windows-ix86+x86_64 0.3.4 14.00 321.00 335.00 OK

Check Details

Version: 0.3.4
Check: LazyData
Result: NOTE
     'LazyData' is specified without a 'data' directory
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-devel-windows-x86_64-gcc10-UCRT, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-ix86+x86_64

Version: 0.3.4
Check: tests
Result: ERROR
     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 -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 -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 -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 -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 -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:251: 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 -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:251: 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 -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:251: 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 -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:251: 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 -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:251: 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 -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:251: 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
Flavor: r-devel-windows-x86_64-gcc10-UCRT