Colin Fay

Results 235 comments of Colin Fay

There is an internal function in shiny and markdown that does that. There are also a bunch of node js packages that do that so might be worth checking how...

You can also try with `httpuv::randomPort()`

I mean, if the port is not available, switch to a random port (if 4567 is important, if it's not, default to `randomPort()` )

That would work, but on a general basis, I prefer not to mess with environment variables :) Any reason this would be better than the current implementation?

Ah, that makes sense indeed! I thought you were suggesting to ask the user to set an environment variable or to set a variable with a function. We should make...

Using the utf8 convention seems like a perfect idea to me! I've added reprex for error here: https://github.com/ColinFay/argh/wiki/error-reprex

@jonocarroll so sorry I forgot to thank you sooner for this. Thanks a lot for gathering these information, I'll dig into this so that I can continue to develop {aside}....

Hey Miles, Thanks, that's indeed a very nifty idea! For the map / nest thing, I think you can already do this with `try_catch_df()` ``` r library(titanic) library(tidyverse) library(attempt) #>...

Don't hate being that person — I'm not a native English speaker and on the contrary find it very useful when people come with feedback about. So thank you. It's...

I think we could also go for things around return_if_is: ``` return_if_is(this, "numeric", that) ``` Which could also work for ``` stop_if_is(this, "numeric", message) ``` Ideas : + *_if_equal +...