Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PPS
PPS Data Management
Commits
2d587cd2
Commit
2d587cd2
authored
Oct 12, 2020
by
Languillaume, Antoine
Browse files
Find proper prompt behaviour when sourcing form url
parent
2e6c55cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
download_project.R
View file @
2d587cd2
...
...
@@ -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
)
{
message
(
"Yes/No:"
)
answer
<-
readline
()
message
(
"Yes/No:"
)
valid_answer
<-
answer
%in%
c
(
"Yes"
,
"No"
)
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment