On Tue, 27 Jun 2023 at 18:45, Jeff Newmiller wrote:
>
> if (any(c( "alaska", "hawaii") %in% zoom)){}
Note that this changes behavior. If e.g. zoom is c("something",
"alaska"), the code above returns TRUE. Previous behavior was FALSE
(with a warning).
Iñaki
> On June 27, 2023 9:11:09 AM PDT, "Gö
if (any(c( "alaska", "hawaii") %in% zoom)){}
On June 27, 2023 9:11:09 AM PDT, "Göran Broström" wrote:
>
>
>Den 2023-06-27 kl. 17:17, skrev Göran Broström:
>> If(zoom %in% c(“alaska”, “hawaii”)…
>
>Wrong, maybe
>
>if (("alaska" %in% zoom) || ("hawaii" %in% zoom)){}
>
>
>>
>> Göran
>>
>>> 27 jun
Den 2023-06-27 kl. 17:17, skrev Göran Broström:
If(zoom %in% c(“alaska”, “hawaii”)…
Wrong, maybe
if (("alaska" %in% zoom) || ("hawaii" %in% zoom)){}
Göran
27 juni 2023 kl. 16:32 skrev arilamst...@gmail.com:
It appears that my R package choroplethr broke due to this change in R
4.3.
If(zoom %in% c(“alaska”, “hawaii”)…
Göran
> 27 juni 2023 kl. 16:32 skrev arilamst...@gmail.com:
>
> It appears that my R package choroplethr broke due to this change in R
> 4.3.0:
>
> CHANGES IN R 4.3.0:
>
> SIGNIFICANT USER-VISIBLE CHANGES:
>
> Calling && or || with LHS or (if evaluated) R
On Tue, 27 Jun 2023 at 16:31, wrote:
>
> It appears that my R package choroplethr broke due to this change in R
> 4.3.0:
>
> CHANGES IN R 4.3.0:
>
> SIGNIFICANT USER-VISIBLE CHANGES:
>
> Calling && or || with LHS or (if evaluated) RHS of length greater than one
> is now always an error, with a rep
It appears that my R package choroplethr broke due to this change in R
4.3.0:
CHANGES IN R 4.3.0:
SIGNIFICANT USER-VISIBLE CHANGES:
Calling && or || with LHS or (if evaluated) RHS of length greater than one
is now always an error, with a report of the form
'length = 4' in coercion to 'logical(1