-
Notifications
You must be signed in to change notification settings - Fork 5
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
Failed to run function getTable under certain condtion #2
Comments
Hi awesome..thanks for finding and fixing this bug :) let me know if you would like to make a pull request. Otherwise, I will incorporate the changes and release a new version in the next few days! best wishes |
Hi @chengmingbo I've actually noticed another additional bug with getTable. So I rewrote the function, fixed the bugs and also made it much faster. The new release includes all the edits: best wishes |
hi again @chengmingbo there was still a bug in there, not enough caffeine this morning :) - should be bug-free now as far as I can tell, but please let me know if it still breaks https://github.com/mahmoudibrahim/genesorteR/releases/tag/v0.4.1 best wishes |
Hi, Mahmoud, |
Hi Mahmoud, This bug may not be from your side, but it is related to the getTable() function and this is just so you are aware of it: When I run getTable(sg, pv), I get the following error -
I did some digging, and it goes back to the R version (I am running 3.4.3). This issue (r-spatial/mapview#177) references it as well. genesorteR is a great package, loved it! |
Hi Siddarth Thank you so much for looking into this, and for the suggestion! I wasn't aware of that R version issue. I will implement the change and release a new version in the next couple of days. Will update this issue then. best wishes |
Hi @sidwekhande I've now released a new version without the dependency on isFALSE: https://github.com/mahmoudibrahim/genesorteR/releases/tag/v0.4.2 if you are using an older version, please consider installing the newest version. best wishes |
Hi there,
Under certain condition, getTable function will throw an error.
The problem emerges when
machine[[i]] == character(0)
.I just fixed the problem by changing the code here:
The text was updated successfully, but these errors were encountered: