Skip to content
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.

Commit

Permalink
Do not run examples in docs of list_archives(), `filter_by_keyword(…
Browse files Browse the repository at this point in the history
…)` and `import_hgnc_dataset()`
  • Loading branch information
ramiromagno committed Jun 8, 2022
1 parent e055267 commit 8e1058d
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 13 deletions.
4 changes: 2 additions & 2 deletions R/filter_by_keyword.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#' observations matching the `keyword`.
#'
#' @examples
#' try({
#' \dontrun{
#' # Start by retrieving the HGNC data set
#' hgnc_tbl <- import_hgnc_dataset()
#'
Expand All @@ -37,7 +37,7 @@
#' hgnc_tbl %>%
#' filter_by_keyword(c('^TP53$', '^PIK3CA$'), cols = 'symbol') %>%
#' dplyr::select(1:4)
#' })
#' }
#'
#' @md
#' @export
Expand Down
2 changes: 1 addition & 1 deletion R/import_hgnc_dataset.R
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ import_hgnc_dataset_ <- function(file = latest_archive_url(), ...) {
#'
#' @md
#' @examples
#' try(import_hgnc_dataset())
#' \dontrun{import_hgnc_dataset()}
#' @importFrom rlang .data
#' @export
import_hgnc_dataset <- import_hgnc_dataset_
Expand Down
3 changes: 0 additions & 3 deletions R/list_archives.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
#'
#' @return A [tibble][tibble::tibble-package] of available archives for download.
#' @md
#' @examples
#' try(list_archives())
#'
#' @export
list_archives <- function() {

Expand Down
4 changes: 4 additions & 0 deletions inst/WORDLIST
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,7 @@ tsv
unlocalized
www
vectorised
github
https
memoise
memoised
4 changes: 2 additions & 2 deletions man/filter_by_keyword.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/import_hgnc_dataset.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions man/list_archives.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8e1058d

Please sign in to comment.