Bioconductor / bioc_mentorship_docs

Training materials for mentors and mentees
https://Bioconductor.github.io/bioc_mentorship_docs/
2 stars 1 forks source link

I have some test but it could crash R #3

Open llrs opened 3 years ago

llrs commented 3 years ago

Whether I should have an assert() in model.c or use some other error mechanism. If the assertion fails, it crashes R!! Would never happen to a user but can happen to a developer messing around with the model probabilities in that C file.


More checks better if this pass normally you should have them to ensure the quality of your package. If someone touches the internals of your package they should know what they are doing or contact the maintainer.