我正在编写一个包,它为SUNDIALS ODE解析库(用C编写)提供了一个接口。
之前我遇到了让我的软件包示例在Windows上运行(通过win-builder检查)的问题,但现在我可以让它在64位Windows上运行(参见上一篇文章here)。但是,同样的示例在32位平台上失败。为了运行示例,我不得不从C代码中删除一些宏并重新编写代码。
win-builder的结果可以在(从这篇文章的时间到期时间为72)到期时找到
https://win-builder.r-project.org/Vz5sDluhbG07
我不确定导致这种行为差异的原因是什么?任何人都可以指出我正确的方向,以及如何纠正这个问题?
可以在 - https://github.com/sn248/sundialr
找到包源我不确定这是否相关,但在R CMD check
上运行macOS
会给我以下警告
Status: 1 WARNING
checking compilation flags used ... WARNING
Compilation used the following non-portable flag(s):
‘-Wno-unused-function’ ‘-Wno-unused-variable’
including flag(s) suppressing warnings
此警告是否可能导致示例仅在32位Windows上运行?