Closed mjutras-mitre closed 4 years ago
The java_option parameter to the get.indiv function may be set to anything. For example, I can call it with java_option = "-GarbageJavaOption" and it runs. It would be best to utilize match.arg ought to be used to ensure this isn't allowed.
https://github.com/verbal-autopsy-software/InSilicoVA/blob/7f770ac7ab8d82c1b9de25debc7e734f06273df8/InSilicoVA/R/get_indiv.r#L45
The java_option parameter to the get.indiv function may be set to anything. For example, I can call it with java_option = "-GarbageJavaOption" and it runs. It would be best to utilize match.arg ought to be used to ensure this isn't allowed.
https://github.com/verbal-autopsy-software/InSilicoVA/blob/7f770ac7ab8d82c1b9de25debc7e734f06273df8/InSilicoVA/R/get_indiv.r#L45