19 ноября 2023 г. 04:01:22 GMT+03:00, "Iago Giné-Vázquez" 
<iago.gin-...@protonmail.com> пишет:

>The package contains both C and Fortran code and in the criteria.c there is 
>only a sprintf use, as follows:
>
>sprintf(msg,"criteria: error (%d) -> %s\n", inErr, errStr);
>Rf_error(msg);

Rf_error() takes format arguments like sprintf(). It should be possible to call:

Rf_error("criteria: error (%d) -> %s", inErr, errStr);


-- 
Best regards,
Ivan

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to