В Wed, 26 Feb 2025 08:57:10 +0000
KABILAN S <kabilan151...@gmail.com> пишет:

> if I submit the package to CRAN, the example is not running and
> returning an error message. Even if I mention \donttest{} to avoid
> the automatic checking of example, the CRAN team members are not
> allowing.

Does it help to use if (reticulate::py_module_available(...)) { ... }
instead of \donttest{...} in your examples?

https://cran.r-project.org/web/packages/reticulate/vignettes/package.html#checking-and-testing-on-cran

-- 
Best regards,
Ivan

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to