В Wed, 26 Feb 2025 08:57:10 +0000
KABILAN S <[email protected]> пишет:
> 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
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel