Skip to content

Commit b45c240

Browse files
committed
fix: pkgdown and CRAN
1 parent a47cab9 commit b45c240

File tree

15 files changed

+80
-78
lines changed

15 files changed

+80
-78
lines changed

.github/workflows/pkgdown.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
needs: website
3838

3939
- name: Build site
40-
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
40+
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE, run_dont_run = FALSE)
4141
shell: Rscript {0}
4242

4343
- name: Deploy to GitHub pages 🚀

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Description: A comprehensive analytics framework for building reproducible pipel
1919
Think Scanpy or Seurat, but for AIRR data, a.k.a. Adaptive Immune Receptor Repertoire, VDJ-seq, RepSeq, or
2020
VDJ sequencing data. A successor to our previously published "tcR" R package (Nazarov 2015).
2121
License: Apache License (>= 2.0)
22-
URL: https://immunomind.github.io/docs/, https://github.com/immunomind/immunarch
22+
URL: https://immunomind.github.io/docs/, https://github.com/immunomind/immunarch/, https://immunarch.com/
2323
BugReports: https://github.com/immunomind/immunarch/issues
2424
Depends:
2525
R (>= 4.2.0),

R/v0_filters.R

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -45,29 +45,6 @@
4545
#' - substring: matches all strings containing the specified substring.
4646
#' Default value: 'exact'.
4747
#'
48-
#' @examples
49-
#' data(immdata)
50-
#'
51-
#' # Select samples with status "MS"
52-
#' repFilter(immdata, "by.meta", list(Status = include("MS")))
53-
#'
54-
#' # Select samples without status "MS"
55-
#' repFilter(immdata, "by.meta", list(Status = exclude("MS")))
56-
#'
57-
#' # Select samples from lanes "A" and "B" with age > 15
58-
#' repFilter(immdata, "by.meta", list(Lane = include("A", "B"), Age = morethan(15)))
59-
#'
60-
#' # Select samples that are not from lanes "A" and "B"
61-
#' repFilter(immdata, "by.meta", list(Lane = exclude("A", "B")))
62-
#'
63-
#' # Select samples with a number of clonotypes from 1000 to 5000
64-
#' repFilter(immdata, "by.repertoire", list(n_clonotypes = interval(1000, 5000)))
65-
#'
66-
#' # Select clonotypes in all samples with alpha chains
67-
#' repFilter(immdata, "by.clonotype",
68-
#' list(V.name = include("AV"), J.name = include("AJ")),
69-
#' .match = "substring"
70-
#' )
7148
#' @export repFilter include exclude lessthan morethan interval
7249
repFilter <- function(.data, .method = "by.clonotype",
7350
.query = list(CDR3.aa = exclude("partial", "out_of_frame")),

R/v1_clonality_airr.R

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,11 @@
2323
#' # Limit the number of threads used by the underlying DB for this session.
2424
#' # Change this only if you know what you're doing (e.g., multi-user machines, shared CI/servers).
2525
#' db_exec("SET threads TO 1")
26+
#'
2627
#' # Load data
28+
#' \dontrun{
2729
#' immdata <- get_test_idata() |> agg_repertoires("Therapy")
30+
#' }
2831
#'
2932
#' @name airr_clonality
3033
#' @concept Clonality
@@ -82,7 +85,9 @@ airr_clonality_line_impl <- function(idata, limit = 100000) {
8285
#' #
8386
#' # airr_clonality_line
8487
#' #
88+
#' \dontrun{
8589
#' top_line <- airr_clonality_line(immdata, limit = 1000)
90+
#' }
8691
#'
8792
#' @rdname airr_clonality
8893
#' @concept Clonality
@@ -133,7 +138,9 @@ airr_clonality_rank_impl <- function(idata,
133138
#' #
134139
#' # airr_clonality_rank
135140
#' #
141+
#' \dontrun{
136142
#' rank_stat <- airr_clonality_rank(immdata, bins = c(10, 100))
143+
#' }
137144
#'
138145
#' @rdname airr_clonality
139146
#' @concept Clonality
@@ -191,7 +198,9 @@ airr_clonality_prop_impl <- function(
191198
#' #
192199
#' # airr_clonality_prop
193200
#' #
201+
#' \dontrun{
194202
#' prop_stat <- airr_clonality_prop(immdata)
203+
#' }
195204
#'
196205
#' @rdname airr_clonality
197206
#' @concept Clonality

R/v1_diversity_airr.R

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@
2525
#' # Change this only if you know what you're doing (e.g., multi-user machines, shared CI/servers).
2626
#' db_exec("SET threads TO 1")
2727
#' # Load data
28+
#' \dontrun{
2829
#' immdata <- get_test_idata() |> agg_repertoires("Therapy")
30+
#' }
2931
#'
3032
#' @name airr_diversity
3133
#' @concept Diversity
@@ -103,8 +105,10 @@ airr_diversity_dxx_impl <- function(idata, perc = 50) {
103105
#' #
104106
#' # airr_diversity_dxx
105107
#' #
108+
#' \dontrun{
106109
#' d50 <- airr_diversity_dxx(immdata, perc = 50)
107110
#' d_multi <- airr_diversity_dxx(immdata, perc = c(20, 50, 80))
111+
#' }
108112
#'
109113
#' @rdname airr_diversity
110114
#' @concept Diversity
@@ -154,7 +158,9 @@ airr_diversity_chao1_impl <- function(idata) {
154158
#' #
155159
#' # airr_diversity_chao1
156160
#' #
161+
#' \dontrun{
157162
#' chao <- airr_diversity_chao1(immdata)
163+
#' }
158164
#'
159165
#' @rdname airr_diversity
160166
#' @concept Diversity
@@ -197,7 +203,9 @@ airr_diversity_shannon_impl <- function(idata) {
197203
#' #
198204
#' # airr_diversity_shannon
199205
#' #
206+
#' \dontrun{
200207
#' sh <- airr_diversity_shannon(immdata)
208+
#' }
201209
#'
202210
#' @rdname airr_diversity
203211
#' @concept Diversity
@@ -236,7 +244,9 @@ airr_diversity_pielou_impl <- function(idata) {
236244
#' #
237245
#' # airr_diversity_pielou
238246
#' #
247+
#' \dontrun{
239248
#' pj <- airr_diversity_pielou(immdata)
249+
#' }
240250
#'
241251
#' @rdname airr_diversity
242252
#' @concept Diversity
@@ -267,7 +277,9 @@ airr_diversity_index_impl <- function(idata) {
267277
#' #
268278
#' # airr_diversity_index
269279
#' #
280+
#' \dontrun{
270281
#' idx <- airr_diversity_index(immdata)
282+
#' }
271283
#'
272284
#' @rdname airr_diversity
273285
#' @concept Diversity
@@ -351,7 +363,9 @@ airr_diversity_hill_impl <- function(idata, q = 0:5) {
351363
#' #
352364
#' # airr_diversity_hill
353365
#' #
366+
#' \dontrun{
354367
#' hill <- airr_diversity_hill(immdata, q = c(0, 1, 2))
368+
#' }
355369
#'
356370
#' @rdname airr_diversity
357371
#' @concept Diversity

R/v1_public_airr.R

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,9 @@ airr_public_intersection_impl <- function(idata) {
8686
#' #
8787
#' # airr_public_intersection
8888
#' #
89+
#' \dontrun{
8990
#' m_pub <- airr_public_intersection(immdata)
91+
#' }
9092
#'
9193
#' @rdname airr_public
9294
#' @concept Public indices
@@ -165,7 +167,9 @@ airr_public_jaccard_impl <- function(idata) {
165167
#' #
166168
#' # airr_public_jaccard
167169
#' #
170+
#' \dontrun{
168171
#' m_jac <- airr_public_jaccard(immdata)
172+
#' }
169173
#'
170174
#' @rdname airr_public
171175
#' @concept Public indices

R/v1_stats_airr.R

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@
2323
#' db_exec("SET threads TO 2")
2424
#'
2525
#' # Load data
26+
#' \dontrun{
2627
#' immdata <- get_test_idata() |> agg_repertoires("Therapy")
28+
#' }
2729
#'
2830
#' @name airr_stats
2931
#' @concept Key AIRR statistics
@@ -94,7 +96,10 @@ airr_stats_chains_impl <- function(idata, locus_col = NA) {
9496
#' #
9597
#' # airr_stats_chains
9698
#' #
99+
#'
100+
#' \dontrun{
97101
#' airr_stats_chains(immdata)
102+
#' }
98103
#'
99104
#' @rdname airr_stats
100105
#' @concept Key AIRR statistics
@@ -144,7 +149,10 @@ airr_stats_lengths_impl <- function(idata, seq_col = "cdr3_aa") {
144149
#' #
145150
#' # airr_stats_lengths
146151
#' #
152+
#'
153+
#' \dontrun{
147154
#' airr_stats_lengths(immdata)
155+
#' }
148156
#'
149157
#' @rdname airr_stats
150158
#' @concept Key AIRR statistics
@@ -217,6 +225,8 @@ airr_stats_genes_impl <- function(idata, gene_col = "v_call", level = c("recepto
217225
#' #
218226
#' # airr_stats_genes
219227
#' #
228+
#'
229+
#' \dontrun{
220230
#' # V gene usage by receptor count
221231
#' airr_stats_genes(immdata, gene_col = "v_call", level = "receptor")
222232
#'
@@ -225,6 +235,7 @@ airr_stats_genes_impl <- function(idata, gene_col = "v_call", level = c("recepto
225235
#'
226236
#' # Split by locus (TRA/TRB/... if locus column exists)
227237
#' airr_stats_genes(immdata, gene_col = "v_call", level = "receptor", by = "locus")
238+
#' }
228239
#'
229240
#' @rdname airr_stats
230241
#' @concept Key AIRR statistics

_pkgdown.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ articles:
2222
subtitle: "Deprecated"
2323
desc: ~
2424
contents:
25+
- '`immunarch_threads`'
2526
- '`web_only_v0/introduction`'
2627
- '`web_only_v0/data`'
2728
- '`web_only_v0/v21_singlecell`'
@@ -35,7 +36,6 @@ articles:
3536
- '`web_only_v0/v8_tracking`'
3637
- '`web_only_v0/v9_kmers`'
3738
- '`web_only_v0/v11_db`'
38-
- '`web_only_v0/community`'
3939
- '`web_only_v0/repFilter_v3`'
4040
- '`web_only_v0/v10_prop`'
4141
- '`web_only_v0/BCRpipeline`'

man/airr_clonality.Rd

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/airr_diversity.Rd

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)