-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'styling' into vignette-branch-name
- Loading branch information
Showing
70 changed files
with
1,676 additions
and
927 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 |
---|---|---|
@@ -1,17 +1,22 @@ | ||
# checklist | ||
^_pkgdown.yml$ | ||
^.*\.Rproj$ | ||
^\.Rproj\.user$ | ||
^\.github$ | ||
^codemeta\.json$ | ||
^.zenodo\.json$ | ||
^man-roxygen$ | ||
^pkgdown$ | ||
^_pkgdown.yml$ | ||
^docs$ | ||
^cran-comments\.md$ | ||
# checklist | ||
^\.github$ | ||
^\.httr-oauth$ | ||
^\.Rproj\.user$ | ||
^\.zenodo\.json$ | ||
^checklist.yml$ | ||
^CITATION\.cff$ | ||
^codecov.yml$ | ||
^LICENSE.md$ | ||
^\.httr-oauth$ | ||
^codecov\.yml$ | ||
^codemeta\.json$ | ||
^cran-comments\.md$ | ||
^data-raw$ | ||
^doc$ | ||
^docs$ | ||
^LICENSE.md$ | ||
^man-roxygen$ | ||
^Meta$ | ||
^pkgdown$ | ||
^README\.Rmd$ |
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
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
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 @@ | ||
on: | ||
push: | ||
branches: | ||
- main | ||
- master | ||
schedule: | ||
- cron: '6 0 15 * *' | ||
|
||
name: "check package on main" | ||
|
||
jobs: | ||
check-package: | ||
runs-on: ubuntu-latest | ||
name: "check package" | ||
env: | ||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | ||
ORCID_TOKEN: ${{ secrets.ORCID_TOKEN }} | ||
steps: | ||
- uses: inbo/actions/check_pkg@master | ||
with: | ||
token: ${{ secrets.PAT }} |
This file was deleted.
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,30 @@ | ||
on: | ||
push: | ||
tags: | ||
- 'v*' | ||
|
||
name: Create Release | ||
|
||
jobs: | ||
build: | ||
name: Create Release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
- name: Get tag message | ||
run: | | ||
TAG_BODY=$(git tag --contains ${{ github.sha }} -n100 | awk '(NR>1)') | ||
echo "::set-output name=TAG_BODY::$TAG_BODY" | ||
id: tag-body | ||
- name: Create Release | ||
id: create_release | ||
uses: actions/create-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
tag_name: ${{ github.ref }} | ||
release_name: Release ${{ github.ref }} | ||
body: ${{ steps.tag-body.outputs.TAG_BODY }} | ||
draft: false | ||
prerelease: 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 |
---|---|---|
@@ -1,9 +1,10 @@ | ||
.Rproj.user | ||
.Rhistory | ||
.httr-oauth | ||
.RData | ||
.Rhistory | ||
.Rproj.user | ||
.Ruserdata | ||
inst/doc | ||
docs | ||
.httr-oauth | ||
*.html | ||
doc | ||
docs | ||
inst/doc | ||
Meta |
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,46 @@ | ||
{ | ||
"title": "git2rdata: Store and Retrieve Data.frames in a Git Repository", | ||
"version": "0.4.0", | ||
"description": "The git2rdata package is an R package for writing and reading dataframes as plain text files. A metadata file stores important information. 1) Storing metadata allows to maintain the classes of variables. By default, git2rdata optimizes the data for file storage. The optimization is most effective on data containing factors. The optimization makes the data less human readable. The user can turn this off when they prefer a human readable format over smaller files. Details on the implementation are available in vignette(\"plain_text\", package = \"git2rdata\"). 2) Storing metadata also allows smaller row based diffs between two consecutive commits. This is a useful feature when storing data as plain text files under version control. Details on this part of the implementation are available in vignette(\"version_control\", package = \"git2rdata\"). Although we envisioned git2rdata with a git workflow in mind, you can use it in combination with other version control systems like subversion or mercurial. 3) git2rdata is a useful tool in a reproducible and traceable workflow. vignette(\"workflow\", package = \"git2rdata\") gives a toy example. 4) vignette(\"efficiency\", package = \"git2rdata\") provides some insight into the efficiency of file storage, git repository size and speed for writing and reading.", | ||
"creators": [ | ||
{ | ||
"name": "Onkelinx, Thierry", | ||
"orcid": "https://orcid.org/0000-0001-8804-4216" | ||
} | ||
], | ||
"upload_type": "software", | ||
"access_right": "open", | ||
"license": "GPL-3.0", | ||
"communities": [ | ||
{ | ||
"identifier": "inbo" | ||
} | ||
], | ||
"contributors": [ | ||
{ | ||
"name": "Vanderhaeghe, Floris", | ||
"type": "ProjectMember", | ||
"orcid": "https://orcid.org/0000-0002-6378-6229" | ||
}, | ||
{ | ||
"name": "Desmet, Peter", | ||
"type": "ProjectMember", | ||
"orcid": "https://orcid.org/0000-0002-8442-8025" | ||
}, | ||
{ | ||
"name": "Lommelen, Els", | ||
"type": "ProjectMember", | ||
"orcid": "https://orcid.org/0000-0002-3481-5684" | ||
}, | ||
{ | ||
"name": "Research Institute for Nature and Forest", | ||
"type": "RightsHolder" | ||
}, | ||
{ | ||
"name": "Onkelinx, Thierry", | ||
"type": "ContactPerson", | ||
"orcid": "https://orcid.org/0000-0001-8804-4216" | ||
} | ||
], | ||
"language": "en" | ||
} |
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,36 @@ | ||
cff-version: 1.2.0 | ||
message: If you use this software, please cite it as below. | ||
authors: | ||
- family-names: Onkelinx | ||
given-names: Thierry | ||
orcid: https://orcid.org/0000-0001-8804-4216 | ||
contact: | ||
- email: [email protected] | ||
family-names: Onkelinx | ||
given-names: Thierry | ||
- email: [email protected] | ||
name: Research Institute for Nature and Forest | ||
title: 'git2rdata: Store and Retrieve Data.frames in a Git Repository' | ||
version: 0.4.0 | ||
abstract: The git2rdata package is an R package for writing and reading dataframes | ||
as plain text files. A metadata file stores important information. 1) Storing metadata | ||
allows to maintain the classes of variables. By default, git2rdata optimizes the | ||
data for file storage. The optimization is most effective on data containing factors. | ||
The optimization makes the data less human readable. The user can turn this off | ||
when they prefer a human readable format over smaller files. Details on the implementation | ||
are available in vignette("plain_text", package = "git2rdata"). 2) Storing metadata | ||
also allows smaller row based diffs between two consecutive commits. This is a useful | ||
feature when storing data as plain text files under version control. Details on | ||
this part of the implementation are available in vignette("version_control", package | ||
= "git2rdata"). Although we envisioned git2rdata with a git workflow in mind, you | ||
can use it in combination with other version control systems like subversion or | ||
mercurial. 3) git2rdata is a useful tool in a reproducible and traceable workflow. | ||
vignette("workflow", package = "git2rdata") gives a toy example. 4) vignette("efficiency", | ||
package = "git2rdata") provides some insight into the efficiency of file storage, | ||
git repository size and speed for writing and reading. | ||
license: GPL-3.0 | ||
type: software | ||
repository-code: https://github.com/ropensci/git2rdata/ | ||
identifiers: | ||
- type: url | ||
value: https://ropensci.github.io/git2rdata/ |
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 |
---|---|---|
@@ -1,30 +1,17 @@ | ||
Package: git2rdata | ||
Title: Store and Retrieve Data.frames in a Git Repository | ||
Version: 0.3.1 | ||
Authors@R: | ||
c(person(given = "Thierry", | ||
family = "Onkelinx", | ||
role = c("aut", "cre"), | ||
email = "[email protected]", | ||
comment = c(ORCID = "0000-0001-8804-4216")), | ||
person(given = "Floris", | ||
family = "Vanderhaeghe", | ||
role = "ctb", | ||
email = "[email protected]", | ||
comment = c(ORCID = "0000-0002-6378-6229")), | ||
person(given = "Peter", | ||
family = "Desmet", | ||
role = "ctb", | ||
email = "[email protected]", | ||
comment = c(ORCID = "0000-0002-8442-8025")), | ||
person(given = "Els", | ||
family = "Lommelen", | ||
role = "ctb", | ||
email = "[email protected]", | ||
comment = c(ORCID = "0000-0002-3481-5684")), | ||
person(given = "Research Institute for Nature and Forest", | ||
role = c("cph", "fnd"), | ||
email = "[email protected]")) | ||
Version: 0.4.0 | ||
Authors@R: c( | ||
person("Thierry", "Onkelinx", , "[email protected]", role = c("aut", "cre"), | ||
comment = c(ORCID = "0000-0001-8804-4216")), | ||
person("Floris", "Vanderhaeghe", , "[email protected]", role = "ctb", | ||
comment = c(ORCID = "0000-0002-6378-6229")), | ||
person("Peter", "Desmet", , "[email protected]", role = "ctb", | ||
comment = c(ORCID = "0000-0002-8442-8025")), | ||
person("Els", "Lommelen", , "[email protected]", role = "ctb", | ||
comment = c(ORCID = "0000-0002-3481-5684")), | ||
person("Research Institute for Nature and Forest", , , "[email protected]", role = c("cph", "fnd")) | ||
) | ||
Description: The git2rdata package is an R package for writing and reading | ||
dataframes as plain text files. A metadata file stores important | ||
information. 1) Storing metadata allows to maintain the classes of | ||
|
@@ -44,10 +31,10 @@ Description: The git2rdata package is an R package for writing and reading | |
traceable workflow. vignette("workflow", package = "git2rdata") gives | ||
a toy example. 4) vignette("efficiency", package = "git2rdata") | ||
provides some insight into the efficiency of file storage, git | ||
repository size and speed for writing and reading. Please cite using | ||
<doi:10.5281/zenodo.1485309>. | ||
repository size and speed for writing and reading. | ||
License: GPL-3 | ||
URL: https://ropensci.github.io/git2rdata/ | ||
URL: https://ropensci.github.io/git2rdata/, | ||
https://github.com/ropensci/git2rdata/ | ||
BugReports: https://github.com/ropensci/git2rdata/issues | ||
Depends: | ||
R (>= 3.5.0) | ||
|
@@ -67,9 +54,8 @@ VignetteBuilder: | |
knitr | ||
Encoding: UTF-8 | ||
Language: en-GB | ||
LazyData: true | ||
Roxygen: list(markdown = TRUE) | ||
RoxygenNote: 7.1.1 | ||
RoxygenNote: 7.1.2 | ||
Collate: | ||
'clean_data_path.R' | ||
'datahash.R' | ||
|
@@ -87,3 +73,4 @@ Collate: | |
'rename_variable.R' | ||
'upgrade_data.R' | ||
'utils.R' | ||
'verify_vc.R' |
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
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
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
Oops, something went wrong.