Skip to content

Commit 2c58f5c

Browse files
more cran check fixes
1 parent 7bd7950 commit 2c58f5c

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Authors@R:
2020
family = "Gilmore",
2121
role = "ctb"))
2222
Maintainer: Zachary Foster <zacharyfoster1989@gmail.com>
23-
Description: 'Metacoder' is a package for reading, plotting, and manipulating large
23+
Description: This package is for reading, plotting, and manipulating large
2424
taxonomic data sets, like those generated from modern high-throughput
2525
sequencing, like metabarcoding (i.e. amplification metagenomics, 16S
2626
metagenomics, etc). It provides a tree-based visualization called "heat

R/calculations.R

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -801,6 +801,7 @@ calc_taxon_abund <- function(obj, data, cols = NULL, groups = NULL,
801801
#' @family calculations
802802
#'
803803
#' @examples
804+
#' \donttest{
804805
#' # Parse data for example
805806
#' x = parse_tax_data(hmp_otus, class_cols = "lineage", class_sep = ";",
806807
#' class_key = c(tax_rank = "taxon_rank", tax_name = "taxon_name"),
@@ -829,6 +830,7 @@ calc_taxon_abund <- function(obj, data, cols = NULL, groups = NULL,
829830
#' calc_n_samples(x, data = "tax_data", other_cols = TRUE)
830831
#' calc_n_samples(x, data = "tax_data", other_cols = 2)
831832
#' calc_n_samples(x, data = "tax_data", other_cols = "otu_id")
833+
#' }
832834
#' @export
833835
calc_n_samples <- function(obj, data, cols = NULL, groups = "n_samples",
834836
other_cols = FALSE, out_names = NULL, drop = FALSE,
@@ -889,6 +891,7 @@ calc_n_samples <- function(obj, data, cols = NULL, groups = "n_samples",
889891
#' @family calculations
890892
#'
891893
#' @examples
894+
#' \donttest{
892895
#' # Parse data for example
893896
#' x = parse_tax_data(hmp_otus, class_cols = "lineage", class_sep = ";",
894897
#' class_key = c(tax_rank = "taxon_rank", tax_name = "taxon_name"),
@@ -917,6 +920,7 @@ calc_n_samples <- function(obj, data, cols = NULL, groups = "n_samples",
917920
#' calc_prop_samples(x, data = "tax_data", other_cols = TRUE)
918921
#' calc_prop_samples(x, data = "tax_data", other_cols = 2)
919922
#' calc_prop_samples(x, data = "tax_data", other_cols = "otu_id")
923+
#' }
920924
#' @export
921925
calc_prop_samples <- function(obj, data, cols = NULL, groups = "prop_samples",
922926
other_cols = FALSE, out_names = NULL, drop = FALSE,

cran-comments.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,14 @@ CRAN repository db overrides:
2929
X-CRAN-Comment: Archived on 2024-10-01 as issues were not corrected
3030
in time.
3131
32+
Possibly misspelled words in DESCRIPTION:
33+
al (32:18)
34+
bioinformatics (30:16)
35+
et (32:15)
36+
metabarcoding (26:22)
37+
metagenomics (26:56, 27:5)
38+
microbiome (30:5)
39+
3240
Suggests or Enhances not in mainstream repositories:
3341
traits
3442
```
@@ -38,6 +46,7 @@ Suggests or Enhances not in mainstream repositories:
3846
The package `traits` was also removed from CRAN because it depends on `taxize` as well.
3947
It is only a suggested package for `metacoder` used for one function and I expect `traits` will be returned to CRAN as well soon.
4048
I am not sure if it is required for all packages in "Suggests" to be on CRAN or not.
49+
The "Possibly misspelled words" are all real words.
4150

4251

4352
### Response to CRAN review

0 commit comments

Comments
 (0)