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

SNPbin fix #86

Merged
merged 4 commits into from
Aug 18, 2015
Merged

SNPbin fix #86

merged 4 commits into from
Aug 18, 2015

Conversation

zkamvar
Copy link
Collaborator

@zkamvar zkamvar commented Aug 17, 2015

This will fix issue #83

I have changed the subsetter for both SNPbin and genlight objects.

@thibautjombart
Copy link
Owner

Apparently the checks failed. Fishing around in the long log:

* checking tests ... ERROR
Running the tests in ‘tests/testthat.R’ failed.
Last 13 lines of output:
  'citation()' on how to cite R or R packages in publications.

  Type 'demo()' for some demos, 'help()' for on-line help, or
  'help.start()' for an HTML browser interface to help.
  Type 'q()' to quit R.

  > library(testthat)
  > suppressPackageStartupMessages(library(adegenet))
  > test_check("adegenet")
  Loading required package: parallel
  Error in .check_ncores(cores) : 32 simultaneous processes spawned
  Calls: test_check ... initialize -> initialize -> .local -> mclapply -> .check_ncores
  Execution halted
* checking PDF version of manual ... OK
* DONE
Status: 1 ERROR, 3 NOTEs

Note the 32 cores used. This is really bad. We need to limit the number of cores used by default when using mclapply.

@zkamvar
Copy link
Collaborator Author

zkamvar commented Aug 18, 2015

That is frightening. I'll set parallel = FALSE on the genlight constructor and try again. Luckily none of these tests run on CRAN

This is because of failures in #86
@zkamvar
Copy link
Collaborator Author

zkamvar commented Aug 18, 2015

Hooray! Things are passing!

@thibautjombart
Copy link
Owner

=D

On Tue, Aug 18, 2015 at 4:48 PM, Zhian N. Kamvar notifications@github.com
wrote:

Hooray! Things are passing!


Reply to this email directly or view it on GitHub
#86 (comment)
.

thibautjombart added a commit that referenced this pull request Aug 18, 2015
@thibautjombart thibautjombart merged commit da6043a into master Aug 18, 2015
@thibautjombart
Copy link
Owner

Outstanding - thanks!

@thibautjombart thibautjombart deleted the SNPbin-fix branch August 18, 2015 16:05
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