dada2 error: rcpp/SparseArray

Hi All-
First post for me, and I'm super new to QIIME2, bash, and using an HPC, so I appreciate your patience!
I am trying to run denoise-paired in a slurm script on our HPC (a script that was working fine last week) and am now running into a consistent error. In short, the error reads:

Loading required package: Rcpp
Error: package or namespace load failed for ‘dada2’:
Functions found when exporting methods from the namespace ‘SparseArray’ which are not S4 generic: ‘crossprod’, ‘tcrossprod'

I have been using qiime2/2024.10, but I also tried 2025.5 and 2023.9. I tried this in a conda env, and just on the base HPC. I loaded older R, newer R, tried to update all these packages straight up and using bioconductor. Nothing has worked, and the problem remains.
Any help on troubleshooting, thoughts on what I'm doing wrong, advice on how to fix this would be appreciated. I hope it's something incredibly stupid and simple.

Hello @WeaselFox,

This post has a solution to a similar issue.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.