Displaying 2 results from an estimated 2 matches for "r77884".
Did you mean:
477884
2020 Feb 22
0
Change 77844 breaking pkgs [Re: dimnames incoherence?]
...don't even get what we are talking about here ;-)
> Thank you for your comments.. I did not get too many.
Well, there's one situation where semi-experienced package
authors are bitten by the new R-devel behavior...
I'm seeing a few dozen CRAN packages breaking in R-devel >= r77884.
One case is exactly as you (Bill) mention above: people using
dd[[.]] <- .. where they should use single [.].
In one package, I see an inefficient for loop over all rows of a
data frame 'dd'
for(i in 1:nrow(dd)) {
...
dd$<nonexisting_column>[[i]] <- <one character...
2020 Feb 22
2
dimnames incoherence?
>>>>> William Dunlap
>>>>> on Fri, 21 Feb 2020 14:05:49 -0800 writes:
> If we change the behavior NULL--[[--assignment from
> `[[<-`(NULL, 1, "a" ) # gives "a" (*not* a list)
> to
> `[[<-`(NULL, 1, "a" ) # gives list("a")
> then we have more consistency there *and* your bug