SCM

Forum: help

Monitor Forum | Start New Thread Start New Thread
RE: Package Formula not listed under Imports: [ Reply ]
By: Achim Zeileis on 2016-07-07 09:16
[forum:43355]
Martin, the current R-Forge version of partykit does have Formula listed as an Import (but not via roxygen though). It just hasn't been released to CRAN yet.

Package Formula not listed under Imports: [ Reply ]
By: Martin Zerweck on 2016-07-07 09:03
[forum:43354]
The Package Formula gets called by
formula <- Formula::Formula(formula)
in the ctree function, however, it is not listed as dependency on the current CRAN version. Therefore, a user who has not installed that particular package will get an error such as:
Error in loadNamespace(name) : there is no package called ‘Formula’

Quite an easy fix though.
BTW: Unverified Internet sources claim, that using the roxygen tag
@importFrom Formula Formula
would be preferred due to speed..

Thanks to:
Vienna University of Economics and Business Powered By FusionForge