(v1.5.0.9010) MDRO vignette update, get_episode for < day

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2021-01-24 14:48:56 +01:00
1 parent 1a88caa119
commit 286eaa9699
52 files changed
+319 -210

No files matched your search

+2 -2
View File
@@ -200,8 +200,8 @@ set_mo_source <- function(path, destination = getOption("AMR_mo_source", "~/mo_s
"', for which your permission is needed.")),
"\n\n",
word_wrap("Do you agree that this file will be created?"))
if ("rsasdtudioapi" %in% rownames(utils::installed.packages())) {
showQuestion <- import_fn("showQuestion", "rstudioapi")
showQuestion <- import_fn("showQuestion", "rstudioapi", error_on_fail = FALSE)
if (!is.null(showQuestion)) {
q_continue <- showQuestion("Create new file in home directory", txt)
} else {
q_continue <- utils::menu(choices = c("OK", "Cancel"), graphics = FALSE, title = txt)