Re: [Bioc-devel] How to use RData files in Bioconductor data and software packages

2020-01-16 Thread web working
Hi Herve, thank you for your answer. To be honest I am fine if the data sets can not be loaded with data() solution. Falsely I said a warning occurred during the BiocCheck. A warning occurred during the R check command of my data package. I used the recommended R CMD check environment flags

Re: [Bioc-devel] How to use RData files in Bioconductor data and software packages

2020-01-16 Thread web working
Thank you for your example Kasper. The require option seems to be an option for me. I am following the Bioconductor "Circular Dependencies" Guidelines (https://github.com/Bioconductor/Contributions/blob/master/CONTRIBUTING.md#submitting-related-packages) to implement my software and my data pac

Re: [Bioc-devel] How to use RData files in Bioconductor data and software packages

2020-01-14 Thread Kasper Daniel Hansen
Tobias, When you use the data() command on the data package, you need to do library(dummyData) first (and you therefore need to Suggest: dummyData) Here is an example from minfi/minfiData if (require(minfiData)) { dat <- preprocessIllumina(RGsetEx, bg.correct=FALSE, normalize="controls") }

Re: [Bioc-devel] How to use RData files in Bioconductor data and software packages

2020-01-09 Thread Pages, Herve
On 1/9/20 13:00, web working wrote: > Hi Herve, > > thank you for your detailed answer. I guess I have expressed myself > unclear. The BED files were just examples for data I store in the > inst/extdata folder. Based on the description for ExperimentHubData I > have decided to create a software

Re: [Bioc-devel] How to use RData files in Bioconductor data and software packages

2020-01-09 Thread web working
Hi Richard, It depends on the filetype. I am loading my "non RData" files with read.delim and my RData files with a helper function which returns a R object of the RData object: #' Load RData object and returns first entry #' #' Load RData object and returns first entry. If there is more than o

Re: [Bioc-devel] How to use RData files in Bioconductor data and software packages

2020-01-09 Thread web working
Hi Herve, thank you for your detailed answer. I guess I have expressed myself unclear. The BED files were just examples for data I store in the inst/extdata folder. Based on the description for ExperimentHubData I have decided to create a software and a data package (no ExperimentHubData soft

Re: [Bioc-devel] How to use RData files in Bioconductor data and software packages

2020-01-09 Thread Pages, Herve
Hi Tobias, If the original data is in BED files, there should be no need to serialize the objects obtained by importing the files. It is **much** better to provide a small helper function that creates an object from a BED file and to use that function each time you need to load an object. This

[Bioc-devel] How to use RData files in Bioconductor data and software packages

2020-01-09 Thread web working
Dear all, I am currently developing a software package (dummySoftware) and a data package (dummyData) and I am a bit confused in where to store my RData files in the data package. Here my situation: I want to store some software package objects (new class objects of the software package) in t