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
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
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