Commit 2d587cd2 authored by Languillaume, Antoine's avatar Languillaume, Antoine
Browse files

Find proper prompt behaviour when sourcing form url

parent 2e6c55cd
......@@ -8,13 +8,13 @@ if(length(current_files) != 0){
message(paste0("Working directory is not empty. You might loose existing files.",
" \n",
"Are you sure you want to continue ?"))
"Are you sure you want to continue (Yes/No) ?"))
valid_answer <- FALSE
while(valid_answer == FALSE) {
answer <- readline()
valid_answer <- answer %in% c("Yes", "No")
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment