Преглед на файлове

R package repo initialization complete

master
boB Rudis преди 9 месеца
ревизия
f129f2299a
No known key found for this signature in database GPG ключ ID: 1D7529BE14E2BBA9
променени са 14 файла, в които са добавени 204 реда и са изтрити 0 реда
  1. +21
    -0
      .Rbuildignore
  2. +1
    -0
      .codecov.yml
  3. +9
    -0
      .gitignore
  4. +6
    -0
      .travis.yml
  5. +25
    -0
      CONDUCT.md
  6. +24
    -0
      DESCRIPTION
  7. +4
    -0
      NAMESPACE
  8. +2
    -0
      NEWS.md
  9. +9
    -0
      R/cdccovidview-package.R
  10. +51
    -0
      README.Rmd
  11. +21
    -0
      cdccovidview.Rproj
  12. +4
    -0
      inst/tinytest/test_cdccovidview.R
  13. +22
    -0
      man/cdccovidview.Rd
  14. +5
    -0
      tests/tinytest.R

+ 21
- 0
.Rbuildignore Целия файл

@ -0,0 +1,21 @@
^.vscode$
^.*\.Rproj$
^\.Rproj\.user$
^\.travis\.yml$
^README\.*Rmd$
^README\.*html$
^NOTES\.*Rmd$
^NOTES\.*html$
^\.codecov\.yml$
^README_files$
^doc$
^docs$
^tmp$
^notes$
^CONDUCT.*$
^CODE.*$
^\.gitlab-ci\.yml$
^\.vscode$
^CRAN-RELEASE$
^appveyor\.yml$
^tools$

+ 1
- 0
.codecov.yml Целия файл

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

+ 9
- 0
.gitignore Целия файл

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

+ 6
- 0
.travis.yml Целия файл

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

+ 25
- 0
CONDUCT.md Целия файл

@ -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/

+ 24
- 0
DESCRIPTION Целия файл

@ -0,0 +1,24 @@
Package: cdccovidview
Type: Package
Title: cdccovidview title goes here otherwise CRAN checks fail
Version: 0.1.0
Date: 2020-04-11
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://git.rud.is/hrbrmstr/cdccovidview
BugReports: https://gitlab.com/hrbrmstr/cdccovidview/issues
Encoding: UTF-8
License: AGPL
Suggests:
covr, tinytest
Depends:
R (>= 3.2.0)
Imports:
httr,
jsonlite
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.1.0

+ 4
- 0
NAMESPACE Целия файл

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

+ 2
- 0
NEWS.md Целия файл

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

+ 9
- 0
R/cdccovidview-package.R Целия файл

@ -0,0 +1,9 @@
#' ...
#'
#' @md
#' @name cdccovidview
#' @keywords internal
#' @author Bob Rudis (bob@@rud.is)
#' @import httr
#' @importFrom jsonlite fromJSON
"_PACKAGE"

+ 51
- 0
README.Rmd Целия файл

@ -0,0 +1,51 @@
---
output: rmarkdown::github_document
editor_options:
chunk_output_type: console
---
```{r pkg-knitr-opts, include=FALSE}
hrbrpkghelpr::global_opts()
```
```{r badges, results='asis', echo=FALSE, cache=FALSE}
hrbrpkghelpr::stinking_badges()
```
```{r description, results='asis', echo=FALSE, cache=FALSE}
hrbrpkghelpr::yank_title_and_description()
```
## What's Inside The Tin
The following functions are implemented:
```{r ingredients, results='asis', echo=FALSE, cache=FALSE}
hrbrpkghelpr::describe_ingredients()
```
## Installation
```{r install-ex, results='asis', echo=FALSE, cache=FALSE}
hrbrpkghelpr::install_block()
```
## Usage
```{r lib-ex}
library(cdccovidview)
# current version
packageVersion("cdccovidview")
```
## cdccovidview 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.
By participating in this project you agree to abide by its terms.

+ 21
- 0
cdccovidview.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

+ 4
- 0
inst/tinytest/test_cdccovidview.R Целия файл

@ -0,0 +1,4 @@
# Placeholder with simple test
expect_equal(1 + 1, 2)

+ 22
- 0
man/cdccovidview.Rd Целия файл

@ -0,0 +1,22 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cdccovidview-package.R
\docType{package}
\name{cdccovidview}
\alias{cdccovidview}
\alias{cdccovidview-package}
\title{...}
\description{
A good description goes here otherwise CRAN checks fail.
}
\seealso{
Useful links:
\itemize{
\item \url{https://git.rud.is/hrbrmstr/cdccovidview}
\item Report bugs at \url{https://gitlab.com/hrbrmstr/cdccovidview/issues}
}
}
\author{
Bob Rudis (bob@rud.is)
}
\keyword{internal}

+ 5
- 0
tests/tinytest.R Целия файл

@ -0,0 +1,5 @@
if ( requireNamespace("tinytest", quietly=TRUE) ){
tinytest::test_package("cdccovidview")
}

Зареждане…
Отказ
Запис