Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[[ by group takes forever (24 hours +) with v1.13.0 vs 4 seconds with v1.12.8 #4646 #1

Open
DorisAmoakohene opened this issue Mar 29, 2024 · 15 comments

Comments

@DorisAmoakohene
Copy link
Owner

DorisAmoakohene commented Mar 29, 2024

@tdhock
I am running this performance test and I am encountering this error which is I am not able to install one of the commit ids, which is the (Before)

This is the link to the PR that fixes the issue (Rdatatable/data.table#4655) and the link to the issue (Rdatatable/data.table#4646)

Error in atime_versions_install(Package, pkg.path, new.Package.vec, SHA.vec,  : 
  R CMD INSTALL C:\Users\amoak\AppData\Local\Temp\Rtmp2fszsJ\file9d2c199c3f4d/file9d2c7a36b5e.e0140eafa07ad39a7ac9d67737cc43c4c95ca935 returned error status code 1

This is code I am running

atime.list.4646 <- atime::atime_versions(
  pkg.path=tdir,
  pkg.edit.fun=function(old.Package, new.Package, sha, new.pkg.path){
    pkg_find_replace <- function(glob, FIND, REPLACE){
      atime::glob_find_replace(file.path(new.pkg.path, glob), FIND, REPLACE)
    }
    Package_regex <- gsub(".", "_?", old.Package, fixed=TRUE)
    Package_ <- gsub(".", "_", old.Package, fixed=TRUE)
    new.Package_ <- paste0(Package_, "_", sha)
    pkg_find_replace(
      "DESCRIPTION", 
      paste0("Package:\\s+", old.Package),
      paste("Package:", new.Package))
    pkg_find_replace(
      file.path("src","Makevars.*in"),
      Package_regex,
      new.Package_)
    pkg_find_replace(
      file.path("R", "onLoad.R"),
      Package_regex,
      new.Package_)
    pkg_find_replace(
      file.path("R", "onLoad.R"),
      sprintf('packageVersion\\("%s"\\)', old.Package),
      sprintf('packageVersion\\("%s"\\)', new.Package))
    pkg_find_replace(
      file.path("src", "init.c"),
      paste0("R_init_", Package_regex),
      paste0("R_init_", gsub("[.]", "_", new.Package_)))
    pkg_find_replace(
      "NAMESPACE",
      sprintf('useDynLib\\("?%s"?', Package_regex),
      paste0('useDynLib(', new.Package_))
  },
  N=10^seq(1,7),
  setup={ 
    set.seed(123L)
    n_nested = 40L
    dt = data.table(id = seq_len(N),
                    value = replicate(N, data.table(val1 = sample(n_nested)), simplify = FALSE))
  },
  expr=data.table:::`[.data.table`(dt,, value[[1L]], by = id),
  "Before"="e0140eafa07ad39a7ac9d67737cc43c4c95ca935",#This is the commit tag 1.12.8(https://github.com/Rdatatable/data.table/tags)
  "Regression"="c041f78691f9f9495c0f25b78109cd3f5295f4f", #parent of the last commit (https://github.com/Rdatatable/data.table/commit/ec041f78691f9f9495c0f25b78109cd3f5295f4f)
  "Fixed"="ec041f78691f9f9495c0f25b78109cd3f5295f4f") #This is the last commit in the PR (https://github.com/Rdatatable/data.table/pull/4655)
@tdhock
Copy link

tdhock commented Mar 30, 2024

there is a known issue about some older versions not installing, did you see that? Rdatatable/data.table#4788 (comment)

@DorisAmoakohene
Copy link
Owner Author

yes i have seen this

@tdhock
Copy link

tdhock commented Apr 2, 2024

is it the same issue that you are having?

@DorisAmoakohene
Copy link
Owner Author

DorisAmoakohene commented Apr 2, 2024

is it the same issue that you are having?

yes, I am facing the same issue

@tdhock

This comment was marked as resolved.

@DorisAmoakohene
Copy link
Owner Author

DorisAmoakohene commented Apr 2, 2024

Same for me and this is my output

Registered S3 methods overwritten by 'data.table.93967418ee0e40370ce9d4c4b63bf599e4ef1ecd':
  method                   from      
  all.equal.data.table     data.table
  [.data.table             data.table
  [<-.data.table           data.table
  $<-.data.table           data.table
  print.data.table         data.table
  as.data.frame.data.table data.table
  as.list.data.table       data.table
  as.matrix.data.table     data.table
  cbind.data.table         data.table
  rbind.data.table         data.table
  dim.data.table           data.table
  dimnames.data.table      data.table
  dimnames<-.data.table    data.table
  names<-.data.table       data.table
  duplicated.data.table    data.table
  unique.data.table        data.table
  merge.data.table         data.table
  subset.data.table        data.table
  transform.data.table     data.table
  within.data.table        data.table
  is.na.data.table         data.table
  format.data.table        data.table
  Ops.data.table           data.table
  anyDuplicated.data.table data.table
  split.data.table         data.table
  tail.data.table          data.table
  head.data.table          data.table
  na.omit.data.table       data.table
  [.ITime                  data.table
  +.IDate                  data.table
  -.IDate                  data.table
  as.character.ITime       data.table
  as.data.frame.ITime      data.table
  as.Date.IDate            data.table
  as.list.IDate            data.table
  as.POSIXct.IDate         data.table
  as.POSIXct.ITime         data.table
  as.POSIXlt.ITime         data.table
  c.IDate                  data.table
  c.ITime                  data.table
  cut.IDate                data.table
  format.ITime             data.table
  mean.IDate               data.table
  mean.ITime               data.table
  print.ITime              data.table
  rep.IDate                data.table
  rep.ITime                data.table
  round.IDate              data.table
  round.ITime              data.table
  trunc.ITime              data.table
  seq.IDate                data.table
  seq.ITime                data.table
  unique.IDate             data.table
  unique.ITime             data.table
  [<-.IDate                data.table
  edit.data.table          data.table

@tdhock
Copy link

tdhock commented Apr 2, 2024

uncommenting Before line gives output below

* installing to library 'C:/Program Files/R/R-devel/library'
* installing *source* package 'data.table.e0140eafa07ad39a7ac9d67737cc43c4c95ca935' ...
** using staged installation

   **********************************************
   WARNING: this package has a configure script
         It probably needs manual configuration
   **********************************************


** libs
using C compiler: 'gcc.exe (GCC) 12.3.0'
gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c assign.c -o assign.o
assign.c: In function 'assign':
assign.c:460:64: warning: format '%d' expects argument of type 'int', but argument 2 has type 'R_xlen_t' {aka 'long long int'} [-Wformat=]
  460 |       error("Internal error: selfrefnames is ok but tl names [%d] != tl [%d]", TRUELENGTH(names), oldtncol);  // # nocov
      |                                                               ~^               ~~~~~~~~~~~~~~~~~
      |                                                                |               |
      |                                                                int             R_xlen_t {aka long long int}
      |                                                               %lld
assign.c:640:33: warning: format '%d' expects a matching 'int' argument [-Wformat=]
  640 |         error("Internal error: %d column numbers to delete not now in strictly increasing order. No-dups were checked earlier."); // # nocov
      |                                ~^
      |                                 |
      |                                 int
assign.c: In function 'memrecycle':
assign.c:800:58: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long unsigned int' [-Wformat=]
  800 |             error("Unable to allocate working memory of %d bytes to combine factor levels", nAdd*sizeof(SEXP *));
      |                                                         ~^                                  ~~~~~~~~~~~~~~~~~~~
      |                                                          |                                      |
      |                                                          int                                    long long unsigned int
      |                                                         %lld
gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c between.c -o between.o
gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c bmerge.c -o bmerge.o
gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c chmatch.c -o chmatch.o
chmatch.c: In function 'chmatchMain':
chmatch.c:55:26: warning: argument 1 range [18446744071562067968, 18446744073709551615] exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=]
   55 |     int *map =    (int *)calloc(tablelen+nuniq, sizeof(int));  // +nuniq to store a 0 at the end of each group
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from c:/PROGRA~1/R/R-devel/include/R.h:43,
                 from data.table.h:2,
                 from chmatch.c:1:
c:\rtools43\x86_64-w64-mingw32.static.posix\include\stdlib.h:535:17: note: in a call to allocation function 'calloc' declared here
  535 |   void *__cdecl calloc(size_t _NumOfElements,size_t _SizeOfElements);
      |                 ^~~~~~
gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c cj.c -o cj.o
gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c coalesce.c -o coalesce.o
gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c dogroups.c -o dogroups.o
gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c fastmean.c -o fastmean.o
gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c fcast.c -o fcast.o
gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c fifelse.c -o fifelse.o
gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c fmelt.c -o fmelt.o
gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c forder.c -o forder.o
gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c frank.c -o frank.o
gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c fread.c -o fread.o
In file included from fread.h:3,
                 from fread.c:27:
dt_stdio.h:25: warning: "__USE_MINGW_ANSI_STDIO" redefined
   25 |   #define __USE_MINGW_ANSI_STDIO 1
      | 
In file included from c:\rtools43\x86_64-w64-mingw32.static.posix\include\corecrt.h:10,
                 from c:\rtools43\x86_64-w64-mingw32.static.posix\include\crtdefs.h:10,
                 from c:\rtools43\x86_64-w64-mingw32.static.posix\include\time.h:9,
                 from c:\rtools43\x86_64-w64-mingw32.static.posix\include\sys\time.h:10,
                 from fread.c:8:
c:\rtools43\x86_64-w64-mingw32.static.posix\include\_mingw.h:441: note: this is the location of the previous definition
  441 | #define __USE_MINGW_ANSI_STDIO 0      /* was not defined so it should be 0 */
      | 
fread.c: In function 'freadCleanup':
fread.c:143:32: warning: format '%d' expects argument of type 'int', but argument 2 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=]
  143 |         DTPRINT("System error %d unmapping view of file\n", GetLastError());      // # nocov
      |                               ~^                            ~~~~~~~~~~~~~~
      |                                |                            |
      |                                int                          DWORD {aka long unsigned int}
      |                               %ld
fread.c: In function 'freadMain':
fread.c:1118:38: warning: the comparison will always evaluate as 'false' for the pointer operand in 'nastr + 8' must not be NULL [-Waddress]
 1118 |       if (nastr==NAstrings && nastr+1==NULL) NAstrings=NULL;
      |                                      ^~
fread.c:1726:152: warning: format '%d' expects argument of type 'int', but argument 4 has type 'int64_t' {aka 'long long int'} [-Wformat=]
 1726 |         if (verbose) DTPRINT("  'header' determined to be true due to column %d containing a string on row 1 and a lower type (%s) in the rest of the %d sample rows\n",
      |                                                                                                                                                       ~^
      |                                                                                                                                                        |
      |                                                                                                                                                        int
      |                                                                                                                                                       %lld
 1727 |                              j+1, typeName[type[j]], sampleLines);
      |                                                      ~~~~~~~~~~~                                                                                        
      |                                                      |
      |                                                      int64_t {aka long long int}
gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c freadR.c -o freadR.o
gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c froll.c -o froll.o
gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c frollR.c -o frollR.o
In file included from data.table.h:1,
                 from frollR.c:2:
dt_stdio.h:25: warning: "__USE_MINGW_ANSI_STDIO" redefined
   25 |   #define __USE_MINGW_ANSI_STDIO 1
      | 
In file included from c:\rtools43\x86_64-w64-mingw32.static.posix\include\corecrt.h:10,
                 from c:\rtools43\x86_64-w64-mingw32.static.posix\include\crtdefs.h:10,
                 from c:\rtools43\x86_64-w64-mingw32.static.posix\include\stddef.h:7,
                 from c:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\stddef.h:1,
                 from c:/PROGRA~1/R/R-devel/include/R_ext/Memory.h:36,
                 from c:/PROGRA~1/R/R-devel/include/Rdefines.h:37,
                 from frollR.c:1:
c:\rtools43\x86_64-w64-mingw32.static.posix\include\_mingw.h:441: note: this is the location of the previous definition
  441 | #define __USE_MINGW_ANSI_STDIO 0      /* was not defined so it should be 0 */
      | 
gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c frolladaptive.c -o frolladaptive.o
gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c fsort.c -o fsort.o
fsort.c: In function 'fsort':
fsort.c:170:68: warning: format '%d' expects argument of type 'int', but argument 5 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
  170 |   if (verbose) Rprintf("maxBit=%d; MSBNbits=%d; shift=%d; MSBsize=%d\n", maxBit, MSBNbits, shift, MSBsize);
      |                                                                   ~^                              ~~~~~~~
      |                                                                    |                              |
      |                                                                    int                            size_t {aka long long unsigned int}
      |                                                                   %lld
fsort.c:248:38: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
  248 |       Rprintf("Reduced MSBsize from %d to ", MSBsize);
      |                                     ~^       ~~~~~~~
      |                                      |       |
      |                                      int     size_t {aka long long unsigned int}
      |                                     %lld
fsort.c:252:17: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
  252 |       Rprintf("%d by excluding 0 and 1 counts\n", MSBsize);
      |                ~^                                 ~~~~~~~
      |                 |                                 |
      |                 int                               size_t {aka long long unsigned int}
      |                %lld
gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c fwrite.c -o fwrite.o
fwrite.c: In function 'fwriteMain':
fwrite.c:622:50: warning: format '%d' expects argument of type 'int', but argument 3 has type 'void *' [-Wformat=]
  622 |     DTPRINT("\nargs.doRowNames=%d args.rowNames=%d doQuote=%d args.nrow=%"PRId64" args.ncol=%d eolLen=%d\n",
      |                                                 ~^
      |                                                  |
      |                                                  int
      |                                                 %p
  623 |           args.doRowNames, args.rowNames, doQuote, (int64_t)args.nrow, args.ncol, eolLen);
      |                            ~~~~~~~~~~~~~          
      |                                |
      |                                void *
fwrite.c:704:42: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
  704 |     if (!buff) STOP("Unable to allocate %d MiB for header: %s", headerLen / 1024 / 1024, strerror(errno));
      |                                         ~^                      ~~~~~~~~~~~~~~~~~~~~~~~
      |                                          |                                       |
      |                                          int                                     size_t {aka long long unsigned int}
      |                                         %lld
fwrite.c:738:37: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
  738 |           STOP("Unable to allocate %d MiB for zbuffer: %s", zbuffSize / 1024 / 1024, strerror(errno));  // # nocov
      |                                    ~^                       ~~~~~~~~~~~~~~~~~~~~~~~
      |                                     |                                        |
      |                                     int                                      size_t {aka long long unsigned int}
      |                                    %lld
fwrite.c:801:31: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long unsigned int' [-Wformat=]
  801 |     STOP("Unable to allocate %d MB * %d thread buffers; '%d: %s'. Please read ?fwrite for nThread, buffMB and verbose options.",
      |                              ~^
      |                               |
      |                               int
      |                              %lld
  802 |          (size_t)buffSize/(1024^2), nth, errno, strerror(errno));
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~
      |                          |
      |                          long long unsigned int
fwrite.c:811:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long unsigned int' [-Wformat=]
  811 |       STOP("Unable to allocate %d MB * %d thread compressed buffers; '%d: %s'. Please read ?fwrite for nThread, buffMB and verbose options.",
      |                                ~^
      |                                 |
      |                                 int
      |                                %lld
  812 |          (size_t)zbuffSize/(1024^2), nth, errno, strerror(errno));
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                           |
      |                           long long unsigned int
gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c fwriteR.c -o fwriteR.o
fwriteR.c: In function 'fwriteR':
fwriteR.c:234:77: warning: format '%d' expects argument of type 'int', but argument 4 has type 'int64_t' {aka 'long long int'} [-Wformat=]
  234 |       error("Column %d's length (%d) is not the same as column 1's length (%d)", j+1, length(column), args.nrow);
      |                                                                            ~^                         ~~~~~~~~~
      |                                                                             |                             |
      |                                                                             int                           int64_t {aka long long int}
      |                                                                            %lld
gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c gsumm.c -o gsumm.o
gsumm.c: In function 'gforce':
gsumm.c:89:75: warning: format '%d' expects argument of type 'int', but argument 6 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
   89 |     error("Internal error: nrow=%d  ngrp=%d  nbit=%d  shift=%d  highSize=%d  nBatch=%d  batchSize=%d  lastBatchSize=%d\n",  // # nocov
      |                                                                          ~^
      |                                                                           |
      |                                                                           int
      |                                                                          %lld
   90 |            nrow, ngrp, nb, shift, highSize, nBatch, batchSize, lastBatchSize);                                              // # nocov
      |                                   ~~~~~~~~                                 
      |                                   |
      |                                   size_t {aka long long unsigned int}
gsumm.c:89:86: warning: format '%d' expects argument of type 'int', but argument 7 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
   89 |     error("Internal error: nrow=%d  ngrp=%d  nbit=%d  shift=%d  highSize=%d  nBatch=%d  batchSize=%d  lastBatchSize=%d\n",  // # nocov
      |                                                                                     ~^
      |                                                                                      |
      |                                                                                      int
      |                                                                                     %lld
   90 |            nrow, ngrp, nb, shift, highSize, nBatch, batchSize, lastBatchSize);                                              // # nocov
      |                                             ~~~~~~                                    
      |                                             |
      |                                             size_t {aka long long unsigned int}
gsumm.c:89:100: warning: format '%d' expects argument of type 'int', but argument 8 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
   89 |     error("Internal error: nrow=%d  ngrp=%d  nbit=%d  shift=%d  highSize=%d  nBatch=%d  batchSize=%d  lastBatchSize=%d\n",  // # nocov
      |                                                                                                   ~^
      |                                                                                                    |
      |                                                                                                    int
      |                                                                                                   %lld
   90 |            nrow, ngrp, nb, shift, highSize, nBatch, batchSize, lastBatchSize);                                              // # nocov
      |                                                     ~~~~~~~~~                                       
      |                                                     |
      |                                                     size_t {aka long long unsigned int}
gsumm.c:89:118: warning: format '%d' expects argument of type 'int', but argument 9 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
   89 |     error("Internal error: nrow=%d  ngrp=%d  nbit=%d  shift=%d  highSize=%d  nBatch=%d  batchSize=%d  lastBatchSize=%d\n",  // # nocov
      |                                                                                                                     ~^
      |                                                                                                                      |
      |                                                                                                                      int
      |                                                                                                                     %lld
   90 |            nrow, ngrp, nb, shift, highSize, nBatch, batchSize, lastBatchSize);                                              // # nocov
      |                                                                ~~~~~~~~~~~~~                                          
      |                                                                |
      |                                                                size_t {aka long long unsigned int}
gsumm.c: In function 'gmean':
gsumm.c:609:43: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long unsigned int' [-Wformat=]
  609 |   if (!s) error("Unable to allocate %d * %d bytes for sum in gmean na.rm=TRUE", ngrp, sizeof(long double));
      |                                          ~^                                           ~~~~~~~~~~~~~~~~~~~
      |                                           |                                           |
      |                                           int                                         long long unsigned int
      |                                          %lld
gsumm.c:612:43: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long unsigned int' [-Wformat=]
  612 |   if (!c) error("Unable to allocate %d * %d bytes for counts in gmean na.rm=TRUE", ngrp, sizeof(int));
      |                                          ~^                                              ~~~~~~~~~~~
      |                                           |                                              |
      |                                           int                                            long long unsigned int
      |                                          %lld
gsumm.c:638:46: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long unsigned int' [-Wformat=]
  638 |     if (!si) error("Unable to allocate %d * %d bytes for si in gmean na.rm=TRUE", ngrp, sizeof(long double));
      |                                             ~^                                          ~~~~~~~~~~~~~~~~~~~
      |                                              |                                          |
      |                                              int                                        long long unsigned int
      |                                             %lld
gsumm.c: In function 'gprod':
gsumm.c:1412:43: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long unsigned int' [-Wformat=]
 1412 |   if (!s) error("Unable to allocate %d * %d bytes for gprod", ngrp, sizeof(long double));
      |                                          ~^                         ~~~~~~~~~~~~~~~~~~~
      |                                           |                         |
      |                                           int                       long long unsigned int
      |                                          %lld
gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c ijoin.c -o ijoin.o
ijoin.c: In function 'overlaps':
ijoin.c:323:20: warning: too many arguments for format [-Wformat-extra-args]
  323 |     default: error("Internal error: unknown type in mult=ALL in overlaps: %d", mult, type); // #nocov
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c init.c -o init.o
init.c: In function 'setSizes':
init.c:231:46: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long unsigned int' [-Wformat=]
  231 |   if (sizeof(char *)>8) error("Pointers are %d bytes, greater than 8. We have not tested on any architecture greater than 64bit yet.", sizeof(char *));
      |                                             ~^                                                                                         ~~~~~~~~~~~~~~
      |                                              |                                                                                         |
      |                                              int                                                                                       long long unsigned int
      |                                             %lld
init.c: In function 'R_init_data_table_e0140eafa07ad39a7ac9d67737cc43c4c95ca935':
init.c:244:55: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long unsigned int' [-Wformat=]
  244 |   if (sizeof(int) != 4) error("Checking sizeof(int) [%d] is 4 %s", sizeof(int), msg);
      |                                                      ~^            ~~~~~~~~~~~
      |                                                       |            |
      |                                                       int          long long unsigned int
      |                                                      %lld
init.c:245:61: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long unsigned int' [-Wformat=]
  245 |   if (sizeof(double) != 8) error("Checking sizeof(double) [%d] is 8 %s", sizeof(double), msg);     // 8 on both 32bit and 64bit
      |                                                            ~^            ~~~~~~~~~~~~~~
      |                                                             |            |
      |                                                             int          long long unsigned int
      |                                                            %lld
init.c:247:67: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long unsigned int' [-Wformat=]
  247 |   if (sizeof(long long) != 8) error("Checking sizeof(long long) [%d] is 8 %s", sizeof(long long), msg);
      |                                                                  ~^            ~~~~~~~~~~~~~~~~~
      |                                                                   |            |
      |                                                                   int          long long unsigned int
      |                                                                  %lld
init.c:248:85: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long unsigned int' [-Wformat=]
  248 |   if (sizeof(char *) != 4 && sizeof(char *) != 8) error("Checking sizeof(pointer) [%d] is 4 or 8 %s", sizeof(char *), msg);
      |                                                                                    ~^                 ~~~~~~~~~~~~~~
      |                                                                                     |                 |
      |                                                                                     int               long long unsigned int
      |                                                                                    %lld
init.c:249:70: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long unsigned int' [-Wformat=]
  249 |   if (sizeof(SEXP) != sizeof(char *)) error("Checking sizeof(SEXP) [%d] == sizeof(pointer) [%d] %s", sizeof(SEXP), sizeof(char *), msg);
      |                                                                     ~^                               ~~~~~~~~~~~~
      |                                                                      |                               |
      |                                                                      int                             long long unsigned int
      |                                                                     %lld
init.c:249:94: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long unsigned int' [-Wformat=]
  249 |   if (sizeof(SEXP) != sizeof(char *)) error("Checking sizeof(SEXP) [%d] == sizeof(pointer) [%d] %s", sizeof(SEXP), sizeof(char *), msg);
      |                                                                                             ~^                     ~~~~~~~~~~~~~~
      |                                                                                              |                     |
      |                                                                                              int                   long long unsigned int
      |                                                                                             %lld
init.c:250:65: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long unsigned int' [-Wformat=]
  250 |   if (sizeof(uint64_t) != 8) error("Checking sizeof(uint64_t) [%d] is 8 %s", sizeof(uint64_t), msg);
      |                                                                ~^            ~~~~~~~~~~~~~~~~
      |                                                                 |            |
      |                                                                 int          long long unsigned int
      |                                                                %lld
init.c:251:63: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long unsigned int' [-Wformat=]
  251 |   if (sizeof(int64_t) != 8) error("Checking sizeof(int64_t) [%d] is 8 %s", sizeof(int64_t), msg);
      |                                                              ~^            ~~~~~~~~~~~~~~~
      |                                                               |            |
      |                                                               int          long long unsigned int
      |                                                              %lld
init.c:252:71: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long unsigned int' [-Wformat=]
  252 |   if (sizeof(signed char) != 1) error("Checking sizeof(signed char) [%d] is 1 %s", sizeof(signed char), msg);
      |                                                                      ~^            ~~~~~~~~~~~~~~~~~~~
      |                                                                       |            |
      |                                                                       int          long long unsigned int
      |                                                                      %lld
init.c:253:61: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long unsigned int' [-Wformat=]
  253 |   if (sizeof(int8_t) != 1) error("Checking sizeof(int8_t) [%d] is 1 %s", sizeof(int8_t), msg);
      |                                                            ~^            ~~~~~~~~~~~~~~
      |                                                             |            |
      |                                                             int          long long unsigned int
      |                                                            %lld
init.c:254:63: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long unsigned int' [-Wformat=]
  254 |   if (sizeof(uint8_t) != 1) error("Checking sizeof(uint8_t) [%d] is 1 %s", sizeof(uint8_t), msg);
      |                                                              ~^            ~~~~~~~~~~~~~~~
      |                                                               |            |
      |                                                               int          long long unsigned int
      |                                                              %lld
init.c:255:63: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long unsigned int' [-Wformat=]
  255 |   if (sizeof(int16_t) != 2) error("Checking sizeof(int16_t) [%d] is 2 %s", sizeof(int16_t), msg);
      |                                                              ~^            ~~~~~~~~~~~~~~~
      |                                                               |            |
      |                                                               int          long long unsigned int
      |                                                              %lld
init.c:256:65: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long unsigned int' [-Wformat=]
  256 |   if (sizeof(uint16_t) != 2) error("Checking sizeof(uint16_t) [%d] is 2 %s", sizeof(uint16_t), msg);
      |                                                                ~^            ~~~~~~~~~~~~~~~~
      |                                                                 |            |
      |                                                                 int          long long unsigned int
      |                                                                %lld
init.c:260:79: warning: format '%d' expects argument of type 'int', but argument 2 has type 'R_xlen_t' {aka 'long long int'} [-Wformat=]
  260 |   if (TRUELENGTH(tmp)!=0) error("Checking TRUELENGTH(allocVector(INTSXP,2)) [%d] is 0 %s", TRUELENGTH(tmp), msg);
      |                                                                              ~^            ~~~~~~~~~~~~~~~
      |                                                                               |            |
      |                                                                               int          R_xlen_t {aka long long int}
      |                                                                              %lld
gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c inrange.c -o inrange.o
gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c nafill.c -o nafill.o
gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c nqrecreateindices.c -o nqrecreateindices.o
gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c openmp-utils.c -o openmp-utils.o
gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c quickselect.c -o quickselect.o
gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c rbindlist.c -o rbindlist.o
gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c reorder.c -o reorder.o
reorder.c: In function 'reorder':
reorder.c:17:80: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
   17 |         error("Item %d of list is type '%s' which isn't yet supported (SIZEOF=%d)", i+1, type2char(TYPEOF(v)), SIZEOF(v));
      |                                                                               ~^
      |                                                                                |
      |                                                                                int
      |                                                                               %lld
reorder.c:27:106: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
   27 |       error("reorder accepts vectors but this non-VECSXP is type '%s' which isn't yet supported (SIZEOF=%d)", type2char(TYPEOF(x)), SIZEOF(x));
      |                                                                                                         ~^
      |                                                                                                          |
      |                                                                                                          int
      |                                                                                                         %lld
reorder.c:57:45: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
   57 |   if (!TMP) error("Unable to allocate %d * %d bytes of working memory for reordering data.table", end-start+1, maxSize);
      |                                            ~^                                                                  ~~~~~~~
      |                                             |                                                                  |
      |                                             int                                                                size_t {aka long long unsigned int}
      |                                            %lld
gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c shift.c -o shift.o
gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c subset.c -o subset.o
gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c transpose.c -o transpose.o
gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c types.c -o types.o
In file included from data.table.h:1,
                 from types.c:2:
dt_stdio.h:25: warning: "__USE_MINGW_ANSI_STDIO" redefined
   25 |   #define __USE_MINGW_ANSI_STDIO 1
      | 
In file included from c:\rtools43\x86_64-w64-mingw32.static.posix\include\corecrt.h:10,
                 from c:\rtools43\x86_64-w64-mingw32.static.posix\include\crtdefs.h:10,
                 from c:\rtools43\x86_64-w64-mingw32.static.posix\include\stddef.h:7,
                 from c:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\stddef.h:1,
                 from c:/PROGRA~1/R/R-devel/include/R_ext/Memory.h:36,
                 from c:/PROGRA~1/R/R-devel/include/Rdefines.h:37,
                 from types.c:1:
c:\rtools43\x86_64-w64-mingw32.static.posix\include\_mingw.h:441: note: this is the location of the previous definition
  441 | #define __USE_MINGW_ANSI_STDIO 0      /* was not defined so it should be 0 */
      | 
gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c uniqlist.c -o uniqlist.o
gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c utils.c -o utils.o
gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c vecseq.c -o vecseq.o
gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c wrappers.c -o wrappers.o
gcc -shared -s -static-libgcc -o data.table.e0140eafa07ad39a7ac9d67737cc43c4c95ca935.dll tmp.def assign.o between.o bmerge.o chmatch.o cj.o coalesce.o dogroups.o fastmean.o fcast.o fifelse.o fmelt.o forder.o frank.o fread.o freadR.o froll.o frollR.o frolladaptive.o fsort.o fwrite.o fwriteR.o gsumm.o ijoin.o init.o inrange.o nafill.o nqrecreateindices.o openmp-utils.o quickselect.o rbindlist.o reorder.o shift.o subset.o transpose.o types.o uniqlist.o utils.o vecseq.o wrappers.o -fopenmp -lz -LC:/rtools43/x86_64-w64-mingw32.static.posix/lib/x64 -LC:/rtools43/x86_64-w64-mingw32.static.posix/lib -Lc:/PROGRA~1/R/R-devel/bin/x64 -lR
mv data.table.e0140eafa07ad39a7ac9d67737cc43c4c95ca935.dll datatable.dll
if [ "Windows_NT" != "Windows_NT" ] && [ `uname -s` = 'Darwin' ]; then install_name_tool -id datatable.dll datatable.dll; fi
installing to C:/Program Files/R/R-devel/library/00LOCK-data.table.e0140eafa07ad39a7ac9d67737cc43c4c95ca935/00new/data.table.e0140eafa07ad39a7ac9d67737cc43c4c95ca935/libs/x64
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
Error: package or namespace load failed for 'data.table.e0140eafa07ad39a7ac9d67737cc43c4c95ca935' in library.dynam(lib, package, package.lib):
 DLL 'data_table_e0140eafa07ad39a7ac9d67737cc43c4c95ca935' not found: maybe not installed for this architecture?
Error: loading failed
Execution halted
ERROR: loading failed
* removing 'C:/Program Files/R/R-devel/library/data.table.e0140eafa07ad39a7ac9d67737cc43c4c95ca935'
Error in atime_versions_install(Package, pkg.path, new.Package.vec, SHA.vec,  : 
  R CMD INSTALL C:\Users\th798\AppData\Local\Temp\Rtmpywt1lK\file314017947f8f/data.table.e0140eafa07ad39a7ac9d67737cc43c4c95ca935 returned error status code 1

this seems to be the same as the error you reported in your initial post in this issue?
this output seems to be different from the issue reported in Rdatatable/data.table#4788 (comment). the output above fails at the step "testing if installed package can be loaded from temporary location" whereas the other issue fails at the compilation (** libs) step. So that is not the same issue. Why did you write it was the same? Please clarify?

@tdhock
Copy link

tdhock commented Apr 2, 2024

this issue (DLL 'data_table_e0140eafa07ad39a7ac9d67737cc43c4c95ca935' not found: maybe not installed for this architecture?) can probably be fixed by changing pkg.edit.fun, maybe related to tdhock/atime#30?

@tdhock
Copy link

tdhock commented Apr 2, 2024

Finally the Regression commit gives the requested object could not be found, indicating that you need to find the PR and click the button to un-delete the branch which contains that commit.

@DorisAmoakohene
Copy link
Owner Author

DorisAmoakohene commented Apr 2, 2024



> uncommenting Before line gives output below
> 
> ```
> * installing to library 'C:/Program Files/R/R-devel/library'
> * installing *source* package 'data.table.e0140eafa07ad39a7ac9d67737cc43c4c95ca935' ...
> ** using staged installation
> 
>    **********************************************
>    WARNING: this package has a configure script
>          It probably needs manual configuration
>    **********************************************
> 
> 
> ** libs
> using C compiler: 'gcc.exe (GCC) 12.3.0'
> gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c assign.c -o assign.o
> assign.c: In function 'assign':
> assign.c:460:64: warning: format '%d' expects argument of type 'int', but argument 2 has type 'R_xlen_t' {aka 'long long int'} [-Wformat=]
>   460 |       error("Internal error: selfrefnames is ok but tl names [%d] != tl [%d]", TRUELENGTH(names), oldtncol);  // # nocov
>       |                                                               ~^               ~~~~~~~~~~~~~~~~~
>       |                                                                |               |
>       |                                                                int             R_xlen_t {aka long long int}
>       |                                                               %lld
> assign.c:640:33: warning: format '%d' expects a matching 'int' argument [-Wformat=]
>   640 |         error("Internal error: %d column numbers to delete not now in strictly increasing order. No-dups were checked earlier."); // # nocov
>       |                                ~^
>       |                                 |
>       |                                 int
> assign.c: In function 'memrecycle':
> assign.c:800:58: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long unsigned int' [-Wformat=]
>   800 |             error("Unable to allocate working memory of %d bytes to combine factor levels", nAdd*sizeof(SEXP *));
>       |                                                         ~^                                  ~~~~~~~~~~~~~~~~~~~
>       |                                                          |                                      |
>       |                                                          int                                    long long unsigned int
>       |                                                         %lld
> gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c between.c -o between.o
> gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c bmerge.c -o bmerge.o
> gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c chmatch.c -o chmatch.o
> chmatch.c: In function 'chmatchMain':
> chmatch.c:55:26: warning: argument 1 range [18446744071562067968, 18446744073709551615] exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=]
>    55 |     int *map =    (int *)calloc(tablelen+nuniq, sizeof(int));  // +nuniq to store a 0 at the end of each group
>       |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from c:/PROGRA~1/R/R-devel/include/R.h:43,
>                  from data.table.h:2,
>                  from chmatch.c:1:
> c:\rtools43\x86_64-w64-mingw32.static.posix\include\stdlib.h:535:17: note: in a call to allocation function 'calloc' declared here
>   535 |   void *__cdecl calloc(size_t _NumOfElements,size_t _SizeOfElements);
>       |                 ^~~~~~
> gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c cj.c -o cj.o
> gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c coalesce.c -o coalesce.o
> gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c dogroups.c -o dogroups.o
> gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c fastmean.c -o fastmean.o
> gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c fcast.c -o fcast.o
> gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c fifelse.c -o fifelse.o
> gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c fmelt.c -o fmelt.o
> gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c forder.c -o forder.o
> gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c frank.c -o frank.o
> gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c fread.c -o fread.o
> In file included from fread.h:3,
>                  from fread.c:27:
> dt_stdio.h:25: warning: "__USE_MINGW_ANSI_STDIO" redefined
>    25 |   #define __USE_MINGW_ANSI_STDIO 1
>       | 
> In file included from c:\rtools43\x86_64-w64-mingw32.static.posix\include\corecrt.h:10,
>                  from c:\rtools43\x86_64-w64-mingw32.static.posix\include\crtdefs.h:10,
>                  from c:\rtools43\x86_64-w64-mingw32.static.posix\include\time.h:9,
>                  from c:\rtools43\x86_64-w64-mingw32.static.posix\include\sys\time.h:10,
>                  from fread.c:8:
> c:\rtools43\x86_64-w64-mingw32.static.posix\include\_mingw.h:441: note: this is the location of the previous definition
>   441 | #define __USE_MINGW_ANSI_STDIO 0      /* was not defined so it should be 0 */
>       | 
> fread.c: In function 'freadCleanup':
> fread.c:143:32: warning: format '%d' expects argument of type 'int', but argument 2 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=]
>   143 |         DTPRINT("System error %d unmapping view of file\n", GetLastError());      // # nocov
>       |                               ~^                            ~~~~~~~~~~~~~~
>       |                                |                            |
>       |                                int                          DWORD {aka long unsigned int}
>       |                               %ld
> fread.c: In function 'freadMain':
> fread.c:1118:38: warning: the comparison will always evaluate as 'false' for the pointer operand in 'nastr + 8' must not be NULL [-Waddress]
>  1118 |       if (nastr==NAstrings && nastr+1==NULL) NAstrings=NULL;
>       |                                      ^~
> fread.c:1726:152: warning: format '%d' expects argument of type 'int', but argument 4 has type 'int64_t' {aka 'long long int'} [-Wformat=]
>  1726 |         if (verbose) DTPRINT("  'header' determined to be true due to column %d containing a string on row 1 and a lower type (%s) in the rest of the %d sample rows\n",
>       |                                                                                                                                                       ~^
>       |                                                                                                                                                        |
>       |                                                                                                                                                        int
>       |                                                                                                                                                       %lld
>  1727 |                              j+1, typeName[type[j]], sampleLines);
>       |                                                      ~~~~~~~~~~~                                                                                        
>       |                                                      |
>       |                                                      int64_t {aka long long int}
> gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c freadR.c -o freadR.o
> gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c froll.c -o froll.o
> gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c frollR.c -o frollR.o
> In file included from data.table.h:1,
>                  from frollR.c:2:
> dt_stdio.h:25: warning: "__USE_MINGW_ANSI_STDIO" redefined
>    25 |   #define __USE_MINGW_ANSI_STDIO 1
>       | 
> In file included from c:\rtools43\x86_64-w64-mingw32.static.posix\include\corecrt.h:10,
>                  from c:\rtools43\x86_64-w64-mingw32.static.posix\include\crtdefs.h:10,
>                  from c:\rtools43\x86_64-w64-mingw32.static.posix\include\stddef.h:7,
>                  from c:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\stddef.h:1,
>                  from c:/PROGRA~1/R/R-devel/include/R_ext/Memory.h:36,
>                  from c:/PROGRA~1/R/R-devel/include/Rdefines.h:37,
>                  from frollR.c:1:
> c:\rtools43\x86_64-w64-mingw32.static.posix\include\_mingw.h:441: note: this is the location of the previous definition
>   441 | #define __USE_MINGW_ANSI_STDIO 0      /* was not defined so it should be 0 */
>       | 
> gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c frolladaptive.c -o frolladaptive.o
> gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c fsort.c -o fsort.o
> fsort.c: In function 'fsort':
> fsort.c:170:68: warning: format '%d' expects argument of type 'int', but argument 5 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
>   170 |   if (verbose) Rprintf("maxBit=%d; MSBNbits=%d; shift=%d; MSBsize=%d\n", maxBit, MSBNbits, shift, MSBsize);
>       |                                                                   ~^                              ~~~~~~~
>       |                                                                    |                              |
>       |                                                                    int                            size_t {aka long long unsigned int}
>       |                                                                   %lld
> fsort.c:248:38: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
>   248 |       Rprintf("Reduced MSBsize from %d to ", MSBsize);
>       |                                     ~^       ~~~~~~~
>       |                                      |       |
>       |                                      int     size_t {aka long long unsigned int}
>       |                                     %lld
> fsort.c:252:17: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
>   252 |       Rprintf("%d by excluding 0 and 1 counts\n", MSBsize);
>       |                ~^                                 ~~~~~~~
>       |                 |                                 |
>       |                 int                               size_t {aka long long unsigned int}
>       |                %lld
> gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c fwrite.c -o fwrite.o
> fwrite.c: In function 'fwriteMain':
> fwrite.c:622:50: warning: format '%d' expects argument of type 'int', but argument 3 has type 'void *' [-Wformat=]
>   622 |     DTPRINT("\nargs.doRowNames=%d args.rowNames=%d doQuote=%d args.nrow=%"PRId64" args.ncol=%d eolLen=%d\n",
>       |                                                 ~^
>       |                                                  |
>       |                                                  int
>       |                                                 %p
>   623 |           args.doRowNames, args.rowNames, doQuote, (int64_t)args.nrow, args.ncol, eolLen);
>       |                            ~~~~~~~~~~~~~          
>       |                                |
>       |                                void *
> fwrite.c:704:42: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
>   704 |     if (!buff) STOP("Unable to allocate %d MiB for header: %s", headerLen / 1024 / 1024, strerror(errno));
>       |                                         ~^                      ~~~~~~~~~~~~~~~~~~~~~~~
>       |                                          |                                       |
>       |                                          int                                     size_t {aka long long unsigned int}
>       |                                         %lld
> fwrite.c:738:37: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
>   738 |           STOP("Unable to allocate %d MiB for zbuffer: %s", zbuffSize / 1024 / 1024, strerror(errno));  // # nocov
>       |                                    ~^                       ~~~~~~~~~~~~~~~~~~~~~~~
>       |                                     |                                        |
>       |                                     int                                      size_t {aka long long unsigned int}
>       |                                    %lld
> fwrite.c:801:31: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long unsigned int' [-Wformat=]
>   801 |     STOP("Unable to allocate %d MB * %d thread buffers; '%d: %s'. Please read ?fwrite for nThread, buffMB and verbose options.",
>       |                              ~^
>       |                               |
>       |                               int
>       |                              %lld
>   802 |          (size_t)buffSize/(1024^2), nth, errno, strerror(errno));
>       |          ~~~~~~~~~~~~~~~~~~~~~~~~~
>       |                          |
>       |                          long long unsigned int
> fwrite.c:811:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long unsigned int' [-Wformat=]
>   811 |       STOP("Unable to allocate %d MB * %d thread compressed buffers; '%d: %s'. Please read ?fwrite for nThread, buffMB and verbose options.",
>       |                                ~^
>       |                                 |
>       |                                 int
>       |                                %lld
>   812 |          (size_t)zbuffSize/(1024^2), nth, errno, strerror(errno));
>       |          ~~~~~~~~~~~~~~~~~~~~~~~~~~
>       |                           |
>       |                           long long unsigned int
> gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c fwriteR.c -o fwriteR.o
> fwriteR.c: In function 'fwriteR':
> fwriteR.c:234:77: warning: format '%d' expects argument of type 'int', but argument 4 has type 'int64_t' {aka 'long long int'} [-Wformat=]
>   234 |       error("Column %d's length (%d) is not the same as column 1's length (%d)", j+1, length(column), args.nrow);
>       |                                                                            ~^                         ~~~~~~~~~
>       |                                                                             |                             |
>       |                                                                             int                           int64_t {aka long long int}
>       |                                                                            %lld
> gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c gsumm.c -o gsumm.o
> gsumm.c: In function 'gforce':
> gsumm.c:89:75: warning: format '%d' expects argument of type 'int', but argument 6 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
>    89 |     error("Internal error: nrow=%d  ngrp=%d  nbit=%d  shift=%d  highSize=%d  nBatch=%d  batchSize=%d  lastBatchSize=%d\n",  // # nocov
>       |                                                                          ~^
>       |                                                                           |
>       |                                                                           int
>       |                                                                          %lld
>    90 |            nrow, ngrp, nb, shift, highSize, nBatch, batchSize, lastBatchSize);                                              // # nocov
>       |                                   ~~~~~~~~                                 
>       |                                   |
>       |                                   size_t {aka long long unsigned int}
> gsumm.c:89:86: warning: format '%d' expects argument of type 'int', but argument 7 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
>    89 |     error("Internal error: nrow=%d  ngrp=%d  nbit=%d  shift=%d  highSize=%d  nBatch=%d  batchSize=%d  lastBatchSize=%d\n",  // # nocov
>       |                                                                                     ~^
>       |                                                                                      |
>       |                                                                                      int
>       |                                                                                     %lld
>    90 |            nrow, ngrp, nb, shift, highSize, nBatch, batchSize, lastBatchSize);                                              // # nocov
>       |                                             ~~~~~~                                    
>       |                                             |
>       |                                             size_t {aka long long unsigned int}
> gsumm.c:89:100: warning: format '%d' expects argument of type 'int', but argument 8 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
>    89 |     error("Internal error: nrow=%d  ngrp=%d  nbit=%d  shift=%d  highSize=%d  nBatch=%d  batchSize=%d  lastBatchSize=%d\n",  // # nocov
>       |                                                                                                   ~^
>       |                                                                                                    |
>       |                                                                                                    int
>       |                                                                                                   %lld
>    90 |            nrow, ngrp, nb, shift, highSize, nBatch, batchSize, lastBatchSize);                                              // # nocov
>       |                                                     ~~~~~~~~~                                       
>       |                                                     |
>       |                                                     size_t {aka long long unsigned int}
> gsumm.c:89:118: warning: format '%d' expects argument of type 'int', but argument 9 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
>    89 |     error("Internal error: nrow=%d  ngrp=%d  nbit=%d  shift=%d  highSize=%d  nBatch=%d  batchSize=%d  lastBatchSize=%d\n",  // # nocov
>       |                                                                                                                     ~^
>       |                                                                                                                      |
>       |                                                                                                                      int
>       |                                                                                                                     %lld
>    90 |            nrow, ngrp, nb, shift, highSize, nBatch, batchSize, lastBatchSize);                                              // # nocov
>       |                                                                ~~~~~~~~~~~~~                                          
>       |                                                                |
>       |                                                                size_t {aka long long unsigned int}
> gsumm.c: In function 'gmean':
> gsumm.c:609:43: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long unsigned int' [-Wformat=]
>   609 |   if (!s) error("Unable to allocate %d * %d bytes for sum in gmean na.rm=TRUE", ngrp, sizeof(long double));
>       |                                          ~^                                           ~~~~~~~~~~~~~~~~~~~
>       |                                           |                                           |
>       |                                           int                                         long long unsigned int
>       |                                          %lld
> gsumm.c:612:43: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long unsigned int' [-Wformat=]
>   612 |   if (!c) error("Unable to allocate %d * %d bytes for counts in gmean na.rm=TRUE", ngrp, sizeof(int));
>       |                                          ~^                                              ~~~~~~~~~~~
>       |                                           |                                              |
>       |                                           int                                            long long unsigned int
>       |                                          %lld
> gsumm.c:638:46: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long unsigned int' [-Wformat=]
>   638 |     if (!si) error("Unable to allocate %d * %d bytes for si in gmean na.rm=TRUE", ngrp, sizeof(long double));
>       |                                             ~^                                          ~~~~~~~~~~~~~~~~~~~
>       |                                              |                                          |
>       |                                              int                                        long long unsigned int
>       |                                             %lld
> gsumm.c: In function 'gprod':
> gsumm.c:1412:43: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long unsigned int' [-Wformat=]
>  1412 |   if (!s) error("Unable to allocate %d * %d bytes for gprod", ngrp, sizeof(long double));
>       |                                          ~^                         ~~~~~~~~~~~~~~~~~~~
>       |                                           |                         |
>       |                                           int                       long long unsigned int
>       |                                          %lld
> gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c ijoin.c -o ijoin.o
> ijoin.c: In function 'overlaps':
> ijoin.c:323:20: warning: too many arguments for format [-Wformat-extra-args]
>   323 |     default: error("Internal error: unknown type in mult=ALL in overlaps: %d", mult, type); // #nocov
>       |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c init.c -o init.o
> init.c: In function 'setSizes':
> init.c:231:46: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long unsigned int' [-Wformat=]
>   231 |   if (sizeof(char *)>8) error("Pointers are %d bytes, greater than 8. We have not tested on any architecture greater than 64bit yet.", sizeof(char *));
>       |                                             ~^                                                                                         ~~~~~~~~~~~~~~
>       |                                              |                                                                                         |
>       |                                              int                                                                                       long long unsigned int
>       |                                             %lld
> init.c: In function 'R_init_data_table_e0140eafa07ad39a7ac9d67737cc43c4c95ca935':
> init.c:244:55: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long unsigned int' [-Wformat=]
>   244 |   if (sizeof(int) != 4) error("Checking sizeof(int) [%d] is 4 %s", sizeof(int), msg);
>       |                                                      ~^            ~~~~~~~~~~~
>       |                                                       |            |
>       |                                                       int          long long unsigned int
>       |                                                      %lld
> init.c:245:61: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long unsigned int' [-Wformat=]
>   245 |   if (sizeof(double) != 8) error("Checking sizeof(double) [%d] is 8 %s", sizeof(double), msg);     // 8 on both 32bit and 64bit
>       |                                                            ~^            ~~~~~~~~~~~~~~
>       |                                                             |            |
>       |                                                             int          long long unsigned int
>       |                                                            %lld
> init.c:247:67: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long unsigned int' [-Wformat=]
>   247 |   if (sizeof(long long) != 8) error("Checking sizeof(long long) [%d] is 8 %s", sizeof(long long), msg);
>       |                                                                  ~^            ~~~~~~~~~~~~~~~~~
>       |                                                                   |            |
>       |                                                                   int          long long unsigned int
>       |                                                                  %lld
> init.c:248:85: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long unsigned int' [-Wformat=]
>   248 |   if (sizeof(char *) != 4 && sizeof(char *) != 8) error("Checking sizeof(pointer) [%d] is 4 or 8 %s", sizeof(char *), msg);
>       |                                                                                    ~^                 ~~~~~~~~~~~~~~
>       |                                                                                     |                 |
>       |                                                                                     int               long long unsigned int
>       |                                                                                    %lld
> init.c:249:70: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long unsigned int' [-Wformat=]
>   249 |   if (sizeof(SEXP) != sizeof(char *)) error("Checking sizeof(SEXP) [%d] == sizeof(pointer) [%d] %s", sizeof(SEXP), sizeof(char *), msg);
>       |                                                                     ~^                               ~~~~~~~~~~~~
>       |                                                                      |                               |
>       |                                                                      int                             long long unsigned int
>       |                                                                     %lld
> init.c:249:94: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long unsigned int' [-Wformat=]
>   249 |   if (sizeof(SEXP) != sizeof(char *)) error("Checking sizeof(SEXP) [%d] == sizeof(pointer) [%d] %s", sizeof(SEXP), sizeof(char *), msg);
>       |                                                                                             ~^                     ~~~~~~~~~~~~~~
>       |                                                                                              |                     |
>       |                                                                                              int                   long long unsigned int
>       |                                                                                             %lld
> init.c:250:65: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long unsigned int' [-Wformat=]
>   250 |   if (sizeof(uint64_t) != 8) error("Checking sizeof(uint64_t) [%d] is 8 %s", sizeof(uint64_t), msg);
>       |                                                                ~^            ~~~~~~~~~~~~~~~~
>       |                                                                 |            |
>       |                                                                 int          long long unsigned int
>       |                                                                %lld
> init.c:251:63: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long unsigned int' [-Wformat=]
>   251 |   if (sizeof(int64_t) != 8) error("Checking sizeof(int64_t) [%d] is 8 %s", sizeof(int64_t), msg);
>       |                                                              ~^            ~~~~~~~~~~~~~~~
>       |                                                               |            |
>       |                                                               int          long long unsigned int
>       |                                                              %lld
> init.c:252:71: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long unsigned int' [-Wformat=]
>   252 |   if (sizeof(signed char) != 1) error("Checking sizeof(signed char) [%d] is 1 %s", sizeof(signed char), msg);
>       |                                                                      ~^            ~~~~~~~~~~~~~~~~~~~
>       |                                                                       |            |
>       |                                                                       int          long long unsigned int
>       |                                                                      %lld
> init.c:253:61: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long unsigned int' [-Wformat=]
>   253 |   if (sizeof(int8_t) != 1) error("Checking sizeof(int8_t) [%d] is 1 %s", sizeof(int8_t), msg);
>       |                                                            ~^            ~~~~~~~~~~~~~~
>       |                                                             |            |
>       |                                                             int          long long unsigned int
>       |                                                            %lld
> init.c:254:63: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long unsigned int' [-Wformat=]
>   254 |   if (sizeof(uint8_t) != 1) error("Checking sizeof(uint8_t) [%d] is 1 %s", sizeof(uint8_t), msg);
>       |                                                              ~^            ~~~~~~~~~~~~~~~
>       |                                                               |            |
>       |                                                               int          long long unsigned int
>       |                                                              %lld
> init.c:255:63: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long unsigned int' [-Wformat=]
>   255 |   if (sizeof(int16_t) != 2) error("Checking sizeof(int16_t) [%d] is 2 %s", sizeof(int16_t), msg);
>       |                                                              ~^            ~~~~~~~~~~~~~~~
>       |                                                               |            |
>       |                                                               int          long long unsigned int
>       |                                                              %lld
> init.c:256:65: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long unsigned int' [-Wformat=]
>   256 |   if (sizeof(uint16_t) != 2) error("Checking sizeof(uint16_t) [%d] is 2 %s", sizeof(uint16_t), msg);
>       |                                                                ~^            ~~~~~~~~~~~~~~~~
>       |                                                                 |            |
>       |                                                                 int          long long unsigned int
>       |                                                                %lld
> init.c:260:79: warning: format '%d' expects argument of type 'int', but argument 2 has type 'R_xlen_t' {aka 'long long int'} [-Wformat=]
>   260 |   if (TRUELENGTH(tmp)!=0) error("Checking TRUELENGTH(allocVector(INTSXP,2)) [%d] is 0 %s", TRUELENGTH(tmp), msg);
>       |                                                                              ~^            ~~~~~~~~~~~~~~~
>       |                                                                               |            |
>       |                                                                               int          R_xlen_t {aka long long int}
>       |                                                                              %lld
> gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c inrange.c -o inrange.o
> gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c nafill.c -o nafill.o
> gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c nqrecreateindices.c -o nqrecreateindices.o
> gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c openmp-utils.c -o openmp-utils.o
> gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c quickselect.c -o quickselect.o
> gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c rbindlist.c -o rbindlist.o
> gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c reorder.c -o reorder.o
> reorder.c: In function 'reorder':
> reorder.c:17:80: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
>    17 |         error("Item %d of list is type '%s' which isn't yet supported (SIZEOF=%d)", i+1, type2char(TYPEOF(v)), SIZEOF(v));
>       |                                                                               ~^
>       |                                                                                |
>       |                                                                                int
>       |                                                                               %lld
> reorder.c:27:106: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
>    27 |       error("reorder accepts vectors but this non-VECSXP is type '%s' which isn't yet supported (SIZEOF=%d)", type2char(TYPEOF(x)), SIZEOF(x));
>       |                                                                                                         ~^
>       |                                                                                                          |
>       |                                                                                                          int
>       |                                                                                                         %lld
> reorder.c:57:45: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
>    57 |   if (!TMP) error("Unable to allocate %d * %d bytes of working memory for reordering data.table", end-start+1, maxSize);
>       |                                            ~^                                                                  ~~~~~~~
>       |                                             |                                                                  |
>       |                                             int                                                                size_t {aka long long unsigned int}
>       |                                            %lld
> gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c shift.c -o shift.o
> gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c subset.c -o subset.o
> gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c transpose.c -o transpose.o
> gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c types.c -o types.o
> In file included from data.table.h:1,
>                  from types.c:2:
> dt_stdio.h:25: warning: "__USE_MINGW_ANSI_STDIO" redefined
>    25 |   #define __USE_MINGW_ANSI_STDIO 1
>       | 
> In file included from c:\rtools43\x86_64-w64-mingw32.static.posix\include\corecrt.h:10,
>                  from c:\rtools43\x86_64-w64-mingw32.static.posix\include\crtdefs.h:10,
>                  from c:\rtools43\x86_64-w64-mingw32.static.posix\include\stddef.h:7,
>                  from c:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\stddef.h:1,
>                  from c:/PROGRA~1/R/R-devel/include/R_ext/Memory.h:36,
>                  from c:/PROGRA~1/R/R-devel/include/Rdefines.h:37,
>                  from types.c:1:
> c:\rtools43\x86_64-w64-mingw32.static.posix\include\_mingw.h:441: note: this is the location of the previous definition
>   441 | #define __USE_MINGW_ANSI_STDIO 0      /* was not defined so it should be 0 */
>       | 
> gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c uniqlist.c -o uniqlist.o
> gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c utils.c -o utils.o
> gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c vecseq.c -o vecseq.o
> gcc  -I"c:/PROGRA~1/R/R-devel/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c wrappers.c -o wrappers.o
> gcc -shared -s -static-libgcc -o data.table.e0140eafa07ad39a7ac9d67737cc43c4c95ca935.dll tmp.def assign.o between.o bmerge.o chmatch.o cj.o coalesce.o dogroups.o fastmean.o fcast.o fifelse.o fmelt.o forder.o frank.o fread.o freadR.o froll.o frollR.o frolladaptive.o fsort.o fwrite.o fwriteR.o gsumm.o ijoin.o init.o inrange.o nafill.o nqrecreateindices.o openmp-utils.o quickselect.o rbindlist.o reorder.o shift.o subset.o transpose.o types.o uniqlist.o utils.o vecseq.o wrappers.o -fopenmp -lz -LC:/rtools43/x86_64-w64-mingw32.static.posix/lib/x64 -LC:/rtools43/x86_64-w64-mingw32.static.posix/lib -Lc:/PROGRA~1/R/R-devel/bin/x64 -lR
> mv data.table.e0140eafa07ad39a7ac9d67737cc43c4c95ca935.dll datatable.dll
> if [ "Windows_NT" != "Windows_NT" ] && [ `uname -s` = 'Darwin' ]; then install_name_tool -id datatable.dll datatable.dll; fi
> installing to C:/Program Files/R/R-devel/library/00LOCK-data.table.e0140eafa07ad39a7ac9d67737cc43c4c95ca935/00new/data.table.e0140eafa07ad39a7ac9d67737cc43c4c95ca935/libs/x64
> ** R
> ** inst
> ** byte-compile and prepare package for lazy loading
> ** help
> *** installing help indices
> ** building package indices
> ** installing vignettes
> ** testing if installed package can be loaded from temporary location
> Error: package or namespace load failed for 'data.table.e0140eafa07ad39a7ac9d67737cc43c4c95ca935' in library.dynam(lib, package, package.lib):
>  DLL 'data_table_e0140eafa07ad39a7ac9d67737cc43c4c95ca935' not found: maybe not installed for this architecture?
> Error: loading failed
> Execution halted
> ERROR: loading failed
> * removing 'C:/Program Files/R/R-devel/library/data.table.e0140eafa07ad39a7ac9d67737cc43c4c95ca935'
> Error in atime_versions_install(Package, pkg.path, new.Package.vec, SHA.vec,  : 
>   R CMD INSTALL C:\Users\th798\AppData\Local\Temp\Rtmpywt1lK\file314017947f8f/data.table.e0140eafa07ad39a7ac9d67737cc43c4c95ca935 returned error status code 1
> ```
> 
> this seems to be the same as the error you reported in your initial post in this issue? this output seems to be different from the issue reported in [Rdatatable/data.table#4788 (comment)](https://github.com/Rdatatable/data.table/issues/4788#issuecomment-1818221383). the output above fails at the step "testing if installed package can be loaded from temporary location" whereas the other issue fails at the compilation (** libs) step. So that is not the same issue. Why did you write it was the same? Please clarify?

I think its same, since I am not able to  install the 1.12.8 tag from the data.table repository in both cases, despite the error messages being different.

@DorisAmoakohene
Copy link
Owner Author

I think its same, since I am not able to install the 1.12.8 tag from the data.table repository in both cases, despite the error messages being different.

@DorisAmoakohene
Copy link
Owner Author

I am running this


atime.list.4646 <- atime::atime_versions(
  pkg.path=tdir,
  pkg.edit.fun=function(old.Package, new.Package, sha, new.pkg.path){
    pkg_find_replace <- function(glob, FIND, REPLACE){
      atime::glob_find_replace(file.path(new.pkg.path, glob), FIND, REPLACE)
    }
    Package_regex <- gsub(".", "_?", old.Package, fixed=TRUE)
    Package_ <- gsub(".", "_", old.Package, fixed=TRUE)
    new.Package_ <- paste0(Package_, "_", sha)
    pkg_find_replace(
      "DESCRIPTION", 
      paste0("Package:\\s+", old.Package),
      paste("Package:", new.Package))
    pkg_find_replace(
      file.path("src","Makevars.*in"),
      Package_regex,
      new.Package_)
    pkg_find_replace(
      file.path("R", "onLoad.R"),
      Package_regex,
      new.Package_)
    pkg_find_replace(
      file.path("R", "onLoad.R"),
      sprintf('packageVersion\\("%s"\\)', old.Package),
      sprintf('packageVersion\\("%s"\\)', new.Package))
    pkg_find_replace(
      file.path("src", "init.c"),
      paste0("R_init_", Package_regex),
      paste0("R_init_", gsub("[.]", "_", new.Package_)))
    pkg_find_replace(
      "NAMESPACE",
      sprintf('useDynLib\\("?%s"?', Package_regex),
      paste0('useDynLib(', new.Package_))
  },
  N=10^seq(1,7),
  setup={ 
    set.seed(123L)
    n_nested = 40L
    dt = data.table(id = seq_len(N),
                    value = replicate(N, data.table(val1 = sample(n_nested)), simplify = FALSE))
  },
  expr=data.table:::`[.data.table`(dt,, value[[1L]], by = id),
  #"Before"="e0140eafa07ad39a7ac9d67737cc43c4c95ca935",#This is the commit tag 1.12.8(https://github.com/Rdatatable/data.table/tags)
  "Regression"="db618444a4d16b91cccf35d80fa3f306739dd571", #parent of the first commit in the PR that fixes the issue(https://github.com/Rdatatable/data.table/pull/4655/commits)
  "Fixed"="ec041f78691f9f9495c0f25b78109cd3f5295f4f") #This is the last commit in the PR that fixes the issue (https://github.com/Rdatatable/data.table/pull/4655/commits)

and I am able to run for regression and fixed

@DorisAmoakohene
Copy link
Owner Author

This is my output

* installing to library 'C:/Users/amoak/AppData/Local/R/win-library/4.3'
* installing *source* package 'data.table.db618444a4d16b91cccf35d80fa3f306739dd571' ...
** using staged installation

   **********************************************
   WARNING: this package has a configure script
         It probably needs manual configuration
   **********************************************


** libs
using C compiler: 'gcc.exe (GCC) 12.3.0'
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c assign.c -o assign.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c between.c -o between.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c bmerge.c -o bmerge.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c chmatch.c -o chmatch.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c cj.c -o cj.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c coalesce.c -o coalesce.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c dogroups.c -o dogroups.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c fastmean.c -o fastmean.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c fcast.c -o fcast.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c fifelse.c -o fifelse.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c fmelt.c -o fmelt.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c forder.c -o forder.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c frank.c -o frank.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c fread.c -o fread.o
In file included from fread.h:3,
                 from fread.c:27:
dt_stdio.h:25: warning: "__USE_MINGW_ANSI_STDIO" redefined
   25 |   #define __USE_MINGW_ANSI_STDIO 1
      | 
In file included from c:\rtools43\x86_64-w64-mingw32.static.posix\include\corecrt.h:10,
                 from c:\rtools43\x86_64-w64-mingw32.static.posix\include\crtdefs.h:10,
                 from c:\rtools43\x86_64-w64-mingw32.static.posix\include\time.h:9,
                 from c:\rtools43\x86_64-w64-mingw32.static.posix\include\sys\time.h:10,
                 from fread.c:8:
c:\rtools43\x86_64-w64-mingw32.static.posix\include\_mingw.h:441: note: this is the location of the previous definition
  441 | #define __USE_MINGW_ANSI_STDIO 0      /* was not defined so it should be 0 */
      | 
fread.c: In function 'freadMain':
fread.c:1278:38: warning: the comparison will always evaluate as 'false' for the pointer operand in 'nastr + 8' must not be NULL [-Waddress]
 1278 |       if (nastr==NAstrings && nastr+1==NULL) NAstrings=NULL;
      |                                      ^~
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c freadR.c -o freadR.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c froll.c -o froll.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c frollR.c -o frollR.o
In file included from data.table.h:1,
                 from frollR.c:2:
dt_stdio.h:25: warning: "__USE_MINGW_ANSI_STDIO" redefined
   25 |   #define __USE_MINGW_ANSI_STDIO 1
      | 
In file included from c:\rtools43\x86_64-w64-mingw32.static.posix\include\corecrt.h:10,
                 from c:\rtools43\x86_64-w64-mingw32.static.posix\include\crtdefs.h:10,
                 from c:\rtools43\x86_64-w64-mingw32.static.posix\include\stddef.h:7,
                 from c:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\stddef.h:1,
                 from C:/PROGRA~1/R/R-43~1.2/include/R_ext/Memory.h:36,
                 from C:/PROGRA~1/R/R-43~1.2/include/Rdefines.h:37,
                 from frollR.c:1:
c:\rtools43\x86_64-w64-mingw32.static.posix\include\_mingw.h:441: note: this is the location of the previous definition
  441 | #define __USE_MINGW_ANSI_STDIO 0      /* was not defined so it should be 0 */
      | 
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c frolladaptive.c -o frolladaptive.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c fsort.c -o fsort.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c fwrite.c -o fwrite.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c fwriteR.c -o fwriteR.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c gsumm.c -o gsumm.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c ijoin.c -o ijoin.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c init.c -o init.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c inrange.c -o inrange.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c nafill.c -o nafill.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c nqrecreateindices.c -o nqrecreateindices.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c openmp-utils.c -o openmp-utils.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c quickselect.c -o quickselect.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c rbindlist.c -o rbindlist.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c reorder.c -o reorder.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c shift.c -o shift.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c snprintf.c -o snprintf.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c subset.c -o subset.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c transpose.c -o transpose.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c types.c -o types.o
In file included from data.table.h:1,
                 from types.c:2:
dt_stdio.h:25: warning: "__USE_MINGW_ANSI_STDIO" redefined
   25 |   #define __USE_MINGW_ANSI_STDIO 1
      | 
In file included from c:\rtools43\x86_64-w64-mingw32.static.posix\include\corecrt.h:10,
                 from c:\rtools43\x86_64-w64-mingw32.static.posix\include\crtdefs.h:10,
                 from c:\rtools43\x86_64-w64-mingw32.static.posix\include\stddef.h:7,
                 from c:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\stddef.h:1,
                 from C:/PROGRA~1/R/R-43~1.2/include/R_ext/Memory.h:36,
                 from C:/PROGRA~1/R/R-43~1.2/include/Rdefines.h:37,
                 from types.c:1:
c:\rtools43\x86_64-w64-mingw32.static.posix\include\_mingw.h:441: note: this is the location of the previous definition
  441 | #define __USE_MINGW_ANSI_STDIO 0      /* was not defined so it should be 0 */
      | 
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c uniqlist.c -o uniqlist.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c utils.c -o utils.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c vecseq.c -o vecseq.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c wrappers.c -o wrappers.o
gcc -shared -s -static-libgcc -o data.table.db618444a4d16b91cccf35d80fa3f306739dd571.dll tmp.def assign.o between.o bmerge.o chmatch.o cj.o coalesce.o dogroups.o fastmean.o fcast.o fifelse.o fmelt.o forder.o frank.o fread.o freadR.o froll.o frollR.o frolladaptive.o fsort.o fwrite.o fwriteR.o gsumm.o ijoin.o init.o inrange.o nafill.o nqrecreateindices.o openmp-utils.o quickselect.o rbindlist.o reorder.o shift.o snprintf.o subset.o transpose.o types.o uniqlist.o utils.o vecseq.o wrappers.o -fopenmp -lz -LC:/rtools43/x86_64-w64-mingw32.static.posix/lib/x64 -LC:/rtools43/x86_64-w64-mingw32.static.posix/lib -LC:/PROGRA~1/R/R-43~1.2/bin/x64 -lR
mv data.table.db618444a4d16b91cccf35d80fa3f306739dd571.dll data_table_db618444a4d16b91cccf35d80fa3f306739dd571.dll
installing to C:/Users/amoak/AppData/Local/R/win-library/4.3/00LOCK-file31b05e1f1689.db618444a4d16b91cccf35d80fa3f306739dd571/00new/data.table.db618444a4d16b91cccf35d80fa3f306739dd571/libs/x64
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (data.table.db618444a4d16b91cccf35d80fa3f306739dd571)
Registered S3 methods overwritten by 'data.table.db618444a4d16b91cccf35d80fa3f306739dd571':
  method                   from                                               
  all.equal.data.table     data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
  [.data.table             data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
  [<-.data.table           data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
  $<-.data.table           data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
  print.data.table         data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
  as.data.frame.data.table data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
  as.list.data.table       data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
  as.matrix.data.table     data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
  cbind.data.table         data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
  rbind.data.table         data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
  dim.data.table           data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
  dimnames.data.table      data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
  dimnames<-.data.table    data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
  names<-.data.table       data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
  duplicated.data.table    data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
  unique.data.table        data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
  merge.data.table         data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
  subset.data.table        data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
  transform.data.table     data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
  within.data.table        data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
  is.na.data.table         data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
  format.data.table        data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
  Ops.data.table           data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
  anyDuplicated.data.table data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
  split.data.table         data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
  update.dev.pkg           data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
  tail.data.table          data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
  head.data.table          data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
  na.omit.data.table       data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
  [.ITime                  data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
  +.IDate                  data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
  -.IDate                  data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
  as.character.ITime       data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
  as.data.frame.ITime      data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
  as.Date.IDate            data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
  as.list.IDate            data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
  as.POSIXct.IDate         data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
  as.POSIXct.ITime         data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
  as.POSIXlt.ITime         data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
  c.IDate                  data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
  c.ITime                  data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
  cut.IDate                data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
  format.ITime             data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
  mean.IDate               data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
  mean.ITime               data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
  print.ITime              data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
  rep.IDate                data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
  rep.ITime                data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
  round.IDate              data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
  round.ITime              data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
  trunc.ITime              data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
  seq.IDate                data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
  seq.ITime                data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
  unique.IDate             data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
  unique.ITime             data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
  [<-.IDate                data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
  edit.data.table          data.table.4fd649ea54c582618015c6c66f15d8f65d3ca89c
Registered S3 methods overwritten by 'data.table.ec041f78691f9f9495c0f25b78109cd3f5295f4f':
  method                   from                                               
  all.equal.data.table     data.table.db618444a4d16b91cccf35d80fa3f306739dd571
  [.data.table             data.table.db618444a4d16b91cccf35d80fa3f306739dd571
  [<-.data.table           data.table.db618444a4d16b91cccf35d80fa3f306739dd571
  $<-.data.table           data.table.db618444a4d16b91cccf35d80fa3f306739dd571
  print.data.table         data.table.db618444a4d16b91cccf35d80fa3f306739dd571
  as.data.frame.data.table data.table.db618444a4d16b91cccf35d80fa3f306739dd571
  as.list.data.table       data.table.db618444a4d16b91cccf35d80fa3f306739dd571
  as.matrix.data.table     data.table.db618444a4d16b91cccf35d80fa3f306739dd571
  cbind.data.table         data.table.db618444a4d16b91cccf35d80fa3f306739dd571
  rbind.data.table         data.table.db618444a4d16b91cccf35d80fa3f306739dd571
  dim.data.table           data.table.db618444a4d16b91cccf35d80fa3f306739dd571
  dimnames.data.table      data.table.db618444a4d16b91cccf35d80fa3f306739dd571
  dimnames<-.data.table    data.table.db618444a4d16b91cccf35d80fa3f306739dd571
  names<-.data.table       data.table.db618444a4d16b91cccf35d80fa3f306739dd571
  duplicated.data.table    data.table.db618444a4d16b91cccf35d80fa3f306739dd571
  unique.data.table        data.table.db618444a4d16b91cccf35d80fa3f306739dd571
  merge.data.table         data.table.db618444a4d16b91cccf35d80fa3f306739dd571
  subset.data.table        data.table.db618444a4d16b91cccf35d80fa3f306739dd571
  transform.data.table     data.table.db618444a4d16b91cccf35d80fa3f306739dd571
  within.data.table        data.table.db618444a4d16b91cccf35d80fa3f306739dd571
  is.na.data.table         data.table.db618444a4d16b91cccf35d80fa3f306739dd571
  format.data.table        data.table.db618444a4d16b91cccf35d80fa3f306739dd571
  Ops.data.table           data.table.db618444a4d16b91cccf35d80fa3f306739dd571
  anyDuplicated.data.table data.table.db618444a4d16b91cccf35d80fa3f306739dd571
  split.data.table         data.table.db618444a4d16b91cccf35d80fa3f306739dd571
  update.dev.pkg           data.table.db618444a4d16b91cccf35d80fa3f306739dd571
  tail.data.table          data.table.db618444a4d16b91cccf35d80fa3f306739dd571
  head.data.table          data.table.db618444a4d16b91cccf35d80fa3f306739dd571
  na.omit.data.table       data.table.db618444a4d16b91cccf35d80fa3f306739dd571
  [.ITime                  data.table.db618444a4d16b91cccf35d80fa3f306739dd571
  +.IDate                  data.table.db618444a4d16b91cccf35d80fa3f306739dd571
  -.IDate                  data.table.db618444a4d16b91cccf35d80fa3f306739dd571
  as.character.ITime       data.table.db618444a4d16b91cccf35d80fa3f306739dd571
  as.data.frame.ITime      data.table.db618444a4d16b91cccf35d80fa3f306739dd571
  as.Date.IDate            data.table.db618444a4d16b91cccf35d80fa3f306739dd571
  as.list.IDate            data.table.db618444a4d16b91cccf35d80fa3f306739dd571
  as.POSIXct.IDate         data.table.db618444a4d16b91cccf35d80fa3f306739dd571
  as.POSIXct.ITime         data.table.db618444a4d16b91cccf35d80fa3f306739dd571
  as.POSIXlt.ITime         data.table.db618444a4d16b91cccf35d80fa3f306739dd571
  c.IDate                  data.table.db618444a4d16b91cccf35d80fa3f306739dd571
  c.ITime                  data.table.db618444a4d16b91cccf35d80fa3f306739dd571
  cut.IDate                data.table.db618444a4d16b91cccf35d80fa3f306739dd571
  format.ITime             data.table.db618444a4d16b91cccf35d80fa3f306739dd571
  mean.IDate               data.table.db618444a4d16b91cccf35d80fa3f306739dd571
  mean.ITime               data.table.db618444a4d16b91cccf35d80fa3f306739dd571
  print.ITime              data.table.db618444a4d16b91cccf35d80fa3f306739dd571
  rep.IDate                data.table.db618444a4d16b91cccf35d80fa3f306739dd571
  rep.ITime                data.table.db618444a4d16b91cccf35d80fa3f306739dd571
  round.IDate              data.table.db618444a4d16b91cccf35d80fa3f306739dd571
  round.ITime              data.table.db618444a4d16b91cccf35d80fa3f306739dd571
  trunc.ITime              data.table.db618444a4d16b91cccf35d80fa3f306739dd571
  seq.IDate                data.table.db618444a4d16b91cccf35d80fa3f306739dd571
  seq.ITime                data.table.db618444a4d16b91cccf35d80fa3f306739dd571
  unique.IDate             data.table.db618444a4d16b91cccf35d80fa3f306739dd571
  unique.ITime             data.table.db618444a4d16b91cccf35d80fa3f306739dd571
  [<-.IDate                data.table.db618444a4d16b91cccf35d80fa3f306739dd571
  edit.data.table          data.table.db618444a4d16b91cccf35d80fa3f306739dd571
Warning message:
Some expressions had a GC in every iteration; so filtering is disabled. 

@DorisAmoakohene
Copy link
Owner Author

atime list 4646

This is the result graph for running just Regress and fixed

@DorisAmoakohene
Copy link
Owner Author

DorisAmoakohene commented Apr 3, 2024

I installed the version 1.12.8 without atime and this is the result, it install well , which suggest that there is a problem with a atime, specifically the pkg edit fun

amoak@NanaAma MINGW64 ~/data.table ((1.12.8))
$ R CMD INSTALL .
* installing to library 'C:/Users/amoak/AppData/Local/R/win-library/4.3'
* installing *source* package 'data.table' ...
** using staged installation

   **********************************************
   WARNING: this package has a configure script
         It probably needs manual configuration
   **********************************************


** libs
using C compiler: 'gcc.exe (GCC) 12.3.0'
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c assign.c -o assign.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c between.c -o between.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c bmerge.c -o bmerge.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c chmatch.c -o chmatch.o
chmatch.c: In function 'chmatchMain':
chmatch.c:55:26: warning: argument 1 range [18446744071562067968, 18446744073709551615] exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=]
   55 |     int *map =    (int *)calloc(tablelen+nuniq, sizeof(int));  // +nuniq to store a 0 at the end of each group
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from C:/PROGRA~1/R/R-43~1.2/include/R.h:43,
                 from data.table.h:2,
                 from chmatch.c:1:
c:\rtools43\x86_64-w64-mingw32.static.posix\include\stdlib.h:535:17: note: in a call to allocation function 'calloc' declared here
  535 |   void *__cdecl calloc(size_t _NumOfElements,size_t _SizeOfElements);
      |                 ^~~~~~
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c cj.c -o cj.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c coalesce.c -o coalesce.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c dogroups.c -o dogroups.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c fastmean.c -o fastmean.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c fcast.c -o fcast.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c fifelse.c -o fifelse.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c fmelt.c -o fmelt.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c forder.c -o forder.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c frank.c -o frank.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c fread.c -o fread.o
In file included from fread.h:3,
                 from fread.c:27:
dt_stdio.h:25: warning: "__USE_MINGW_ANSI_STDIO" redefined
   25 |   #define __USE_MINGW_ANSI_STDIO 1
      |
In file included from c:\rtools43\x86_64-w64-mingw32.static.posix\include\corecrt.h:10,
                 from c:\rtools43\x86_64-w64-mingw32.static.posix\include\crtdefs.h:10,
                 from c:\rtools43\x86_64-w64-mingw32.static.posix\include\time.h:9,
                 from c:\rtools43\x86_64-w64-mingw32.static.posix\include\sys\time.h:10,
                 from fread.c:8:
c:\rtools43\x86_64-w64-mingw32.static.posix\include\_mingw.h:441: note: this is the location of the previous definition
  441 | #define __USE_MINGW_ANSI_STDIO 0      /* was not defined so it should be 0 */
      |
fread.c: In function 'freadMain':
fread.c:1118:38: warning: the comparison will always evaluate as 'false' for the pointer operand in 'nastr + 8' must not be NULL [-Waddress]
 1118 |       if (nastr==NAstrings && nastr+1==NULL) NAstrings=NULL;
      |                                      ^~
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c freadR.c -o freadR.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c froll.c -o froll.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c frollR.c -o frollR.o
In file included from data.table.h:1,
                 from frollR.c:2:
dt_stdio.h:25: warning: "__USE_MINGW_ANSI_STDIO" redefined
   25 |   #define __USE_MINGW_ANSI_STDIO 1
      |
In file included from c:\rtools43\x86_64-w64-mingw32.static.posix\include\corecrt.h:10,
                 from c:\rtools43\x86_64-w64-mingw32.static.posix\include\crtdefs.h:10,
                 from c:\rtools43\x86_64-w64-mingw32.static.posix\include\stddef.h:7,
                 from c:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\stddef.h:1,
                 from C:/PROGRA~1/R/R-43~1.2/include/R_ext/Memory.h:36,
                 from C:/PROGRA~1/R/R-43~1.2/include/Rdefines.h:37,
                 from frollR.c:1:
c:\rtools43\x86_64-w64-mingw32.static.posix\include\_mingw.h:441: note: this is the location of the previous definition
  441 | #define __USE_MINGW_ANSI_STDIO 0      /* was not defined so it should be 0 */
      |
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c frolladaptive.c -o frolladaptive.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c fsort.c -o fsort.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c fwrite.c -o fwrite.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c fwriteR.c -o fwriteR.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c gsumm.c -o gsumm.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c ijoin.c -o ijoin.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c init.c -o init.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c inrange.c -o inrange.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c nafill.c -o nafill.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c nqrecreateindices.c -o nqrecreateindices.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c openmp-utils.c -o openmp-utils.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c quickselect.c -o quickselect.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c rbindlist.c -o rbindlist.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c reorder.c -o reorder.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c shift.c -o shift.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c subset.c -o subset.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c transpose.c -o transpose.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c types.c -o types.o
In file included from data.table.h:1,
                 from types.c:2:
dt_stdio.h:25: warning: "__USE_MINGW_ANSI_STDIO" redefined
   25 |   #define __USE_MINGW_ANSI_STDIO 1
      |
In file included from c:\rtools43\x86_64-w64-mingw32.static.posix\include\corecrt.h:10,
                 from c:\rtools43\x86_64-w64-mingw32.static.posix\include\crtdefs.h:10,
                 from c:\rtools43\x86_64-w64-mingw32.static.posix\include\stddef.h:7,
                 from c:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\stddef.h:1,
                 from C:/PROGRA~1/R/R-43~1.2/include/R_ext/Memory.h:36,
                 from C:/PROGRA~1/R/R-43~1.2/include/Rdefines.h:37,
                 from types.c:1:
c:\rtools43\x86_64-w64-mingw32.static.posix\include\_mingw.h:441: note: this is the location of the previous definition
  441 | #define __USE_MINGW_ANSI_STDIO 0      /* was not defined so it should be 0 */
      |
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c uniqlist.c -o uniqlist.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c utils.c -o utils.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c vecseq.c -o vecseq.o
gcc  -I"C:/PROGRA~1/R/R-43~1.2/include" -DNDEBUG     -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c wrappers.c -o wrappers.o
gcc -shared -s -static-libgcc -o data.table.dll tmp.def assign.o between.o bmerge.o chmatch.o cj.o coalesce.o dogroups.o fastmean.o fcast.o fifelse.o fmelt.o forder.o frank.o fread.o freadR.o froll.o frollR.o frolladaptive.o fsort.o fwrite.o fwriteR.o gsumm.o ijoin.o init.o inrange.o nafill.o nqrecreateindices.o openmp-utils.o quickselect.o rbindlist.o reorder.o shift.o subset.o transpose.o types.o uniqlist.o utils.o vecseq.o wrappers.o -fopenmp -lz -LC:/rtools43/x86_64-w64-mingw32.static.posix/lib/x64 -LC:/rtools43/x86_64-w64-mingw32.static.posix/lib -LC:/PROGRA~1/R/R-43~1.2/bin/x64 -lR
mv data.table.dll datatable.dll
if [ "Windows_NT" != "Windows_NT" ] && [ `uname -s` = 'Darwin' ]; then install_name_tool -id datatable.dll datatable.dll; fi
installing to C:/Users/amoak/AppData/Local/R/win-library/4.3/00LOCK-data.table/00new/data.table/libs/x64
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (data.table)

amoak@NanaAma MINGW64 ~/data.table ((1.12.8))
$


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants