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

Sanjeev Sariya @@njeev@@r|y@ @end|ng |rom gm@||@com
Thu Dec 22 07:56:38 CET 2022


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_data*, file='data/sample_chr21_vcf.rda')

I've a sample_chr21_vcf.Rd file in the man folder.

How do I fix the warning about the variable name that was used to save
a .rda file?

2)

* checking for code/documentation mismatches ... WARNING
Variables with usage in documentation object ‘sample_chr21_vcf’ but not in code:
  ‘sample_chr21_vcf’

I do not use this vcf file anywhere, not in any example.

Github link:

https://github.com/sariya/GARCOM/tree/new_test_hello

Log link

https://win-builder.r-project.org/incoming_pretest/GARCOM_1.2.2_20221222_073525/Debian/00check.log

--
Sanjeev M

	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list