-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
R package repo initialization complete
- Loading branch information
0 parents
commit 2629093
Showing
14 changed files
with
196 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
^.vscode$ | ||
^.*\.Rproj$ | ||
^\.Rproj\.user$ | ||
^\.travis\.yml$ | ||
^README\.*Rmd$ | ||
^README\.*html$ | ||
^NOTES\.*Rmd$ | ||
^NOTES\.*html$ | ||
^\.codecov\.yml$ | ||
^README_files$ | ||
^doc$ | ||
^docs$ | ||
^tmp$ | ||
^notes$ | ||
^\.gitlab-ci\.yml$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
comment: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
.DS_Store | ||
.Rproj.user | ||
.Rhistory | ||
.RData | ||
.Rproj | ||
README_cache | ||
src/*.o | ||
src/*.so | ||
src/*.dll |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
language: R | ||
sudo: false | ||
cache: packages | ||
|
||
after_success: | ||
- Rscript -e 'covr::codecov()' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Contributor Code of Conduct | ||
|
||
As contributors and maintainers of this project, we pledge to respect all people who | ||
contribute through reporting issues, posting feature requests, updating documentation, | ||
submitting pull requests or patches, and other activities. | ||
|
||
We are committed to making participation in this project a harassment-free experience for | ||
everyone, regardless of level of experience, gender, gender identity and expression, | ||
sexual orientation, disability, personal appearance, body size, race, ethnicity, age, or religion. | ||
|
||
Examples of unacceptable behavior by participants include the use of sexual language or | ||
imagery, derogatory comments or personal attacks, trolling, public or private harassment, | ||
insults, or other unprofessional conduct. | ||
|
||
Project maintainers have the right and responsibility to remove, edit, or reject comments, | ||
commits, code, wiki edits, issues, and other contributions that are not aligned to this | ||
Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed | ||
from the project team. | ||
|
||
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by | ||
opening an issue or contacting one or more of the project maintainers. | ||
|
||
This Code of Conduct is adapted from the Contributor Covenant | ||
(http:contributor-covenant.org), version 1.0.0, available at | ||
http://contributor-covenant.org/version/1/0/0/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
Package: ggchicklet | ||
Type: Package | ||
Title: ggchicklet title goes here otherwise CRAN checks fail | ||
Version: 0.1.0 | ||
Date: 2019-06-28 | ||
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/ggchicklet | ||
BugReports: https://gitlab.com/hrbrmstr/ggchicklet/issues | ||
Encoding: UTF-8 | ||
License: AGPL | ||
Suggests: | ||
testthat, | ||
covr | ||
Depends: | ||
R (>= 3.2.0) | ||
Imports: | ||
httr, | ||
jsonlite | ||
Roxygen: list(markdown = TRUE) | ||
RoxygenNote: 6.1.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Generated by roxygen2: do not edit by hand | ||
|
||
import(httr) | ||
importFrom(jsonlite,fromJSON) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
0.1.0 | ||
* Initial release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#' ... | ||
#' | ||
#' - URL: <https://gitlab.com/hrbrmstr/ggchicklet> | ||
#' - BugReports: <https://gitlab.com/hrbrmstr/ggchicklet/issues> | ||
#' | ||
#' @md | ||
#' @name ggchicklet | ||
#' @docType package | ||
#' @author Bob Rudis (bob@@rud.is) | ||
#' @import httr | ||
#' @importFrom jsonlite fromJSON | ||
NULL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
--- | ||
output: rmarkdown::github_document | ||
editor_options: | ||
chunk_output_type: inline | ||
--- | ||
```{r pkg-knitr-opts, include=FALSE} | ||
knitr::opts_chunk$set(collapse=TRUE, fig.retina=2, message=FALSE, warning=FALSE) | ||
options(width=120) | ||
``` | ||
|
||
[![Travis-CI Build Status](https://travis-ci.org/hrbrmstr/ggchicklet.svg?branch=master)](https://travis-ci.org/hrbrmstr/ggchicklet) | ||
[![Coverage Status](https://codecov.io/gh/hrbrmstr/ggchicklet/branch/master/graph/badge.svg)](https://codecov.io/gh/hrbrmstr/ggchicklet) | ||
[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/ggchicklet)](https://cran.r-project.org/package=ggchicklet) | ||
|
||
# ggchicklet | ||
|
||
## Description | ||
|
||
## What's Inside The Tin | ||
|
||
The following functions are implemented: | ||
|
||
## Installation | ||
|
||
```{r install-ex, eval=FALSE} | ||
devtools::install_git("https://sr.ht.com/~hrbrmstr/ggchicklet.git") | ||
# or | ||
devtools::install_git("https://gitlab.com/hrbrmstr/ggchicklet.git") | ||
# or (if you must) | ||
devtools::install_github("hrbrmstr/ggchicklet") | ||
``` | ||
|
||
## Usage | ||
|
||
```{r lib-ex} | ||
library(ggchicklet) | ||
# current version | ||
packageVersion("ggchicklet") | ||
``` | ||
|
||
## ggchicklet Metrics | ||
|
||
```{r cloc, echo=FALSE} | ||
cloc::cloc_pkg_md() | ||
``` | ||
|
||
## Code of Conduct | ||
|
||
Please note that this project is released with a [Contributor Code of Conduct](CONDUCT.md). | ||
By participating in this project you agree to abide by its terms. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
library(testthat) | ||
test_check("ggchicklet") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
context("minimal package functionality") | ||
test_that("we can do something", { | ||
|
||
#expect_that(some_function(), is_a("data.frame")) | ||
|
||
}) |