Search Archives
Search tips
from:Name
Search by author name, e.g. from:Duncan Murdoch
"exact phrase"
Match an exact phrase
word1 word2
Match messages containing both words
Date range
Use the date pickers to filter results to a time period
Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.
Hi Luke, I keep forgetting to reply. Just briefly: your change made the code work once more, thanks. Cheers, Konrad -- Konrad Rudolph [[alternative HTML version deleted]]
On Thu, Mar 28, 2019 at 11:42 AM Martin Maechler <maechler at stat.math.ethz.ch> wrote: > So from that definition it must return .Globalenv in this > particular case. Indeed, that makes sense. Apparently the note wasn?t explicit...
On Fri, Dec 11, 2015 at 1:26 PM, Hadley Wickham <h.wickham at gmail.com> wrote: > Why not use your own S3 class? Yes, I?ll probably do that. Thanks. I honestly don?t know why I hadn?t...
Thanks, That?s a shame but good to know. Packages that for whatever reason have chosen to use it > could instead use .External(), and that is what yo should use. Unfortunately .External() is not a replacement (in general, or for...
@Jeroen, here?s what I?m solving with my hacking the parent environment chain: I?m essentially re-implementing `base::attach` ? except that I?m attaching objects *locally* in the function instead of globally. I don?t think this can...
Just as an FYI, I suspect the sudden break is connected to a bug report I filed some time ago [1], and a subsequent fix by Duncan. Long story short, the previous behaviour of tcltk was actually buggy. The fix...
Hello, Is the `.External2()` function part of the public API, and can it be used in R packages submitted to CRAN? I would like to start using it in a package, and there *are* packages on CRAN which use it...
On Wed, Dec 2, 2020 at 7:44 PM Duncan Murdoch <murdoch.duncan at gmail.com> wrote: > I haven't tried this, but I believe if you define functions with the > right name and header in your package but don...
Hello all, I am wondering whether it?s at all possible to call a replacement function in a custom environment. From my experiments this appears not to be the case, and I am wondering whether that restriction is intentional. To...
The documentation (help("Syntax")) gives the operator precedence of the assignment operators and help, from highest to lowest, as: ?<- <<-? assignment (right to left) ?=? assignment (right to left) ??? help (unary and binary) If I understand correctly this implies that `a = b...
I have a package vignette that reproducibly fails the second time round in `R CMD check`, in the ?checking re-building of vignette outputs? step. I have uploaded a small reprex to GitHub [1]. But in a nutshell the vignette...
I was surprised just now to find out that `topenv(emptyenv())` equals ? `.GlobalEnv`, not `emptyenv()`. From my understanding of the description of `topenv`, it should walk up the chain of enclosing environments (as if by calling `e = parent.env(e...
> > I do not think it is a reasonable suggestion. The reasons a::b and > a:::b were made to work is that many users read these as a single > symbol, not a call to a binary operator. So supporting this...
Hi, My recent CRAN package submission failed with a win-builder error during the tests and vignette building *of the previously submitted version* [1]: ``` Error in library.dynam(lib, package, package.lib) : DLL 'rlang' not found: maybe not installed for...
My package is creating a CRAN check NOTE because CRAN does not like the way my NEWS.md file [1] is formatted. I am largely adhering to existing conventions with regards to my NEWS.md, in particular the (rather minimal...
Check out ?klmr/modules? on Github (distinct from CRAN?s ?modules?!). It looks pretty much exactly like what you want: https://github.com/klmr/modules It has an extensive README and vignette explaining the usage. Cheers, Konrad -- Konrad Rudolph On...
Oh, I had missed that that code path is now enabled by default. It?s worth noting that the commented-out test in that commit also still succeeds if invoked via `getS3method`. So at the very least there?s now...
Hi Duncan, Thanks for the explanation. Using a temporary directory is what I?m doing at the moment as a workaround. What confused me was that `R CMD check` *already* works inside a new directory (a set of different ones...
Hi all, One of my packages is failing on CRAN in R-devel [1], and I was requested to fix it. However, it is *only* failing on one specific configuration, 'r-devel-linux-x86_64-debian-gcc'. All other combinations...
Hi Luke, Thanks, obviously that will work and I didn?t think of it. In my defence I had previously used match.call() to capture the call on the R side, and representative microbenchmarks show that it adds a prohibitive...
Can't find what you're looking for? Try searching with Google .