Skip to content

cli_alert_info() not showing in console before file.choose() #151

@MarkEdmondson1234

Description

@MarkEdmondson1234

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions