I’m completing some compatability testing within VS code for a package within python and R that has certain checkpoints as I run a function that compares the code. When the R code gets to a checkpoint that compares outputs after reading species ID’s,
I get this error: enter image description here
For reference this is the specific part of the R code that is reading this data and the corresponding “utils.R” file that contains the checkpoint.txt function: enter image description here
enter image description here
I previously tried altering the checkpoint.txt function to convert the S4 object so it could be handled by the cat function by changing it to this: enter image description here
but that just caused me to have errors later on as it went further through the checkpoints:
enter image description here
If anyone has any idea on how I can convert the S4 objects in order to be successfully handled by the cat function so that there are no errors with checkpoints later on, I’d really appreciate the help!
aman prasanna is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.