Winston Chang

Results 285 comments of Winston Chang

I think that #2743 may have the same root cause as the issue you're describing. In your command-line script, if, instead of using this PR, you add this after the...

You might need to use a newer version of R. Because of changes in R 4.3, packages are no longer allowed to specify `SystemRequirements: C++11`, which is necessary for this...

The text `reload_definitions` isn't present in the memoise package, so it's likely in your internal packages. My guess is that those packages call `memoise()` at build time (at the top...

The atime attribute can't be relied on in general. In Linux, it's not unusual to mount a filesystem with `noatime`. On some filesystems, the time resolution is poor (for FAT,...

@torfason I made a quick PR. If you could test it out, I'd appreciate it. Also, if you are able to figure out how to test it in the Rcpp...

It's hard to have a fully general solution for this, because `missing` is an expression that's evaluated each time there's a miss, so a `get()` call could, for example, throw...

I think it makes sense to add a `missing` arg to `cache_layered`.

Hm, that's a good question. Maybe it would be reasonable to use a tiny value for `expand`? For a context, this issue came up in this shiny app: https://gallery.shinyapps.io/105-plot-interaction-zoom/ In...

My guess is that this is caused by the use of `Rcpp::RNGScope` in the auto-generated file RcppExports.cpp: https://github.com/r-lib/later/blob/ba70887d77527e5647e375013e2e1ad9dc2c3646/src/RcppExports.cpp There's one more use of `RNGScope` in later.cpp: https://github.com/r-lib/later/blob/ba70887d77527e5647e375013e2e1ad9dc2c3646/src/later.cpp#L194 I believe those...

It doesn't behave that way for me -- in the second case, it still prints out the time after 5 seconds. It does the same on my mac in both...