Namespace dependencies not required: 'limma', 'survival'

I used check() function to check my package.
There is an error "Namespace dependencies not required: 'limma', 'survival'"
So what's the problem?

2 Likes

You have imported a function from limma or survival but have not put those packages in your DESCRIPTION file. You can use usethis::use_package("limma") etc. to add them to the file. See also the Automated checks section of the r-pkgs book.

4 Likes

Thank you ! Your solution helped me.

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