ropensci / lightr

Import spectral data and related metadata in R
https://docs.ropensci.org/lightr
GNU General Public License v2.0
13 stars 1 forks source link

Re-enable hash tests on 32bits machines #24

Closed Bisaloo closed 4 years ago

Bisaloo commented 4 years ago

I disabled hash tests on 32bits machines in a26fed7e. For some reason, hash computation differs on i386 on winbuilder on rhub (rhub::check_on_windows(check_args = "--force-multiarch")):

set.seed(20200328)
expect_known_hash(
  rnorm(100),
  "c304db5d84"
)

On i386:

Value hashes to d0a5b3ad98, not c304db5d84

It's not inherent to all 32bits systems though since the above test works fine on a raspberry pi.