[Bioc-devel] What to do about std::cerr/cout warnings in external libraries?

Vincent Carey stvjc at channing.harvard.edu
Tue Jun 20 12:03:19 CEST 2017


Have you looked at the Bioconductor package Rhtslib?

Is your package's source visible on github?  If so please provide the URL.

If not, please provide more details on the error messages observed.

It would seem to me that the best way to proceed would be to link to
Rhtslib.

On Tue, Jun 20, 2017 at 2:29 AM, Shian Su <su.s at wehi.edu.au> wrote:

> Hi all,
>
> I am using parts of htslib in a new package. R CMD check gives me warnings
> about R terminating entry points and such resulting from htslib’s calls. Is
> there a way to get around this or do I have to go into the source code of
> htslib and change all their calls.
>
> Also, Hadley’s best practices recommends using “error” instead of “exit”
> however I am using Rcpp to glue things together which only seems to provide
> “stop” for this purpose. Can exits be simply swapped out with Rcpp::stop?
>
> Kind regards,
> Shian Su
> _______________________________________________
> Bioc-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/bioc-devel

	[[alternative HTML version deleted]]



More information about the Bioc-devel mailing list