I am developing a small package that uses one small
rcpp function to calculate a coordinate. The function is only a very few lines of code. The package builds fine on all systems, except on Solaris and Windows-oldrel.
The error occurs in my own
testthat function, where I test my function against fixed values.
Since the function is a very simple mathematical function, I have no idea what part of that math could go wrong on Windows Oldrel or solaris. I have tried running tests on
rhub, however without debugging into the code I really don't know what could be the problem.
Are there any changes between R 3.6 and R 4.0 that only matter on Windows and Solaris that could explain why a simple math function breaks?
Thanks for you time.
Btw. the package is http://github.com/sumidu/gghilbertstrings