Re: [R] Error: if statement: missing value where TRUE/FALSE needed

2022-01-06 Thread Chuck Coleman via R-help
I added the sink() commands to capture the output I was seeing and saw no noticeable difference.  Granted, I didn't look too hard.  Still, the code ran for the usual time before the error.  Remove the print() commands and you'll probably the error in an entirely different iteration. Thanks for

Re: [R] Error: if statement: missing value where TRUE/FALSE needed

2022-01-06 Thread Chuck Coleman via R-help
I've created a git repository at  https://sourceforge.net/p/rhelp/code/ci/master/tree/.  I've used git before, so that's what I chose.  I had forgotten that sourceforge didn't have a download all files command.  I don't post files often. About the semantics of "crash":  Perhaps I'm showing my ag

[R] Error: if statement: missing value where TRUE/FALSE needed

2022-01-05 Thread Chuck Coleman via R-help
This is a rather complex error, for which I created  https://sourceforge.net/projects/rhelp/files/Metro/ to hold a minimal workspace with all files needed to make everything work.  I'm afraid I can't make a minimal example because the environment may be involved.  I suspect that it is an error w