Gábor Csárdi
Gábor Csárdi
For there record, it seems like there is no `rstudioapi::executeCommand()` command that gives you the console width.
So what does this code do?
FWIW, if you are already using cli, you can call `cli:::rstudio_detect()$type` to detect RStudio. It should return `"rstudio_console_starting"` or `"rstudio_console"` when you run it from the profile.
> unless there are plans to make `cli::console_width()` to look in more places. Where?
A PR is welcome for this.
It is challenging to maintain a lot of workflows that are untested or lightly tested. Nevertheless, I would be happy to review a PR for such a workflow. I think...
This is coming from your code in the Rmd, so I suggest you try something very simple first, just to get the tooling right, and then use the full Rmd....
Are you on Windows? Unfortunately libcurl is not so great with proxies. Base R (i.e. remotes) can use native Windows HTTP APIs, which work seamlessly with proxies. If you are...
> callr is passing environment variables (HTTP_PROXY, HTTPS_PROXY, NO_PROXY, etc) to the subprocess, no? Not actively, no. But environment variables are inherited in general.
Do you still have issues with this?