(v2.1.1.9190) antibiotics deprecation in antibiogram()

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2025-03-09 10:41:11 +01:00
1 parent c7af397edf
commit a2c2be23c1
26 files changed
+203 -180

No files matched your search

+3 -1
View File
@@ -492,9 +492,11 @@ write_md5 <- function(object) {
close(conn)
}
changed_md5 <- function(object) {
path <- paste0("data-raw/", deparse(substitute(object)), ".md5")
if (!file.exists(path)) return(TRUE)
tryCatch(
{
conn <- file(paste0("data-raw/", deparse(substitute(object)), ".md5"))
conn <- file(path)
compared <- md5(object) != readLines(con = conn)
close(conn)
compared