* using log directory 'd:/Rcompile/CRANpkg/local/4.6/precondition.Rcheck' * using R version 4.6.0 beta (2026-04-16 r89899 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * current time: 2026-04-17 14:49:43 UTC * checking for file 'precondition/DESCRIPTION' ... OK * this is package 'precondition' version '0.1.0' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'precondition' can be installed ... ERROR Installation failed. See 'd:/Rcompile/CRANpkg/local/4.6/precondition.Rcheck/00install.out' for details. * DONE The installation logfile: * installing *source* package 'precondition' ... ** this is package 'precondition' version '0.1.0' ** package 'precondition' successfully unpacked and MD5 sums checked ** using staged installation ** libs using C compiler: 'gcc.exe (GCC) 14.3.0' make[1]: Entering directory '/d/temp/2026_04_17_01_50_00_1722/RtmpsXQUXK/R.INSTALL183b87d995b18/precondition/src' gcc -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x -mfpmath=sse -msse2 -mstackrealign -c precondition.c -o precondition.o precondition.c: In function 'diagnose_assertion_failure': precondition.c:22:6: error: implicit declaration of function 'Rf_findVarInFrame'; did you mean 'findVarInFrame'? [-Wimplicit-function-declaration] 22 | if(Rf_findVarInFrame(context_frame, install(".diagnostics")) != R_UnboundValue) { | ^~~~~~~~~~~~~~~~~ | findVarInFrame precondition.c:22:64: warning: comparison between pointer and integer 22 | if(Rf_findVarInFrame(context_frame, install(".diagnostics")) != R_UnboundValue) { | ^~ precondition.c: In function 'ffi_assert_all': precondition.c:59:15: error: initialization of 'SEXP' {aka 'struct SEXPREC *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 59 | SEXP dots = Rf_findVarInFrame(frame, R_DotsSymbol); | ^~~~~~~~~~~~~~~~~ precondition.c:71:29: error: implicit declaration of function 'R_PromiseExpr' [-Wimplicit-function-declaration] 71 | assertion_info.expr = R_PromiseExpr(arg); | ^~~~~~~~~~~~~ precondition.c:71:27: error: assignment to 'SEXP' {aka 'struct SEXPREC *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 71 | assertion_info.expr = R_PromiseExpr(arg); | ^ precondition.c:72:33: error: implicit declaration of function 'PRENV' [-Wimplicit-function-declaration] 72 | assertion_info.expr_env = PRENV(arg); | ^~~~~ precondition.c:72:31: error: assignment to 'SEXP' {aka 'struct SEXPREC *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 72 | assertion_info.expr_env = PRENV(arg); | ^ make[1]: *** [D:/RCompile/recent/R/etc/x64/Makeconf:297: precondition.o] Error 1 make[1]: Leaving directory '/d/temp/2026_04_17_01_50_00_1722/RtmpsXQUXK/R.INSTALL183b87d995b18/precondition/src' ERROR: compilation failed for package 'precondition' * removing 'd:/Rcompile/CRANpkg/lib/4.6/precondition' * restoring previous 'd:/Rcompile/CRANpkg/lib/4.6/precondition'