From 10b0fef8224d99c447932e83082d58e5fb1c10dd Mon Sep 17 00:00:00 2001 From: muschellij2 Date: Fri, 15 Sep 2017 11:01:58 -0400 Subject: [PATCH] Added the logo. --- DESCRIPTION | 2 +- R/dsl_logo_url.R | 4 ++-- README.md | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 5346e27..47c0fa8 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: jhudsl Type: Package Title: Johns Hopkins Data Science Lab -Version: 0.2.3 +Version: 0.3 Authors@R: c(person(given = "John", family = "Muschelli", role = c("aut", "cre"), diff --git a/R/dsl_logo_url.R b/R/dsl_logo_url.R index 291b340..87a4f1c 100644 --- a/R/dsl_logo_url.R +++ b/R/dsl_logo_url.R @@ -6,8 +6,8 @@ #' @examples #' dsl_logo_url() dsl_logo_url = function() { - # url = "http://jhudatascience.org/images/logo.png" - url = "http://johnmuschelli.com/jhudsl/inst/jhudsl_logo.png" + url = "http://jhudatascience.org/images/logo.png" + # url = "http://johnmuschelli.com/jhudsl/inst/jhudsl_logo.png" return(url) } diff --git a/README.md b/README.md index 28f15b3..8be8ae1 100644 --- a/README.md +++ b/README.md @@ -26,12 +26,12 @@ You can install jhudsl from github with: ``` r library(jhudsl) dsl_logo_url() -#> [1] "http://johnmuschelli.com/jhudsl/inst/jhudsl_logo.png" +#> [1] "http://jhudatascience.org/images/logo.png" ``` ``` r -cat(dsl_badge()) -#> [![JHU Data Science](http://johnmuschelli.com/jhudsl/inst/jhudsl_logo.png)](http://jhudatascience.org/) +dsl_badge() +#> [1] "[![JHU Data Science](http://jhudatascience.org/images/logo.png)](http://jhudatascience.org/)" ``` If use `results = 'asis'`, it creates the logo: @@ -40,4 +40,4 @@ If use `results = 'asis'`, it creates the logo: cat(dsl_badge()) ``` -[![JHU Data Science](http://johnmuschelli.com/jhudsl/inst/jhudsl_logo.png)](http://jhudatascience.org/) +[![JHU Data Science](http://jhudatascience.org/images/logo.png)](http://jhudatascience.org/)