[R-pkg-devel] Handling ERROR on Solaris
Ralf Stubner
r@||@@tubner @end|ng |rom d@q@n@@com
Tue Mar 5 22:28:21 CET 2019
Dear List,
my recent upload of dqrng v0.1.0 has triggered an ERROR on Solaris:¹ One
of the new tests results in a segmentation fault. During this test some
C++ code is compiled using Rcpp::sourceCpp and the resulting functions
are being called for different input.
Unfortunately I cannot reproduce the error on rhub's Solaris machine.² I
find it interesting that on both platforms a (IMO false positive)
warning is emitted by the compiler, but the wording is quite different.
Does this mean that the C++ compiler from Oracle Developer Studio is
used on CRAN? From
https://www.stats.ox.ac.uk/pub/bdr/Rconfig/r-patched-solaris-x86 I had
gathered that g++ would be used for building packages that link with
Rcpp. But maybe that does not apply to code being compiled during tests
of such packages?
Anyway, I do not want to risk the package getting archived for failure
of fixing this cross-platform issue. Does anybody have suggestions for
reproducing such issues? Any other suggestions how to proceed?
Thanks
Ralf
[1] https://cran.r-project.org/web/checks/check_results_dqrng.html
[2]
https://artifacts.r-hub.io/dqrng_0.1.0.tar.gz-c6fb11ef8cef4098ba367bc6053a6e4d/dqrng.Rcheck/tests/testthat.Rout
--
Ralf Stubner
Senior Software Engineer / Trainer
daqana GmbH
Dortustraße 48
14467 Potsdam
T: +49 331 23 61 93 11
F: +49 331 23 61 93 90
M: +49 162 20 91 196
Mail: ralf.stubner using daqana.com
Sitz: Potsdam
Register: AG Potsdam HRB 27966
Ust.-IdNr.: DE300072622
Geschäftsführer: Dr.-Ing. Stefan Knirsch, Prof. Dr. Dr. Karl-Kuno Kunze
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://stat.ethz.ch/pipermail/r-package-devel/attachments/20190305/ee6f01e6/attachment.sig>
More information about the R-package-devel
mailing list