Getting 'no package called qvalue' when try to use getJaccard, cardsort

Hello,
From the code that you shared, its not clear where functionality from a Jaccard package would be relevant.
I see that you have defined your own function , calling it getJaccard, which you then make use of in your cardsort function.

Its very unclear what circumstances the error you listed relate to. Does it relate to running just code you shared here. Or installing or attaching the jaccard package ?