Skip to content

Commit

Permalink
Added contribution & normalised DESCRIPTION
Browse files Browse the repository at this point in the history
  • Loading branch information
IronistM committed Nov 9, 2017
1 parent 6d19a44 commit 0797d9c
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 9 deletions.
27 changes: 18 additions & 9 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,13 +1,23 @@
Package: gpagespeed
Title: Google Page Speed API
Version: 0.0.0.9000
Authors@R: person("Simit", "Patel", email = "[email protected]", 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 = "[email protected]"),
person(given = "Manos",
family = "Parzakonis",
role = "ctb",
email = "[email protected]"))
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:
Expand All @@ -18,7 +28,6 @@ Suggests:
knitr,
rmarkdown,
testthat
License: GPL-3
VignetteBuilder: knitr
LazyData: true
RoxygenNote: 6.0.1
VignetteBuilder: knitr
1 change: 1 addition & 0 deletions tests/testthat/testthat.R
Original file line number Diff line number Diff line change
Expand Up @@ -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", {
Expand Down

0 comments on commit 0797d9c

Please sign in to comment.