I updated R to it’s new version 4.4.0 and I’m finding errors which I didn’t had
for example, this used to work:
temp <- data.frame("a"=c(1,2),"b"=c(3,4),"c"=0)
temp <- temp %>% mutate(c=if(a>b){100}else{200})
the c column would update to 200 in every line. but now I got this error
So, what’s the new correct way to do an update with a condition?