I have this code:
cli_alert_info("Select location of your client ID file:")
json <- file.choose()
The problem is the file.choose() launches before the message of the line above it (??) so people don't know why the window is opening :)
When the file is chosen, the message does display.
Are there any workarounds?
p.s. this happens for cat() too so is an R thing, not cli.
I have this code:
The problem is the
file.choose()launches before the message of the line above it (??) so people don't know why the window is opening :)When the file is chosen, the message does display.
Are there any workarounds?
p.s. this happens for cat() too so is an R thing, not cli.