diff --git a/README.md b/README.md index c27873c..45e3c05 100644 --- a/README.md +++ b/README.md @@ -1,27 +1,29 @@ -# vizlab -Package with utilities for building vizlab pages +# vizlab vizlab + [![Build Status](https://travis-ci.org/USGS-VIZLAB/vizlab.svg)](https://travis-ci.org/USGS-VIZLAB/vizlab) [![Coverage Status](https://coveralls.io/repos/github/USGS-VIZLAB/vizlab/badge.svg?branch=master)](https://coveralls.io/github/USGS-VIZLAB/vizlab?branch=master) +Package with utilities for building vizlab pages + ## Installation -The most stable+current version of this package can be installed with this R command: +The most recent versions of `vizlab` require the `remake` package. The `devtools` package (available on CRAN) is needed to install: + ```r -install.packages("vizlab", dependencies=TRUE, - repos=c("http://owi.usgs.gov/R","https://cran.rstudio.com")) +devtools::install_github("richfitz/remake") ``` -and updated with this command: + +The most cutting edge version of the package can be installed also with the `devtools` package: ```r -update.packages(oldPkgs=c("vizlab"), - dependencies=TRUE, repos=c("http://owi.usgs.gov/R", "https://cran.rstudio.com")) +devtools::install_github("USGS-VIZLAB/vizlab") ``` +It's often preferred to use a tagged release. For instance, if the current tagged release is "v0.3.1.0", you could install like this: -The most cutting edge version of the package can be installed if you have the `devtools` package: ```r -devtools::install_github("USGS-VIZLAB/vizlab") +devtools::install_github("USGS-VIZLAB/vizlab", ref = "v0.3.1.0") ``` -Some packages are only suggested and will need to be installed manually to open up that functionality. One example is sbtools which can be used if project data is stored on sciencebase. +Some packages are only suggested and will need to be installed manually to open up that functionality. One example is `sbtools` which can be used if project data is stored on sciencebase. ## Using this package diff --git a/inst/images/hexSticker.R b/inst/images/hexSticker.R new file mode 100644 index 0000000..93ad5cf --- /dev/null +++ b/inst/images/hexSticker.R @@ -0,0 +1,14 @@ +library(hexSticker) + +outline = "#000080" +background = "white" +sticker("./inst/images/vizlab.svg", + package = "", + h_fill = background, + h_color = outline, + s_y = 1, + p_size = 1, + s_width = 0.6, + s_height = 0.6, + s_x = 1, + filename = "./inst/images/logo.png") diff --git a/inst/images/logo.png b/inst/images/logo.png new file mode 100644 index 0000000..414f6d2 Binary files /dev/null and b/inst/images/logo.png differ