You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We discovered in r-lib/lifecycle#167 that cli::num_ansi_colors() is slow when called interactively in RStudio due to rstudioapi::versionInfo() being fairly slow. versionInfo() is slow due to having to call readCitationFile(), and in cli the citation bit isn't required at all. The only things it uses are the $version and the $mode.
getVersion() gives us fast (in theory, see #279) access to $version. It would be nice to also have getMode() that cli could use to have fast access to the $mode.
@kevinushey - Sorry to be that person 😬 but do we think this and #279 are going to be implemented in the foreseeable future? Experiencing very slow (relative) tibble printing for some things which I think is again down to cli::num_ansi_colors.
Similar to #279
We discovered in r-lib/lifecycle#167 that
cli::num_ansi_colors()
is slow when called interactively in RStudio due torstudioapi::versionInfo()
being fairly slow.versionInfo()
is slow due to having to callreadCitationFile()
, and in cli the citation bit isn't required at all. The only things it uses are the$version
and the$mode
.getVersion()
gives us fast (in theory, see #279) access to$version
. It would be nice to also havegetMode()
that cli could use to have fast access to the$mode
.The text was updated successfully, but these errors were encountered: