Updated PubMed URL scheme
Showing 2 of 8 files from the diff.
R/build-urls.r
changed.
R/db-links.r
changed.
Other files ignored by Codecov
tests/testthat/test-tags-pubmed.r
has changed.
DESCRIPTION
has changed.
tests/testthat/test-links-pubmed.r
has changed.
man/links.Rd
has changed.
man/biolink.Rd
has changed.
R/biolink.r
has changed.
@@ -34,7 +34,7 @@
Loading
34 | 34 | #' @export |
|
35 | 35 | #' @describeIn urls for PubMed based on PMID (PubMed identifier) |
|
36 | 36 | url_pubmed <- function(id) { |
|
37 | - | paste0("https://www.ncbi.nlm.nih.gov/pubmed/", check_id(id, "pubmed")) |
|
37 | + | paste0("https://pubmed.ncbi.nlm.nih.gov/", check_id(id, "pubmed")) |
|
38 | 38 | } |
|
39 | 39 | ||
40 | 40 | #' @export |
@@ -6,7 +6,7 @@
Loading
6 | 6 | #' @section Link Customization: |
|
7 | 7 | #' By default the hyperlinked text is just the `id`, so |
|
8 | 8 | #' `link_pubmed("22066989")` becomes |
|
9 | - | #' [22066989](https://www.ncbi.nlm.nih.gov/pubmed/22066989). The `text` argument |
|
9 | + | #' [22066989](https://pubmed.ncbi.nlm.nih.gov/22066989). The `text` argument |
|
10 | 10 | #' allows you to customize the hyperlinked text. To display a hyperlinked URL |
|
11 | 11 | #' (e.g., <https://www.r-project.org>), set `text = NULL`. |
|
12 | 12 | #' |
@@ -46,8 +46,8 @@
Loading
46 | 46 | #' |
|
47 | 47 | #' @references |
|
48 | 48 | #' - [Gene Ontology Consortium](http://amigo.geneontology.org) |
|
49 | - | #' - [KEGG Pathway Database](http://www.kegg.jp/kegg/pathway.html) |
|
50 | - | #' - [NCBI PubMed](https://www.ncbi.nlm.nih.gov/pubmed/) |
|
49 | + | #' - [KEGG Pathway Database](https://www.kegg.jp/kegg/pathway.html) |
|
50 | + | #' - [NCBI PubMed](https://pubmed.ncbi.nlm.nih.gov) |
|
51 | 51 | #' - [NCBI Gene](https://www.ncbi.nlm.nih.gov/gene) |
|
52 | 52 | #' |
|
53 | 53 | #' @name links |
Files | Coverage |
---|---|
R | 100.00% |
Project Totals (6 files) | 100.00% |
329412561
1 |
comment: false |
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file.
The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files.
The size and color of each slice is representing the number of statements and the coverage, respectively.