Dear all?
I have three datasets (drugbank.rda edgar.rda mala.rda) in my package and I put them in the document folder which called ?data?.
And I just use the dataset in the function. However, here comes a note:
drugbank_disease_gene: no visible binding for global variable
'drugbank'
edgar_disease_gene: no visible binding for global variable 'edgar'
malacards_disease_gene: no visible binding for global variable 'mala'
Undefined global functions or variables:
drugbank edgar mala
It shows that I need to do something else. I am confused and I don? know what need to do next.
Thanks for your attention.
| |
jared_wood
|
|
jared_wood at 163.com
|
???????????
[R-pkg-devel] About dataset in my own package
2 messages · jared_wood, Jeff Newmiller
Either use the data() function to retrieve it or use the LazyData: true line in your DESCRIPTION file.
On April 6, 2020 11:25:21 PM PDT, jared_wood <jared_wood at 163.com> wrote:
Dear all? I have three datasets (drugbank.rda edgar.rda mala.rda) in my package and I put them in the document folder which called ?data?. And I just use the dataset in the function. However, here comes a note: drugbank_disease_gene: no visible binding for global variable 'drugbank' edgar_disease_gene: no visible binding for global variable 'edgar' malacards_disease_gene: no visible binding for global variable 'mala' Undefined global functions or variables: drugbank edgar mala It shows that I need to do something else. I am confused and I don? know what need to do next. Thanks for your attention. | | jared_wood | | jared_wood at 163.com | ??????????? [[alternative HTML version deleted]]
______________________________________________ R-package-devel at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel
Sent from my phone. Please excuse my brevity.