Search code examples
rnamespacespackager-faq

How should I deal with "'someFunction' is not an exported object from 'namespace:somePackage'" error?


I have this error:

'someFunction' is not an exported object from 'namespace:somePackage'

Does anyone know how to solve it?


Solution

  • Some reasons:

    • Function is not part of the package, anymore, try ??someFunction to find out which package it belongs to.
    • Package data is not part of the package
    • Function is available in newer version of the package, reinstall latest version.

    See also these questions referring to specific instances of this problem: