* installing *source* package 'pak' ...
** this is package 'pak' version '0.9.3'
** package 'pak' successfully unpacked and MD5 sums checked
** using staged installation
** Running ./configure
** libs
make[1]: Entering directory '/d/temp/2026_04_17_01_50_00_1722/RtmpKOgfpu/R.INSTALL184b478f83a90/pak/src'
Current platform: x86_64-w64-mingw32 
Build platform:   
Target platform:   

Compiling R6 

Compiling cli 
using C compiler: 'gcc.exe (GCC) 14.3.0'
make[2]: Entering directory '/d/temp/2026_04_17_01_50_00_1722/RtmpKOgfpu/R.INSTALL184b478f83a90/pak/src/library/cli/src'
gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG -I../inst/include    -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x  -mfpmath=sse -msse2 -mstackrealign   -c ansi.c -o ansi.o
gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG -I../inst/include    -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x  -mfpmath=sse -msse2 -mstackrealign   -c cleancall.c -o cleancall.o
cleancall.c: In function 'cleancall_init':
cleancall.c:39:28: error: implicit declaration of function 'Rf_findVar'; did you mean 'Rf_findFun'? [-Wimplicit-function-declaration]
   39 |   cleancall_fns_dot_call = Rf_findVar(Rf_install(".Call"), R_BaseEnv);
      |                            ^~~~~~~~~~
      |                            Rf_findFun
cleancall.c:39:26: error: assignment to 'SEXP' {aka 'struct SEXPREC *'} from 'int' makes pointer from integer without a cast [-Wint-conversion]
   39 |   cleancall_fns_dot_call = Rf_findVar(Rf_install(".Call"), R_BaseEnv);
      |                          ^
make[2]: *** [D:/RCompile/recent/R/etc/x64/Makeconf:297: cleancall.o] Error 1
make[2]: Leaving directory '/d/temp/2026_04_17_01_50_00_1722/RtmpKOgfpu/R.INSTALL184b478f83a90/pak/src/library/cli/src'
ERROR: compilation failed for package 'cli'
Error in install_one(pkg, lib = lib) : FAILED
Calls: install_embedded_main -> install_all -> install_one
Execution halted
make[1]: Leaving directory '/d/temp/2026_04_17_01_50_00_1722/RtmpKOgfpu/R.INSTALL184b478f83a90/pak/src'
make[1]: Entering directory '/d/temp/2026_04_17_01_50_00_1722/RtmpKOgfpu/R.INSTALL184b478f83a90/pak/src'
make[1]: Leaving directory '/d/temp/2026_04_17_01_50_00_1722/RtmpKOgfpu/R.INSTALL184b478f83a90/pak/src'
installing via 'install.libs.R' to d:/Rcompile/CRANpkg/lib/4.6/00LOCK-pak/00new/pak
Error in eval(ei, envir) : Compilation failed.
* removing 'd:/Rcompile/CRANpkg/lib/4.6/pak'
* restoring previous 'd:/Rcompile/CRANpkg/lib/4.6/pak'