[R] Error: XYZ is not an exported object
Witold E Wolski
wewolski at gmail.com
Sat Dec 10 15:47:08 CET 2016
I am wrting a package and would like to be able to export it to access it with:
This is how my roxygen doc for the data object looks like:
#' Data frame with amino acid masses
#' @name AminoAcids
#' @docType data
#' @keywords data
It does end up in the namespace file with:
the data is in the data/ folder of the package.
and I can load it with data(AminoAcid)
Still R CMD build gives me the error:
Error : 'AminoAcids' is not an exported object from 'namespace:bibliospec'
because I am trying to access it with bibliospec::AminoAcids
Help highly appreciated.
Witold Eryk Wolski
More information about the R-help