RobinHankin / disordR

https://robinhankin.github.io/disordR/
1 stars 0 forks source link

zapsmall() #16

Closed RobinHankin closed 3 years ago

RobinHankin commented 3 years ago

following the fixing of issue #14 I find that zapsmall() still fails, but for a different reason:

> a <- as.mvp('x+2*y')
> zapsmall((1+a/10)^6)
Error in abs(x[!ina]) : non-numeric argument to mathematical function
> 

but this time the problem is in is.na():

 is.na((1+a/10)^6)
 names  power coeffs 
 FALSE  FALSE  FALSE 
> 

Not sure how to approach this.