-
Notifications
You must be signed in to change notification settings - Fork 93
/
Copy pathstartup.R
19 lines (16 loc) · 879 Bytes
/
startup.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# ---------------------------------------------------------------------------------------------
# Copyright (C) 2023 Posit Software, PBC. All rights reserved.
# ---------------------------------------------------------------------------------------------
# Tell cli that Positron's console supports colors.
# Requires cli >=3.6.1.9000 (https://github.com/r-lib/cli/pull/625)
options(cli.default_num_colors = 256L)
# Tell cli that Positron's console supports dynamic updates
# TODO: This would be better as `cli.default_dynamic`, but that doesn't exist
# yet.
options(cli.dynamic = TRUE)
# Tell cli what kind of hyperlinks are supported in the Positron console.
# TODO: These would be better as `cli.default_*`, but those don't exist yet.
options(cli.hyperlink = TRUE)
options(cli.hyperlink_run = TRUE)
options(cli.hyperlink_help = TRUE)
options(cli.hyperlink_vignette = TRUE)