(v1.4.0.9050) ab selectors base R

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2020-12-27 20:32:40 +01:00
1 parent 175e33abba
commit afc325c314
33 files changed
+88 -65

No files matched your search

+2 -2
View File
@@ -149,8 +149,8 @@ set_mo_source <- function(path, destination = getOption("AMR_mo_source", "~/mo_s
} else if (path %like% "[.]xlsx?$") {
# is Excel file (old or new)
read_excel <- import_fn("read_excel", "readxl")
df <- read_excel(path)
stop_ifnot_installed("readxl")
df <- readxl::read_excel(path)
} else if (path %like% "[.]tsv$") {
df <- utils::read.table(header = TRUE, sep = "\t", stringsAsFactors = FALSE)