* installing to library ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages’
* installing *source* package ‘swmmr’ ...
** package ‘swmmr’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpxRfniH/R.INSTALL5201190aab1/swmmr/src'
g++-9 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=2  -fpic  -g -O2 -Wall -pedantic -mtune=native  -c RcppExports.cpp -o RcppExports.o
g++-9 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=2  -fpic  -g -O2 -Wall -pedantic -mtune=native  -c swmm5_iface.cpp -o swmm5_iface.o
swmm5_iface.cpp: In function ‘Rcpp::List OpenSwmmOutFile(const char*)’:
swmm5_iface.cpp:59:8: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
   59 |   fread(&offset0, RECORDSIZE, 1, Fout);
      |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
swmm5_iface.cpp:60:8: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
   60 |   fread(&StartPos, RECORDSIZE, 1, Fout);
      |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
swmm5_iface.cpp:61:8: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
   61 |   fread(&SWMM_Nperiods, RECORDSIZE, 1, Fout);
      |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
swmm5_iface.cpp:62:8: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
   62 |   fread(&errCode, RECORDSIZE, 1, Fout);
      |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
swmm5_iface.cpp:63:8: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
   63 |   fread(&magic2, RECORDSIZE, 1, Fout);
      |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
swmm5_iface.cpp:67:8: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
   67 |   fread(&magic1, RECORDSIZE, 1, Fout);
      |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
swmm5_iface.cpp:84:8: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
   84 |   fread(&SWMM_version, RECORDSIZE, 1, Fout);
      |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
swmm5_iface.cpp:85:8: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
   85 |   fread(&SWMM_FlowUnits, RECORDSIZE, 1, Fout);
      |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
swmm5_iface.cpp:86:8: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
   86 |   fread(&SWMM_Nsubcatch, RECORDSIZE, 1, Fout);
      |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
swmm5_iface.cpp:87:8: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
   87 |   fread(&SWMM_Nnodes, RECORDSIZE, 1, Fout);
      |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
swmm5_iface.cpp:88:8: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
   88 |   fread(&SWMM_Nlinks, RECORDSIZE, 1, Fout);
      |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
swmm5_iface.cpp:89:8: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
   89 |   fread(&SWMM_Npolluts, RECORDSIZE, 1, Fout);
      |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
swmm5_iface.cpp:99:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
   99 |     fread(&IDsubcatch[i-1], RECORDSIZE, 1, Fout);
      |     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
swmm5_iface.cpp:108:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
  108 |     fread(&IDnodes[i-1], RECORDSIZE, 1, Fout);
      |     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
swmm5_iface.cpp:117:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
  117 |     fread(&IDlinks[i-1], RECORDSIZE, 1, Fout);
      |     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
swmm5_iface.cpp:126:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
  126 |     fread(&IDpolls[i-1], RECORDSIZE, 1, Fout);
      |     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
swmm5_iface.cpp:138:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
  138 |     fread(&SubcatchVars, RECORDSIZE, 1, Fout); // # Subcatch variables
      |     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
swmm5_iface.cpp:140:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
  140 |     fread(&NodeVars, RECORDSIZE, 1, Fout);     // # Node variables
      |     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
swmm5_iface.cpp:142:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
  142 |     fread(&LinkVars, RECORDSIZE, 1, Fout);     // # Link variables
      |     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
swmm5_iface.cpp:144:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
  144 |     fread(&SysVars, RECORDSIZE, 1, Fout);     // # System variables
      |     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
swmm5_iface.cpp:149:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
  149 |     fread(&SWMM_StartDate, sizeof(double), 1, Fout);
      |     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
swmm5_iface.cpp:150:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
  150 |     fread(&SWMM_ReportStep, RECORDSIZE, 1, Fout);
      |     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
swmm5_iface.cpp: In function ‘Rcpp::NumericVector GetSwmmResult(int, int, int)’:
swmm5_iface.cpp:207:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
  207 |     fread(&resultvec[i-1], RECORDSIZE, 1, Fout);
      |     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++-9 -std=gnu++11 -shared -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -Wl,-O1 -o swmmr.so RcppExports.o swmm5_iface.o -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpxRfniH/R.INSTALL5201190aab1/swmmr/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpxRfniH/R.INSTALL5201190aab1/swmmr/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpxRfniH/R.INSTALL5201190aab1/swmmr/src'
installing to /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/00LOCK-swmmr/00new/swmmr/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
SWMM executable not found.
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
SWMM executable not found.
** testing if installed package keeps a record of temporary installation path
* DONE (swmmr)