Found the following significant warnings:
  corels.cpp:97:82: warning: unknown conversion type character 'z' in format [-Wformat=]
  corels.cpp:97:24: warning: too many arguments for format [-Wformat-extra-args]
  corels.cpp:213:61: warning: unknown conversion type character 'z' in format [-Wformat=]
  corels.cpp:213:24: warning: too many arguments for format [-Wformat-extra-args]
  corels.cpp:218:60: warning: unknown conversion type character 'z' in format [-Wformat=]
  corels.cpp:218:24: warning: too many arguments for format [-Wformat-extra-args]
  corels.cpp:230:28: warning: unknown conversion type character 'z' in format [-Wformat=]
  corels.cpp:230:39: warning: unknown conversion type character 'z' in format [-Wformat=]
  corels.cpp:230:51: warning: unknown conversion type character 'z' in format [-Wformat=]
  corels.cpp:230:62: warning: unknown conversion type character 'z' in format [-Wformat=]
  corels.cpp:230:81: warning: format '%f' expects argument of type 'double', but argument 2 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
  corels.cpp:230:20: warning: too many arguments for format [-Wformat-extra-args]
  corels.cpp:244:24: warning: unknown conversion type character 'z' in format [-Wformat=]
  corels.cpp:244:35: warning: unknown conversion type character 'z' in format [-Wformat=]
  corels.cpp:244:47: warning: unknown conversion type character 'z' in format [-Wformat=]
  corels.cpp:244:58: warning: unknown conversion type character 'z' in format [-Wformat=]
  corels.cpp:244:77: warning: format '%f' expects argument of type 'double', but argument 2 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
  corels.cpp:244:16: warning: too many arguments for format [-Wformat-extra-args]
  run.cpp:158:35: warning: unknown conversion type character 'z' in format [-Wformat=]
  run.cpp:158:16: warning: too many arguments for format [-Wformat-extra-args]
  run.cpp:159:39: warning: unknown conversion type character 'z' in format [-Wformat=]
  run.cpp:159:16: warning: too many arguments for format [-Wformat-extra-args]
See 'd:/Rcompile/CRANpkg/local/4.4/corels.Rcheck/00install.out' for details.
* used C++ compiler: 'g++.exe (GCC) 12.3.0'