Question

I can see my package is installed with library(), but when I load the package from the library, I can't call any of the functions.

> install_github("pdfHarvester", "hansthompson")
> library(pdfHarvester)
> Convert
Error: object 'Convert' not found
> Parse_Tables
Error: object 'Convert' not found
Was it helpful?

Solution

You need to make sure you package actually exports the functions you want to use. This is a package development issue - not an issue with install_github.

Note that your NAMESPACE file is empty: https://github.com/hansthompson/pdfHarvester/blob/master/NAMESPACE

It looks like you're using roxygen for your .R files. If you're using devtools for the package creation you need to use document() to generate your help file and populate the NAMESPACE file.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top