From 178b7605b4b926846dcee11f8123c52d2e1ecc3a Mon Sep 17 00:00:00 2001 From: "J. Allen Baron" Date: Sat, 2 Nov 2024 06:26:21 -0400 Subject: [PATCH] Update PMC URL stem -- changed by NCBI Old PMC URLs started returning 404 errors. Also includes update in test for append_to_url(). Tests: PASS --- R/url.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/url.R b/R/url.R index d1437e5..f346226 100644 --- a/R/url.R +++ b/R/url.R @@ -78,7 +78,7 @@ get_url <- function(.name) { github = "https://github.com/", orcid = "https://orcid.org/", pubmed = "https://pubmed.ncbi.nlm.nih.gov/", - pmc = "https://www.ncbi.nlm.nih.gov/pmc/" + pmc = "https://pmc.ncbi.nlm.nih.gov/articles/" ), xref_urls = c( # GARD = "https://rarediseases.info.nih.gov/diseases/{LUI}/index", # requires glue spec, exclude for now