From 0797d9cbe4760d02bc11f11d86ed32314c4ee0a2 Mon Sep 17 00:00:00 2001 From: IronistM Date: Thu, 9 Nov 2017 17:34:25 +0200 Subject: [PATCH] Added contribution & normalised DESCRIPTION --- DESCRIPTION | 27 ++++++++++++++++++--------- tests/testthat/testthat.R | 1 + 2 files changed, 19 insertions(+), 9 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index efc734a..63d14f4 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,13 +1,23 @@ Package: gpagespeed Title: Google Page Speed API -Version: 0.0.0.9000 -Authors@R: person("Simit", "Patel", email = "simitp@gmail.com", role = c("aut", "cre")) -Description: A way to call the Google Page Speed Insights API directly into your - R console. The package offers two functions that return results the API in the - form of a data frame. The first function, speedfinder, is to call the results - on a single URL, while the second function, speedlist, accepts a list of URLs - and returns a single dataframe with results from the API for all the URLs in the +Version: 0.0.1 +Authors@R: + c(person(given = "Simit", + family = "Patel", + role = c("aut", "cre"), + email = "simitp@gmail.com"), + person(given = "Manos", + family = "Parzakonis", + role = "ctb", + email = "parzakonis.m@gmail.com")) +Description: A way to call the Google Page Speed Insights API + directly into your R console. The package offers two functions that + return results the API in the form of a data frame. The first + function, speedfinder, is to call the results on a single URL, while + the second function, speedlist, accepts a list of URLs and returns a + single dataframe with results from the API for all the URLs in the list. +License: GPL-3 Depends: R (>= 3.2.3) Imports: @@ -18,7 +28,6 @@ Suggests: knitr, rmarkdown, testthat -License: GPL-3 +VignetteBuilder: knitr LazyData: true RoxygenNote: 6.0.1 -VignetteBuilder: knitr diff --git a/tests/testthat/testthat.R b/tests/testthat/testthat.R index b14e3d0..b615b0c 100644 --- a/tests/testthat/testthat.R +++ b/tests/testthat/testthat.R @@ -5,6 +5,7 @@ context("gpagespeed functions") test_check("gpagespeed") +# Need to set an API key to run the tests gspeed_key = 'YOUR_API_KEY' test_that("speedfinder function", {