Skip to content

Commit

Permalink
Added the logo.
Browse files Browse the repository at this point in the history
  • Loading branch information
muschellij2 committed Sep 15, 2017
1 parent fd61261 commit 10b0fef
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion 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"),
Expand Down
4 changes: 2 additions & 2 deletions R/dsl_logo_url.R
Expand Up @@ -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)
}

8 changes: 4 additions & 4 deletions README.md
Expand Up @@ -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:
Expand All @@ -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/)

0 comments on commit 10b0fef

Please sign in to comment.