В Fri, 17 Mar 2023 10:19:37 +0000 "Ruff, Sergej" <sergej.r...@tiho-hannover.de> пишет:
> Thats the source of my worries. Will the same error appear when CRAN > checks the examples of my package? Or should I not be worried? Yes, part of CRAN checks is running your package without the packages listed under Suggests: https://www.stats.ox.ac.uk/pub/bdr/noSuggests/README.txt [*] See WRE 1.1.3.1 for the official guidance on how to handle optional dependencies that might not be installed: https://cran.r-project.org/doc/manuals/R-exts.html#Suggested-packages In short, your code should check the return value of requireNamespace('limma', quietly = TRUE) before trying to run code from it. Your code can (and probably should) raise an error if asked to do something using limma when it's not available, but then in your tests/vignettes/examples you should check whether limma is available before trying to run that code. -- Best regards, Ivan [*] See also: https://cran.r-project.org/web/checks/check_issue_kinds.html ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel