Your package probably fails to load because some dependencies are not installed. This problem usually appears if the NAMESPACE
file imports dependencies, which are not declared in the DESCRIPTION
file. So if your NAMESPACE
contains:
import(RDruid)
import(ggplot2)
import(lubridate)
import(parallel)
import(plyr)
import(reshape)
than your DESCRIPTION
needs to contain a line:
Imports: Druid, ggplot2, lubridate, parallel, plyr, reshape
The R package manager looks at the DESCRIPTION
to install dependencies when installing your package.