Browse Source

R package repo initialization complete

master
boB Rudis 6 years ago
parent
commit
6428e4f9bd
No known key found for this signature in database GPG Key ID: 1D7529BE14E2BBA9
  1. 12
      .Rbuildignore
  2. 1
      .codecov.yml
  3. 8
      .gitignore
  4. 6
      .travis.yml
  5. 24
      DESCRIPTION
  6. 4
      NAMESPACE
  7. 2
      NEWS.md
  8. 12
      R/worldtilegrid-package.R
  9. 32
      README.Rmd
  10. 16
      man/worldtilegrid.Rd
  11. 2
      tests/test-all.R
  12. 6
      tests/testthat/test-worldtilegrid.R
  13. 21
      worldtilegrid.Rproj

12
.Rbuildignore

@ -0,0 +1,12 @@
^.*\.Rproj$
^\.Rproj\.user$
^\.travis\.yml$
^README\.*Rmd$
^README\.*html$
^NOTES\.*Rmd$
^NOTES\.*html$
^\.codecov\.yml$
^README_files$
^doc$
^tmp$
^notes$

1
.codecov.yml

@ -0,0 +1 @@
comment: false

8
.gitignore

@ -0,0 +1,8 @@
.DS_Store
.Rproj.user
.Rhistory
.RData
.Rproj
src/*.o
src/*.so
src/*.dll

6
.travis.yml

@ -0,0 +1,6 @@
language: R
sudo: false
cache: packages
after_success:
- Rscript -e 'covr::codecov()'

24
DESCRIPTION

@ -0,0 +1,24 @@
Package: worldtilegrid
Type: Package
Title: worldtilegrid title goes here otherwise CRAN checks fail
Version: 0.1.0
Date: 2018-08-25
Authors@R: c(
person("Bob", "Rudis", email = "bob@rud.is", role = c("aut", "cre"),
comment = c(ORCID = "0000-0001-5670-2640"))
)
Maintainer: Bob Rudis <bob@rud.is>
Description: A good description goes here otherwise CRAN checks fail.
URL: https://gitlab.com/hrbrmstr/worldtilegrid
BugReports: https://gitlab.com/hrbrmstr/worldtilegrid/issues
Encoding: UTF-8
License: AGPL
Suggests:
testthat,
covr
Depends:
R (>= 3.2.0)
Imports:
httr,
jsonlite
RoxygenNote: 6.0.1.9000

4
NAMESPACE

@ -0,0 +1,4 @@
# Generated by roxygen2: do not edit by hand
import(httr)
importFrom(jsonlite,fromJSON)

2
NEWS.md

@ -0,0 +1,2 @@
0.1.0
* Initial release

12
R/worldtilegrid-package.R

@ -0,0 +1,12 @@
#' ...
#'
#' - URL: <https://gitlab.com/hrbrmstr/worldtilegrid>
#' - BugReports: <https://gitlab.com/hrbrmstr/worldtilegrid/issues>
#'
#' @md
#' @name worldtilegrid
#' @docType package
#' @author Bob Rudis (bob@@rud.is)
#' @import httr
#' @importFrom jsonlite fromJSON
NULL

32
README.Rmd

@ -0,0 +1,32 @@
---
output: rmarkdown::github_document
---
# worldtilegrid
## Description
## What's Inside The Tin
The following functions are implemented:
## Installation
```{r eval=FALSE}
devtools::install_github("hrbrmstr/worldtilegrid")
```
```{r message=FALSE, warning=FALSE, error=FALSE, include=FALSE}
options(width=120)
```
## Usage
```{r message=FALSE, warning=FALSE, error=FALSE}
library(worldtilegrid)
# current verison
packageVersion("worldtilegrid")
```

16
man/worldtilegrid.Rd

@ -0,0 +1,16 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/worldtilegrid-package.R
\docType{package}
\name{worldtilegrid}
\alias{worldtilegrid}
\alias{worldtilegrid-package}
\title{...}
\description{
\itemize{
\item URL: \url{https://gitlab.com/hrbrmstr/worldtilegrid}
\item BugReports: \url{https://gitlab.com/hrbrmstr/worldtilegrid/issues}
}
}
\author{
Bob Rudis (bob@rud.is)
}

2
tests/test-all.R

@ -0,0 +1,2 @@
library(testthat)
test_check("worldtilegrid")

6
tests/testthat/test-worldtilegrid.R

@ -0,0 +1,6 @@
context("minimal package functionality")
test_that("we can do something", {
#expect_that(some_function(), is_a("data.frame"))
})

21
worldtilegrid.Rproj

@ -0,0 +1,21 @@
Version: 1.0
RestoreWorkspace: Default
SaveWorkspace: Default
AlwaysSaveHistory: Default
EnableCodeIndexing: Yes
UseSpacesForTab: Yes
NumSpacesForTab: 2
Encoding: UTF-8
RnwWeave: Sweave
LaTeX: pdfLaTeX
StripTrailingWhitespace: Yes
BuildType: Package
PackageUseDevtools: Yes
PackageInstallArgs: --no-multiarch --with-keep.source
PackageBuildArgs: --resave-data
PackageRoxygenize: rd,collate,namespace
Loading…
Cancel
Save