From 9a3525cf445eb8b9fb5aeaf2d353b8d488738c82 Mon Sep 17 00:00:00 2001 From: "Jeffrey W. Hollister" Date: Thu, 16 Mar 2017 10:26:18 -0400 Subject: [PATCH] v 0.1.3 Grrr API keys. --- DESCRIPTION | 2 +- cran_comments.md | 2 +- vignettes/introduction_to_elevatr.Rmd | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index ff7aeed..8d471d8 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: elevatr Title: Access Elevation Data from Various APIs -Version: 0.1.2 +Version: 0.1.3 Authors@R: c(person("Jeffrey", "Hollister", email = "hollister.jeff@epa.gov", role = c("aut", "cre")), person("Tarak Shah", role = "ctb")) diff --git a/cran_comments.md b/cran_comments.md index 3fd51a8..5a12445 100644 --- a/cran_comments.md +++ b/cran_comments.md @@ -1,5 +1,5 @@ ## Comments -This submission fixes a bug in the get_elev_raster function. The API key for mapzen had a typo. This also required some changes to testing the package. The package is now tested locally and via travis-ci. The tests are skipped on CRAN. +This submission fixes a bug in the get_elev_raster function. The API key for mapzen had a typo. This also required some changes to testing the package. The package is now tested locally and via travis-ci. The tests are skipped on CRAN. Additionally, this corrects a problem with vignettes on a prior submission. ## Test Environments - Ubuntu 12.04, travis-ci, R Under development (unstable) (2017-03-13 r72338) diff --git a/vignettes/introduction_to_elevatr.Rmd b/vignettes/introduction_to_elevatr.Rmd index f73e326..744d4ff 100644 --- a/vignettes/introduction_to_elevatr.Rmd +++ b/vignettes/introduction_to_elevatr.Rmd @@ -31,6 +31,9 @@ knitr::opts_chunk$set(purl = NOT_CRAN, fig.width = 5, fig.height = 5, tidy = TRUE) +``` + +```{r environ, echo=FALSE} key <- readRDS("../tests/testthat/key_file.rds") Sys.setenv(mapzen_key=key) ```