Ver código fonte

R package repo initialization complete

boB Rudis 10 meses atrás
pai
commit
0488e9001c
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados
14 arquivos alterados com 194 adições e 0 exclusões
  1. 15
    0
      .Rbuildignore
  2. 1
    0
      .codecov.yml
  3. 9
    0
      .gitignore
  4. 6
    0
      .travis.yml
  5. 25
    0
      CONDUCT.md
  6. 25
    0
      DESCRIPTION
  7. 4
    0
      NAMESPACE
  8. 2
    0
      NEWS.md
  9. 12
    0
      R/clandnstine-package.R
  10. 50
    0
      README.Rmd
  11. 21
    0
      clandnstine.Rproj
  12. 16
    0
      man/clandnstine.Rd
  13. 2
    0
      tests/test-all.R
  14. 6
    0
      tests/testthat/test-clandnstine.R

+ 15
- 0
.Rbuildignore Ver arquivo

@@ -0,0 +1,15 @@
1
+^.vscode$
2
+^.*\.Rproj$
3
+^\.Rproj\.user$
4
+^\.travis\.yml$
5
+^README\.*Rmd$
6
+^README\.*html$
7
+^NOTES\.*Rmd$
8
+^NOTES\.*html$
9
+^\.codecov\.yml$
10
+^README_files$
11
+^doc$
12
+^docs$
13
+^tmp$
14
+^notes$
15
+^\.gitlab-ci\.yml$

+ 1
- 0
.codecov.yml Ver arquivo

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

+ 9
- 0
.gitignore Ver arquivo

