Just wanted to give an update on the status of this, since it�s been a couple
days and I�ve had a chance to work on it a little more.
Improvements:
- Fixed a few bugs, added some more robust checking to ensure correct checking
for leaf nodes
- Corrected references to �in-order� traversals, I act
Great suggestion! I've started a patch:
https://bugs.r-project.org/show_bug.cgi?id=18479
On Wed, Mar 1, 2023 at 1:56 AM Ivan Krylov wrote:
>
> В Wed, 1 Mar 2023 01:36:02 -0800
> Michael Chirico via R-devel пишет:
>
> > +comps[non_syntactic] <- paste0("`", comps[non_syntactic], "`")
>
> There are
dear r-devel,
This has probably been forever like this but is this satisfying ?
all.equal(c(1,NA,NA), c(1,NA,3))
#> [1] "'is.NA' value mismatch: 1 in current 2 in target"
is.NA() doesn't exist (is.na() does), and is.na() is never 1 or 2.
In this example it's obvious that we're counting missing
Full schedule available on developer.r-project.org in a short while.
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Office: A 4.23
Email: pd@cbs.dk Priv: pda...@gmail.com
HI,
I've noticed what I think is an incorrect behavior of stats::psmirnov
function and consequently of ks.test when run in an exact mode.
For example:
psmirnov(1, sizes=c(50, 50), z=1:100, two.sided = FALSE, lower.tail = F,
exact=TRUE)
produces 2.775558e-15
However, the exact value should be 1/
В Wed, 1 Mar 2023 01:36:02 -0800
Michael Chirico via R-devel пишет:
> +comps[non_syntactic] <- paste0("`", comps[non_syntactic], "`")
There are a few more corner cases. For example, comps could contain
backticks (which should be escaped with backslashes) and backslashes
(which should also be esc
Consider:
x <- list(`a b` = 1)
x$a
(i.e., press the 'tab' key after typing 'x$a')
The auto-complete mechanism will fill the buffer like so:
x$a b
This is not particularly helpful because this is now a syntax error.
It seems to me there's a simple fix -- in
utils:::specialCompletions(), we can