Richie Cotton
Richie Cotton
I think the correct way to do this is to find the subset of the parse data that corresponds to the function call, then reconstruct the code from that. ```r...
OK, I think I got it. ```r get_function_call_id % select(id) %>% pull() ids[index] } get_parent_id % filter(id %in% !!ids) %>% select(parent) %>% pull() } get_child_ids % filter(parent %in% !!ids) %>%...
This doesn't change `.2` to `0.2` but it does strip some whitespace. That's likely a good idea though: if student code creates the same parse data as the solution, we...
Further thought: if models that conform to this data structure are all given an S3 class inheriting from say, `"model"`, then you can define a functions to access each part...
Make sure it has a `prop` argument, because bootstrapping is easier to explain this way. That is, to get a resample the same size as the original dataset ```r cars...
OK, sure. I can be maintainer. And don't worry; I understand that you are busy.
On Windows it's `LC_CTYPE` rather than `LC_MESSAGES`. I tried dynamically setting `LC_CTYPE` to something sensible before printing error messages, but it doesn't work. As `?Sys.setlocale` states: > Attempts to change...
I've been thinking about the workflow for this. It goes something along these lines: 1. Update the PO files to ensure that all the latest messages are included. I think...
An identifier should be reasonably straightforward to add. You paste the `msgid` and the `msgctxt`, then call `digest::digest()` on each row to create a hash. Making the `po` objects `R6`...
I've just done a rewrite with R6 and hash values being auto-generated when you read the direct or countable elements. The tests are broken but it should be a quick...