@@ -0,0 +1,9 @@
1
+.DS_Store
2
+.Rproj.user
3
+.Rhistory
4
+.RData
5
+.Rproj
6
+README_cache
7
+src/*.o
8
+src/*.so
9
+src/*.dll

+ 6
- 0
.travis.yml Ver arquivo

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

+ 25
- 0
CONDUCT.md Ver arquivo

@@ -0,0 +1,25 @@
1
+# Contributor Code of Conduct
2
+
3
+As contributors and maintainers of this project, we pledge to respect all people who 
4
+contribute through reporting issues, posting feature requests, updating documentation,
5
+submitting pull requests or patches, and other activities.
6
+
7
+We are committed to making participation in this project a harassment-free experience for
8
+everyone, regardless of level of experience, gender, gender identity and expression,
9
+sexual orientation, disability, personal appearance, body size, race, ethnicity, age, or religion.
10
+
11
+Examples of unacceptable behavior by participants include the use of sexual language or
12
+imagery, derogatory comments or personal attacks, trolling, public or private harassment,
13
+insults, or other unprofessional conduct.
14
+
15
+Project maintainers have the right and responsibility to remove, edit, or reject comments,
16
+commits, code, wiki edits, issues, and other contributions that are not aligned to this 
17
+Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed 
18
+from the project team.
19
+
20
+Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by 
21
+opening an issue or contacting one or more of the project maintainers.
22
+
23
+This Code of Conduct is adapted from the Contributor Covenant 
24
+(http:contributor-covenant.org), version 1.0.0, available at 
25
+http://contributor-covenant.org/version/1/0/0/

+ 25
- 0
DESCRIPTION Ver arquivo

@@ -0,0 +1,25 @@
1
+Package: clandnstine
2
+Type: Package
3
+Title: clandnstine title goes here otherwise CRAN checks fail
4
+Version: 0.1.0
5
+Date: 2019-01-18
6
+Authors@R: c(
7
+    person("Bob", "Rudis", email = "bob@rud.is", role = c("aut", "cre"), 
8
+           comment = c(ORCID = "0000-0001-5670-2640"))
9
+  )
10
+Maintainer: Bob Rudis <bob@rud.is>
11
+Description: A good description goes here otherwise CRAN checks fail.
12
+URL: https://gitlab.com/hrbrmstr/clandnstine
13
+BugReports: https://gitlab.com/hrbrmstr/clandnstine/issues
14
+Encoding: UTF-8
15
+License: AGPL
16
+Suggests:
17
+    testthat,
18
+    covr
19
+Depends:
20
+    R (>= 3.2.0)
21
+Imports:
22
+    httr,
23
+    jsonlite
24
+Roxygen: list(markdown = TRUE)
25
+RoxygenNote: 6.1.1

+ 4
- 0
NAMESPACE Ver arquivo

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

+ 2
- 0
NEWS.md Ver arquivo

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

+ 12
- 0
R/clandnstine-package.R Ver arquivo

@@ -0,0 +1,12 @@
1
+#' ...
2
+#' 
3
+#' - URL: <https://gitlab.com/hrbrmstr/clandnstine>
4
+#' - BugReports: <https://gitlab.com/hrbrmstr/clandnstine/issues>
5
+#' 
6
+#' @md
7
+#' @name clandnstine
8
+#' @docType package
9
+#' @author Bob Rudis (bob@@rud.is)
10
+#' @import httr
11
+#' @importFrom jsonlite fromJSON
12
+NULL

+ 50
- 0
README.Rmd Ver arquivo

@@ -0,0 +1,50 @@
1
+---
2
+output: rmarkdown::github_document
3
+editor_options: 
4
+  chunk_output_type: inline
5
+---
6
+```{r pkg-knitr-opts, include=FALSE}
7
+knitr$opts_chunk$set(collapse=TRUE, fig.retina=2, message=FALSE, warning=FALSE)
8
+options(width=120)
9
+```
10
+
11
+[![Travis-CI Build Status](https://travis-ci.org/hrbrmstr/clandnstine.svg?branch=master)](https://travis-ci.org/hrbrmstr/clandnstine) 
12
+[![Coverage Status](https://codecov.io/gh/hrbrmstr/clandnstine/branch/master/graph/badge.svg)](https://codecov.io/gh/hrbrmstr/clandnstine)
13
+[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/clandnstine)](https://cran.r-project.org/package=clandnstine)
14
+
15
+# clandnstine
16
+
17
+## Description
18
+
19
+## What's Inside The Tin
20
+
21
+The following functions are implemented:
22
+
23
+## Installation
24
+
25
+```{r install-ex, eval=FALSE}
26
+devtools::install_git("https://gitlab.com/hrbrmstr/clandnstine.git")
27
+# or
28
+devtools::install_github("hrbrmstr/clandnstine")
29
+```
30
+
31
+## Usage
32
+
33
+```{r lib-ex}
34
+library(clandnstine)
35
+
36
+# current version
37
+packageVersion("clandnstine")
38
+
39
+```
40
+
41
+## clandnstine Metrics
42
+
43
+```{r cloc, echo=FALSE}
44
+cloc::cloc_pkg_md()
45
+```
46
+
47
+## Code of Conduct
48
+
49
+Please note that this project is released with a [Contributor Code of Conduct](CONDUCT.md). 
50
+By participating in this project you agree to abide by its terms.

+ 21
- 0
clandnstine.Rproj Ver arquivo

@@ -0,0 +1,21 @@
1
+Version: 1.0
2
+
3
+RestoreWorkspace: Default
4
+SaveWorkspace: Default
5
+AlwaysSaveHistory: Default
6
+
7
+EnableCodeIndexing: Yes
8
+UseSpacesForTab: Yes
9
+NumSpacesForTab: 2
10
+Encoding: UTF-8
11
+
12
+RnwWeave: Sweave
13
+LaTeX: pdfLaTeX
14
+
15
+StripTrailingWhitespace: Yes
16
+
17
+BuildType: Package
18
+PackageUseDevtools: Yes
19
+PackageInstallArgs: --no-multiarch --with-keep.source
20
+PackageBuildArgs: --resave-data
21
+PackageRoxygenize: rd,collate,namespace

+ 16
- 0
man/clandnstine.Rd Ver arquivo

@@ -0,0 +1,16 @@
1
+% Generated by roxygen2: do not edit by hand
2
+% Please edit documentation in R/clandnstine-package.R
3
+\docType{package}
4
+\name{clandnstine}
5
+\alias{clandnstine}
6
+\alias{clandnstine-package}
7
+\title{...}
8
+\description{
9
+\itemize{
10
+\item URL: \url{https://gitlab.com/hrbrmstr/clandnstine}
11
+\item BugReports: \url{https://gitlab.com/hrbrmstr/clandnstine/issues}
12
+}
13
+}
14
+\author{
15
+Bob Rudis (bob@rud.is)
16
+}

+ 2
- 0
tests/test-all.R Ver arquivo

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

+ 6
- 0
tests/testthat/test-clandnstine.R Ver arquivo

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

Carregando…
Cancelar
Salvar