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

Modified unit test for differences #59

Closed
wants to merge 1 commit into from

Conversation

cmirzayi
Copy link

The current unit test for importBugSigDB() checks for a data.frame with at least 2000 rows. Since there is now a large difference between the devel version (~5,700 rows), Zenodo version (~3,500 rows), and Github hash (~2,200) rows), I created separate versions of checkImport() for these various versions.

This is in part to detect issues in the size of the export from BugSigDB which has been a recurring issue as of late.

@lgeistlinger
Copy link
Contributor

Thanks @cmirzayi. Can you modify the PR by adding an argument nrows = 2000 to the checkImport function, and then just call checkImport(bsdb, url, nrows = 3000) for zenodo, and checkImport(bsdb, url, nrows = 5700) for devel. This will be easier to maintain. Thanks!

@lgeistlinger
Copy link
Contributor

I expedited the incorporation of the PR in 5b35f87 given the upcoming new release. Thanks for the input @cmirzayi!

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.

2 participants