CDK-R / cdkr

Integrating R and the CDK
https://cdk-r.github.io/cdkr/
42 stars 27 forks source link

unexpected error when file is not found #3

Closed egonw closed 13 years ago

egonw commented 13 years ago

mols <- load.molecules(molfiles=c("thisFileDoesNotExist.sdf"))

causes not a fail message, but this error:

Error in if (!file.exists(f) && !grep("http://", f)) stop(paste(f, ": Does not exist", : missing value where TRUE/FALSE needed

rajarshi commented 13 years ago

Thanks - fixed and pushed to github