I am wrting a package.
I have a dataset in data/AminoAcids.tsv and would like to be able to
access it with

bibliospec::AminoAcids

from within my package code.

R CMD build gives me the error:
Error : 'AminoAcids' is not an exported object from 'namespace:bibliospec'

I am able to access the data in package code with
data(AminoAcids)
AminoAcids

but this will give me a NOTE with R CMD check

Also when using the package I am able to access the data with
bibliospec::AminoAcids


So why can't I access bibliospec::AminoAcids from within package code?


This is how my roxygen doc for the data object looks like:
#' Data frame with amino acid masses
#'
#' @name AminoAcids
#' @docType data
#' @keywords data
NULL

Help highly appreciated.

Thank you

--
Witold Eryk Wolski


-- 
Witold Eryk Wolski

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to