Running examples in ‘PSPManalysis-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: PSPMdemo
> ### Title: Demographic analysis of a structured population model
> ### Aliases: PSPMdemo
> 
> ### ** Examples
> 
> PSPMdemo("Medfly", c(2, 11, 0.1, 11, 16))

Model file not found in current directory
Continue searching for model file in package directory? [y(es)/q(uit)] : 

Building executable Medflydemo.so using sources from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/PSPManalysis/C ...

'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/bin/R' --no-site-file  \
  --no-environ --no-save --no-restore --quiet CMD SHLIB  \
  --output="Medflydemo.so" PSPMdemo.c biftest.c curve.c io.c 

make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpfBTx1R'
gcc-8 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -DR_PACKAGE -I. -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/PSPManalysis/C"  -DRFUNCTIONS=0 -DPROBLEMHEADER="Medfly.h"  -I/usr/local/include   -fpic  -g -O2 -Wall -pedantic -c PSPMdemo.c -o PSPMdemo.o
make[1]: *** read jobs pipe: Bad file descriptor.  Stop.
make[1]: *** Waiting for unfinished jobs....
PSPMdemo.c: In function ‘ComputeCurve’:
PSPMdemo.c:653:29: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 1024 [-Wformat-overflow=]
           sprintf(csbname, "%s-%s-%04d.csb", progname, "PGR", i);
                             ^~               ~~~~~~~~
PSPMdemo.c:653:28: note: directive argument in the range [0, 2147483647]
           sprintf(csbname, "%s-%s-%04d.csb", progname, "PGR", i);
                            ^~~~~~~~~~~~~~~~
PSPMdemo.c:653:11: note: ‘sprintf’ output between 14 and 4115 bytes into a destination of size 1024
           sprintf(csbname, "%s-%s-%04d.csb", progname, "PGR", i);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PSPMdemo.c:655:29: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 1024 [-Wformat-overflow=]
           sprintf(errname, "%s-%s-%04d.err", progname, "PGR", i);
                             ^~               ~~~~~~~~
PSPMdemo.c:655:28: note: directive argument in the range [0, 2147483647]
           sprintf(errname, "%s-%s-%04d.err", progname, "PGR", i);
                            ^~~~~~~~~~~~~~~~
PSPMdemo.c:655:11: note: ‘sprintf’ output between 14 and 4115 bytes into a destination of size 1024
           sprintf(errname, "%s-%s-%04d.err", progname, "PGR", i);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PSPMdemo.c:656:29: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 1024 [-Wformat-overflow=]
           sprintf(outname, "%s-%s-%04d.out", progname, "PGR", i);
                             ^~               ~~~~~~~~
PSPMdemo.c:656:28: note: directive argument in the range [0, 2147483647]
           sprintf(outname, "%s-%s-%04d.out", progname, "PGR", i);
                            ^~~~~~~~~~~~~~~~
PSPMdemo.c:656:11: note: ‘sprintf’ output between 14 and 4115 bytes into a destination of size 1024
           sprintf(outname, "%s-%s-%04d.out", progname, "PGR", i);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PSPMdemo.c:660:28: warning: ‘%s’ directive writing 3 bytes into a region of size between 0 and 4095 [-Wformat-overflow=]
       sprintf(runname, "%s-%s-%04d", progname, "PGR", i);
                            ^~                  ~~~~~
PSPMdemo.c:660:24: note: directive argument in the range [0, 2147483647]
       sprintf(runname, "%s-%s-%04d", progname, "PGR", i);
                        ^~~~~~~~~~~~
PSPMdemo.c:660:7: note: ‘sprintf’ output between 10 and 4111 bytes into a destination of size 4096
       sprintf(runname, "%s-%s-%04d", progname, "PGR", i);
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PSPMdemo.c:638:25: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 1024 [-Wformat-overflow=]
       sprintf(errname, "%s.err", runname);
                         ^~       ~~~~~~~
PSPMdemo.c:638:7: note: ‘sprintf’ output between 5 and 4100 bytes into a destination of size 1024
       sprintf(errname, "%s.err", runname);
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PSPMdemo.c:639:25: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 1024 [-Wformat-overflow=]
       sprintf(outname, "%s.out", runname);
                         ^~       ~~~~~~~
PSPMdemo.c:639:7: note: ‘sprintf’ output between 5 and 4100 bytes into a destination of size 1024
       sprintf(outname, "%s.out", runname);
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpfBTx1R'
Error: Command failed (1)
Execution halted