ProjectMOSAIC / mosaic

Project MOSAIC R package
http://mosaic-web.org/
93 stars 26 forks source link

Function D() is not loaded #723

Closed dirkdegel closed 6 years ago

dirkdegel commented 6 years ago

Hi, I have installed the mosaic package in version mosaic_1.4.0. If I run


library(mosaic)

f <- makeFun(x^2 ~ x)
Df <- mosaic::D(f ~ x)

I get the error message:

Error: 'D' is not an exported object from 'namespace:mosaic'

I have no idea, why this happens. Any ideas how I can fix this?

nicholasjhorton commented 6 years ago

It's moved packages, see mosaicCalc::D()

Note for @rpruim: I see that https://cran.r-project.org/web/packages/mosaic/news/news.html mentions "Calculus functions have been moved to mosaicCalc." Perhaps this should list which functions moved?

dirkdegel commented 6 years ago

Thanks a lot for the instant reply! Yes, some hints in the change log would be helpful. I searched the change log for D() and could not find a hint. Thanks a lot again!