Skip to content

Synergyfinder package can turn off warnings for a current R session as (accidental) side effect #9

@bioinfomagician

Description

@bioinfomagician

Hello!

Thanks for this package! Very useful for examining synergistic effects. Howeer, while using this package I have noticed that it can cause some side effects since it can change the R scipen option or the warn option from the defaults that a user might normally be expecting. Turning off warnings is in particularly a bit of the more concerning side effect here. It looks like there is an attempt to return the warn option back on in this line of code, however this line never gets executed because it comes after a return call. Would it be possible to reverse the orders of line 520 and 521 in a future version of this package?

options(warn=warn)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions