浏览代码
R package repo initialization complete
latest
找不到此签名对应的密钥
GPG 密钥 ID: 1D7529BE14E2BBA9
共有
13 个文件被更改,包括
147 次插入 和
0 次删除
-
.Rbuildignore
-
.codecov.yml
-
.gitignore
-
.travis.yml
-
DESCRIPTION
-
NAMESPACE
-
NEWS.md
-
R/psl-package.R
-
README.Rmd
-
man/psl.Rd
-
psl.Rproj
-
tests/test-all.R
-
tests/testthat/test-psl.R
|
|
@ -0,0 +1,13 @@ |
|
|
|
^.*\.Rproj$ |
|
|
|
^\.Rproj\.user$ |
|
|
|
^\.travis\.yml$ |
|
|
|
^README\.*Rmd$ |
|
|
|
^README\.*html$ |
|
|
|
^NOTES\.*Rmd$ |
|
|
|
^NOTES\.*html$ |
|
|
|
^\.codecov\.yml$ |
|
|
|
^README_files$ |
|
|
|
^doc$ |
|
|
|
^tmp$ |
|
|
|
^notes$ |
|
|
|
^\.gitlab-ci\.yml$ |
|
|
@ -0,0 +1 @@ |
|
|
|
comment: false |
|
|
@ -0,0 +1,8 @@ |
|
|
|
.DS_Store |
|
|
|
.Rproj.user |
|
|
|
.Rhistory |
|
|
|
.RData |
|
|
|
.Rproj |
|
|
|
src/*.o |
|
|
|
src/*.so |
|
|
|
src/*.dll |
|
|
@ -0,0 +1,6 @@ |
|
|
|
language: R |
|
|
|
sudo: false |
|
|
|
cache: packages |
|
|
|
|
|
|
|
after_success: |
|
|
|
- Rscript -e 'covr::codecov()' |
|
|
@ -0,0 +1,24 @@ |
|
|
|
Package: psl |
|
|
|
Type: Package |
|
|
|
Title: psl title goes here otherwise CRAN checks fail |
|
|
|
Version: 0.1.0 |
|
|
|
Date: 2018-09-06 |
|
|
|
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/psl |
|
|
|
BugReports: https://gitlab.com/hrbrmstr/psl/issues |
|
|
|
Encoding: UTF-8 |
|
|
|
License: AGPL |
|
|
|
Suggests: |
|
|
|
testthat, |
|
|
|
covr |
|
|
|
Depends: |
|
|
|
R (>= 3.2.0) |
|
|
|
Imports: |
|
|
|
httr, |
|
|
|
jsonlite |
|
|
|
RoxygenNote: 6.0.1.9000 |
|
|
@ -0,0 +1,4 @@ |
|
|
|
# Generated by roxygen2: do not edit by hand |
|
|
|
|
|
|
|
import(httr) |
|
|
|
importFrom(jsonlite,fromJSON) |
|
|
@ -0,0 +1,2 @@ |
|
|
|
0.1.0 |
|
|
|
* Initial release |
|
|
@ -0,0 +1,12 @@ |
|
|
|
#' ... |
|
|
|
#' |
|
|
|
#' - URL: <https://gitlab.com/hrbrmstr/psl> |
|
|
|
#' - BugReports: <https://gitlab.com/hrbrmstr/psl/issues> |
|
|
|
#' |
|
|
|
#' @md |
|
|
|
#' @name psl |
|
|
|
#' @docType package |
|
|
|
#' @author Bob Rudis (bob@@rud.is) |
|
|
|
#' @import httr |
|
|
|
#' @importFrom jsonlite fromJSON |
|
|
|
NULL |
|
|
@ -0,0 +1,32 @@ |
|
|
|
--- |
|
|
|
output: rmarkdown::github_document |
|
|
|
--- |
|
|
|
|
|
|
|
# psl |
|
|
|
|
|
|
|
## Description |
|
|
|
|
|
|
|
## What's Inside The Tin |
|
|
|
|
|
|
|
The following functions are implemented: |
|
|
|
|
|
|
|
## Installation |
|
|
|
|
|
|
|
```{r eval=FALSE} |
|
|
|
devtools::install_github("hrbrmstr/psl") |
|
|
|
``` |
|
|
|
|
|
|
|
```{r message=FALSE, warning=FALSE, error=FALSE, include=FALSE} |
|
|
|
options(width=120) |
|
|
|
``` |
|
|
|
|
|
|
|
## Usage |
|
|
|
|
|
|
|
```{r message=FALSE, warning=FALSE, error=FALSE} |
|
|
|
library(psl) |
|
|
|
|
|
|
|
# current verison |
|
|
|
packageVersion("psl") |
|
|
|
|
|
|
|
``` |
|
|
|
|
|
|
@ -0,0 +1,16 @@ |
|
|
|
% Generated by roxygen2: do not edit by hand |
|
|
|
% Please edit documentation in R/psl-package.R |
|
|
|
\docType{package} |
|
|
|
\name{psl} |
|
|
|
\alias{psl} |
|
|
|
\alias{psl-package} |
|
|
|
\title{...} |
|
|
|
\description{ |
|
|
|
\itemize{ |
|
|
|
\item URL: \url{https://gitlab.com/hrbrmstr/psl} |
|
|
|
\item BugReports: \url{https://gitlab.com/hrbrmstr/psl/issues} |
|
|
|
} |
|
|
|
} |
|
|
|
\author{ |
|
|
|
Bob Rudis (bob@rud.is) |
|
|
|
} |
|
|
@ -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 |
|
|
@ -0,0 +1,2 @@ |
|
|
|
library(testthat) |
|
|
|
test_check("psl") |
|
|
@ -0,0 +1,6 @@ |
|
|
|
context("minimal package functionality") |
|
|
|
test_that("we can do something", { |
|
|
|
|
|
|
|
#expect_that(some_function(), is_a("data.frame")) |
|
|
|
|
|
|
|
}) |