I have a question concerning environments in evaluating expressions. Specifically, I have a function bnlearn::cpdist that takes a logical expression as an argument. I wish to
I had an issue like this. I solved it with super assignation on the variable that was not found in my function.
var <<- 5