[R-pkg-devel] Running tests on 32-bit and 64-bit

Duncan Murdoch murdoch.duncan at gmail.com
Mon Aug 17 11:14:37 CEST 2015

On 17/08/2015 5:03 AM, Thierry Onkelinx wrote:
> Dear all,
> Is there an easy way to run the tests of a package on both a 32-bit and
> 64-bit version? Ideally it should work when using R CMD check --as-cran on
> all OS's. Although I expect that multi architecture versions are only
> available on windows. So a Windows only solution will be fine as well.

> The origin of the problem is that I calculate some SHA1 hashed on objects
> containing floating point numbers. The floating points have different
> precision on 32-bit and 64-bit, and thus different hashes. I'm trying to
> work around that problem. And thus need an easy way to run tests on both
> 32-bit and 64-bit.

I'm not sure I see the problem.  If you install both the 32 and 64 bit
versions, then you can run whichever one you want. To run both, just
give the full path to the R.exe executables when you run the tests.

Duncan Murdoch

> Best regards,
> ir. Thierry Onkelinx
> Instituut voor natuur- en bosonderzoek / Research Institute for Nature and
> Forest
> team Biometrie & Kwaliteitszorg / team Biometrics & Quality Assurance
> Kliniekstraat 25
> 1070 Anderlecht
> Belgium
> To call in the statistician after the experiment is done may be no more
> than asking him to perform a post-mortem examination: he may be able to say
> what the experiment died of. ~ Sir Ronald Aylmer Fisher
> The plural of anecdote is not data. ~ Roger Brinner
> The combination of some data and an aching desire for an answer does not
> ensure that a reasonable answer can be extracted from a given body of data.
> ~ John Tukey
> 	[[alternative HTML version deleted]]
> ______________________________________________
> R-package-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel

More information about the R-package-devel mailing list