Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use tidy version of coords (xrobin/pROC#54) #19

Merged
merged 1 commit into from Jun 10, 2019
Merged

Use tidy version of coords (xrobin/pROC#54) #19

merged 1 commit into from Jun 10, 2019

Conversation

xrobin
Copy link
Contributor

@xrobin xrobin commented Jun 9, 2019

An upcoming version of pROC (1.16) will feature backward incompatible changes in the coords function. In order to adhere to the principles of tidy datasets, the output will be transposed, and a data.frame returned instead of a matrix.

This PR sets the 'transpose' argument to 'coords' explicitly to ensure proper operation with current (1.15) and future versions of pROC.

I couldn't find any usage of the results, it seems they are only returned invisibly and not used anywhere in the package. However please note that they are now in a data.frame, and in transposed form. Scripts that would source this function outside of the package may have to be adapted too.

Copy link
Member

@lwaldron lwaldron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really appreciate the PR, @xrobin!

@lwaldron lwaldron merged commit 0ad9ff6 into waldronlab:master Jun 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants