if (FALSE) {
# Using an existing connection
con <- connect_to_motherduck("my_token")
show_current_user(.con = con, return = "msg")
# Let the function open a connection from a token
tbl <- show_current_user(motherduck_token = "my_token", return = "arg")
}
Run the code above in your browser using DataLab