Re: [R-pkg-devel] How do you make it possible to run the example that requires a Conda environment?

2025-03-11 Thread KABILAN S
Thank you Ivan and Uwe Ligges for your suggestions. I have used the `reticulate::py_module_available(...)) { ... } and it is working fine now. Also, my package was accepted by the CRAN. -- *Kabilan S*, Ph.D., Bioinformatics, ICAR - Indian Agricultural Statistics Research Institute (IASRI), New

[R-pkg-devel] How do you make it possible to run the example that requires a Conda environment?

2025-02-26 Thread KABILAN S
I have given an example in an R function which requires a Conda environment, tensorflow, keras, and pandas to run. I can run the example in my local system. But 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

[R-pkg-devel] How to solve this error while running python script in R environment?

2025-02-07 Thread KABILAN S
When I am creating the R package based on the python script, I am getting the below error while checking the package. * checking examples ... [60s] ERROR Running examples in 'transformerForecasting-Ex.R' failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "Chec