nimble-dev / nimble

The base NIMBLE package for R
http://R-nimble.org
BSD 3-Clause "New" or "Revised" License
160 stars 24 forks source link

warning with R CMD check under windows #1410

Closed paciorek closed 6 months ago

paciorek commented 10 months ago

We are getting this WARNING under Winbuilder's R CMD check on R-devel:

* checking whether package 'nimble' can be installed ... WARNING
Found the following significant warnings:
  nimDerivs_atomic_dyn_ind.cpp:53:16: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
  nimDerivs_atomic_dyn_ind.cpp:56:16: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
  nimDerivs_atomic_dyn_ind.cpp:81:16: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
  nimDerivs_atomic_dyn_ind.cpp:84:16: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
  RcppUtils.cpp:237:72: warning: unknown conversion type character 'w' in format [-Wformat=]
  RcppUtils.cpp:273:73: warning: unknown conversion type character 'w' in format [-Wformat=]

@perrydv can you take a look?

perrydv commented 10 months ago

I believe this is now fixed.