Winston Chang

Results 285 comments of Winston Chang

If you want it to run, you need to call `run_now()` within the `with_temp_loop()`, like this: ```R library(later) with_temp_loop({ later(function() print("foo"), delay = 1) run_now(2) }) ``` The temporary loop...

Yes, thanks, that would be good to add in the documentation! If you are feeling ambitious, a new page about private event loops would be a great thing to have.

It looks like this is how it gets defined. If `TIME_UTC` is _not_ defined, then the following happens in tinycthread.h: * `_TTHREAD_EMULATE_TIMESPEC_GET_` is defined * `_tthread_timespec_get` is declared in tinycthread.h...

@tmward I see it's trying to install to /usr/local/lib/R/library/00LOCK-later/00new/later/libs. Are you installing as root? You may need to make sure the `~/.R/Makevars` file is in the right place. I'm not...

I'm at a loss about why it's not reading your Makevars file. Maybe ask on StackOverflow?

A follow-up: it looks like with C, `timespec_get` and `TIME_UTC` are part of the C11 standard: https://en.cppreference.com/w/c/chrono/timespec_get ![image](https://user-images.githubusercontent.com/86978/71009287-96d30980-20af-11ea-9aae-abbe42742c75.png) However, with C++, `std::timespec_get` and `TIME_UTC` are part of the C++17 standard:...

@ChiWPak Yes, please open a new issue. If you're familiar with Docker, it would help if you could supply a Dockerfile that produces the issue. I think you may be...

Is it possible that the difference you're seeing between Linux and Mac is because on Linux, all packages are compiled from source on the test machine, but on Mac, some...

@JackStat Are you able to provide us with a reproducible example -- say, a Dockerfile that builds an image that will raise that same error? Also, the segfault you're seeing...

Thanks, that would be very helpful. I think that it would make sense to file an issue in the httpuv repo.