Re: [R-pkg-devel] Svar: warning about object name and object not being used

2022-12-24 Thread Sanjeev Sariya
name for the data file and the object inside to > avoid confusion. > > > > Best regards, > > Kristian > > > > *Fra: *R-package-devel på vegne > av Sanjeev Sariya > *Dato: *torsdag, 22. desember 2022 kl. 07:57 > *Til: *r-package-devel@r-project.org &

[R-pkg-devel] warning about object name and object not being used

2022-12-21 Thread Sanjeev Sariya
Hi there, I get two warnings: 1) I created a .rda file from a file. The file was read in a variable as vcf_data. Warning: Undocumented code objects: 'vcf_data' Undocumented data sets: 'vcf_data' I created object as: vcf_data <- vcfR::read.vcfR("sample_chr21.vcf", verbose=TRUE) save(*vcf_

Re: [R-pkg-devel] How do I enable to show data in inst/extdata in data() || lazy load

2022-12-21 Thread Sanjeev Sariya
@Uwe - OK, makes sense. I will read the file into an object and save it as a .Rda in the data folder. Thank you. -- Sanjeev M On Tue, Dec 20, 2022 at 2:36 PM Uwe Ligges wrote: > > > On 20.12.2022 00:58, Sanjeev Sariya wrote: > > Hi, > > thank you for the reply. > >

Re: [R-pkg-devel] How do I enable to show data in inst/extdata in data() || lazy load

2022-12-19 Thread Sanjeev Sariya
Ivan Krylov wrote: > On Mon, 19 Dec 2022 20:59:27 +0530 > Sanjeev Sariya wrote: > > > ... I have created a .Rd file. > > I'm interested in listing this file in data() ... > > My understanding is that data() is for R-level objects, and so is > help(), most like

[R-pkg-devel] How do I enable to show data in inst/extdata in data() || lazy load

2022-12-19 Thread Sanjeev Sariya
Hi there, I've added data in the inst/extdata folder, for which I have created a .Rd file. I'm interested in listing this file in data() as other data/objects are being shown. Link for package github: https://github.com/sariya/GARCOM/tree/new_test_hello best -- Sanjeev M [[alternative HT

Re: [R-pkg-devel] how to add .Rd in man folder for inst/ext file?

2022-12-19 Thread Sanjeev Sariya
.org/doc/manuals/R-exts.html > > Roxygen is an alternative approach to creating the Rd files yourself. > https://cran.r-project.org/web/packages/roxygen2/vignettes/roxygen2.html > > The package.skeleton() function is a helper for the do it yourself > approach. > > Sarah &

Re: [R-pkg-devel] NOTEs - Problems with news in 'NEWS.md'

2022-12-12 Thread Sanjeev Sariya
wrote: > > > On 12.12.2022 18:05, Sanjeev Sariya wrote: > > Hi there, > > > > I made changes to the CRAN package by adding a file to the inst/ext > folder. > > I mention about this in the NEWS.md file however, when I upload the build > > package .gz file t

[R-pkg-devel] NOTEs - Problems with news in 'NEWS.md'

2022-12-12 Thread Sanjeev Sariya
Hi there, I made changes to the CRAN package by adding a file to the inst/ext folder. I mention about this in the NEWS.md file however, when I upload the build package .gz file to cran it fails to pass with error message as: * Problems with news in 'NEWS.md': No news entries found.* There are