1
當我提出我的包CRAN,它不與下面的警告通過自動傳入檢查:警告:GNU擴展
* checking whether package 'EpiILM' can be installed ... WARNING
Found the following significant warnings:
Warning: GNU Extension: Different type kinds at (1)
和相應的日誌文件說
Epimcmc.f95:440.25:
psi= min(1.0,exp(ratio))
1
Warning: GNU Extension: Different type kinds at (1)
當我測試我的軟件包使用R CMD CHECK和R CMD CHECK --as-cran,都不會產生警告或提示。我正在使用R版本3.3.2(2016-10-31) - 我的MacOS上的「Sincere Pumpkin Patch」,代碼使用Fortran 95編寫。
有什麼建議嗎?
謝謝。 '比率'和'psi'都是雙精度。將1.0更改爲1.0d0並查看結果如何。 – Vineetha
它的工作和包現在在CRAN上。 – Vineetha