Skip to content

Commit

Permalink
Updated repo tools
Browse files Browse the repository at this point in the history
  • Loading branch information
phgrosjean committed May 1, 2024
1 parent af23b9c commit fd2862f
Show file tree
Hide file tree
Showing 8 changed files with 55 additions and 51 deletions.
10 changes: 5 additions & 5 deletions .Rbuildignore
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
^\.DS_Store$
^\.Rproj\.user$
^.+\.Rproj$
^\.gitignore$
^\.git$
^\.github$
^\.DS_Store$
^Makefile$
^\.Rprofile$
^revdep$
^codecov\.yml$
^_pkgdown\.yml$
^pkgdown$
^docs$
^CODE_OF_CONDUCT\.md$
^FAQ\.md$
^LICENSE\.md$
^README\.Rmd$
^README\.Rmd$
^README\.md$
^TODO\.md$
^_pkgdown\.yml$
^pkgdown$
^docs$
data-raw
3 changes: 3 additions & 0 deletions .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

steps:
- uses: actions/checkout@v4
Expand All @@ -28,10 +29,12 @@ jobs:

- name: Test coverage
run: |
token <- Sys.getenv("CODECOV_TOKEN", "")
covr::codecov(
quiet = FALSE,
clean = FALSE,
install_path = file.path(normalizePath(Sys.getenv("RUNNER_TEMP"), winslash = "/"), "package"),
token = if (token != "") token
)
shell: Rscript {0}

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,4 @@ rsconnect/
# More files
inst/doc
docs
Meta
60 changes: 30 additions & 30 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -9,44 +9,44 @@ Authors@R: c(person("Philippe", "Grosjean", role = c("aut", "cre"),
email = "phgrosjean@sciviews.org",
comment = c(ORCID = "0000-0002-2694-9471")))
Maintainer: Philippe Grosjean <phgrosjean@sciviews.org>
Depends: R (>= 4.2.0)
Depends:
R (>= 4.2.0)
Imports:
tibble,
tsibble,
Hmisc,
utils,
readr,
rlang,
svBase,
lifecycle
Hmisc (>= 5.0.1),
lifecycle (>= 1.0.3),
utils (>= 4.2.0),
readr (>= 2.1.4),
rlang (>= 1.1.1),
svBase (>= 1.4.0),
tibble (>= 3.2.1),
tsibble (>= 1.1.3)
Suggests:
SciViews,
readxl,
haven,
WriteXLS,
writexl,
datasets,
ggplot2,
lme4,
babynames,
nycflights13,
palmerpenguins,
covr,
knitr,
rmarkdown,
testthat (>= 3.0.0),
spelling
babynames (>= 1.0.1),
datasets (>= 4.2.0),
ggplot2 (>= 3.4.2),
haven (>= 2.5.2),
lme4 (>= 1.1.32),
nycflights13 (>= 1.0.2),
palmerpenguins (>= 0.1.1),
SciViews (>= 1.6.0),
readxl (>= 1.4.2),
writexl (>= 1.4.2),
WriteXLS (>= 6.4.0),
knitr (>= 1.42),
rmarkdown (>= 2.21),
spelling (>= 2.2.1),
testthat (>= 3.0.0)
Remotes:
SciViews/svBase,
SciViews/SciViews
SciViews/SciViews,
SciViews/svBase
License: MIT + file LICENSE
URL: https://github.com/SciViews/data.io, https://www.sciviews.org/data.io/
BugReports: https://github.com/SciViews/data.io/issues
LazyData: yes
ByteCompile: yes
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.2.3
Config/testthat/edition: 3
VignetteBuilder: knitr
Encoding: UTF-8
Language: en-US
LazyData: yes
ByteCompile: yes
Config/testthat/edition: 3
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<!-- badges: start -->

[![R-CMD-check](https://github.com/SciViews/data.io/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/SciViews/data.io/actions/workflows/R-CMD-check.yaml) [![Codecov test coverage](https://codecov.io/gh/SciViews/data.io/branch/main/graph/badge.svg)](https://app.codecov.io/gh/SciViews/data.io?branch=main) [![CRAN Status](https://www.r-pkg.org/badges/version/data.io)](https://cran.r-project.org/package=data.io) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![Lifecycle: stable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://www.tidyverse.org/lifecycle/#stable)
[![R-CMD-check](https://github.com/SciViews/data.io/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/SciViews/data.io/actions/workflows/R-CMD-check.yaml) [![Codecov test coverage](https://codecov.io/gh/SciViews/data.io/branch/main/graph/badge.svg)](https://app.codecov.io/gh/SciViews/data.io?branch=main) [![CRAN Status](https://www.r-pkg.org/badges/version/data.io)](https://cran.r-project.org/package=data.io) [![r-universe status](https://sciviews.r-universe.dev/badges/data.io)](https://sciviews.r-universe.dev/data.io) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![Lifecycle: stable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html#stable))

<!-- badges: end -->

Expand Down Expand Up @@ -51,4 +51,4 @@ For further instructions, please, refer to these help pages at <https://www.sciv

## Code of Conduct

Please note that the {data.io} project is released with a [Contributor Code of Conduct](https://contributor-covenant.org/version/2/0/CODE_OF_CONDUCT.html). By contributing to this project, you agree to abide by its terms.
Please note that the {data.io} package is released with a [Contributor Code of Conduct](https://contributor-covenant.org/version/2/1/CODE_OF_CONDUCT.html). By contributing to this project, you agree to abide by its terms.
18 changes: 10 additions & 8 deletions inst/CITATION
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
citHeader("To cite SciViews-R in publications, please use:")
citHeader("To cite SciViews-R in publications use:")

citEntry(entry="Manual",
title = "SciViews-R",
author = personList(as.person("Philippe Grosjean")),
citEntry(
entry = "Manual",
title = "SciViews::R",
author = personList(as.person("Philippe Grosjean"),
as.person("Guyliann Engels")),
organization = "UMONS",
address = "MONS, Belgium",
year = version$year,
url = "https://www.sciviews.org/SciViews-R/",
url = "https://sciviews.r-universe.dev/",

textVersion =
paste("Grosjean, Ph. (", version$year, "). ",
"SciViews-R. ",
paste("Grosjean, Ph. & Engels, G. (", version$year, "). ",
"SciViews::R. ",
"UMONS, Mons, Belgium. ",
"URL https://www.sciviews.org/SciViews-R/.",
"URL https://sciviews.r-universe.dev/.",
sep = "")
)

Expand Down
2 changes: 0 additions & 2 deletions vignettes/.gitignore

This file was deleted.

8 changes: 4 additions & 4 deletions vignettes/data-io.Rmd
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
---
title: "SciViews datasets and read()/write() functions"
author: "Philippe Grosjean (phgrosjean@sciviews.org)"
title: "Read and Write Data in Different Formats"
author: "Philippe Grosjean"
date: "`r Sys.Date()`"
output:
rmarkdown::html_vignette:
toc: true
toc_depth: 3
fig_caption: yes
vignette: >
%\VignetteIndexEntry{SciViews datasets and read()/write() functions}
%\VignetteIndexEntry{Read and Write Data in Different Formats}
%\VignetteEngine{knitr::rmarkdown}
%\VignetteEncoding{UTF-8}
\usepackage[utf8]{inputenc}
---

```{r setup, include=FALSE}
Expand Down

0 comments on commit fd2862f

Please sign in to comment.