The following code is part of a package that passes CRAN checks on macos and linux but fails on solaris. When I do a check on rhub using platform = solaris-x86-patched-ods i