[Rd] Linking to the BH package introduces CRAN warnings

kaveh vakili.kaveh.email at gmail.com
Tue Nov 4 21:52:53 CET 2014


Dear Romain,



                /You’re kind of out of luck. These functions are both:
                  - used by the boost headers
                  - forbidden by R, well at least forbidden by CRAN
                /

//

Thanks for conforming my earlier fears. Since I only use
this header and would like my package to eventually be
on CRAN, I was thinking of bypassing BH and just putting
these headers in the /inst directory and modifying them
to remove the offending calls. I was wondering what your
view on this is. Or perhaps there is a simpler alternative?

Thanks in advance,



On 2014-11-04 21:46, Romain François wrote:
>> Le 4 nov. 2014 à 15:42, Dirk Eddelbuettel <edd at debian.org> a écrit :
>>
>>
>> On 4 November 2014 at 14:37, kaveh wrote:
>> | Dear all,
>> |
>> | I'm working on a project that links to the BH package
>> | (http://cran.r-project.org/web/packages/BH/index.html).
>> |
>> | My packages doesn't call entry points which might terminate R nor
>> | write to stdout/stderr instead of to the console.
>> |
>> | However, it seems some of the codes in the BH package
>> | might. At any rate, when I include some boost headers such as
>> | boost/math/distributions/ through BH, I get the following warnings
>> |   when  submitting to the win-builder page:
>> |
>> |
>> |    Found '_ZSt4cerr', possibly from 'std::cerr' (C++)
>> |
>> |    Found 'abort', possibly from 'abort' (C), 'runtime' (Fortran)
>> |
>> |    Found '_ZSt4cerr', possibly from 'std::cerr' (C++)
>> |
>> |    Found 'abort', possibly from 'abort' (C), 'runtime' (Fortran)
> You’re kind of out of luck. These functions are both:
>   - used by the boost headers
>   - forbidden by R, well at least forbidden by CRAN
>


	[[alternative HTML version deleted]]



More information about the R-devel mailing list