-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
29 changed files
with
288 additions
and
81 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,4 +1,8 @@ | ||
^PFUPipelinesTools\.Rproj$ | ||
^PFUPipelineTools\.Rproj$ | ||
^\.Rproj\.user$ | ||
^data-raw$ | ||
^LICENSE\.md$ | ||
^_pkgdown\.yml$ | ||
^docs$ | ||
^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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
.Rhistory | ||
.RData | ||
.Ruserdata | ||
docs |
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,18 +1,25 @@ | ||
Package: PFUPipelinesTools | ||
Package: PFUPipelineTools | ||
Title: Tools for PFU Pipelines | ||
Version: 0.0.1 | ||
Version: 0.1.1 | ||
Date: 2023-06-06 | ||
Authors@R: | ||
person("Matthew", "Heun", , "[email protected]", role = c("aut", "cre"), | ||
comment = c(ORCID = "YOUR-ORCID-ID")) | ||
comment = c(ORCID = "0000-0002-7438-214X")) | ||
Description: There are several repositories that provide PFU pipelines for the PFU databases. | ||
Several functions can be used for all pipelines. | ||
This package hosts all common functions and constants. | ||
Several functions can be used in common across all pipelines. | ||
This package hosts common functions and constants. | ||
License: MIT + file LICENSE | ||
Encoding: UTF-8 | ||
Roxygen: list(markdown = TRUE) | ||
RoxygenNote: 7.2.3 | ||
Imports: | ||
assertthat | ||
dplyr, | ||
IEATools, | ||
lubridate, | ||
magrittr, | ||
parsedate, | ||
pins, | ||
rlang | ||
Depends: | ||
R (>= 2.10) | ||
LazyData: true | ||
|
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,2 +1,2 @@ | ||
YEAR: 2023 | ||
COPYRIGHT HOLDER: PFUPipelinesTools authors | ||
COPYRIGHT HOLDER: PFUPipelineTools authors |
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 |
---|---|---|
@@ -1,6 +1,12 @@ | ||
# Generated by roxygen2: do not edit by hand | ||
|
||
export("%>%") | ||
export(":=") | ||
export(.data) | ||
export(filter_countries_years) | ||
export(release_target) | ||
export(stash_cache) | ||
export(trim_pipeline) | ||
export(tar_ungroup) | ||
importFrom(magrittr,"%>%") | ||
importFrom(rlang,":=") | ||
importFrom(rlang,.data) |
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,7 @@ | ||
# PFUPipelineTools 0.1.1 (2023-06-06) | ||
|
||
* Initial release | ||
* Added a `NEWS.md` file to track changes to the package. | ||
* Added first tests. | ||
* Only 2 tests, both passing. | ||
* Test coverage is low (17 %) but will improve. |
File renamed without changes.
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 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
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,11 @@ | ||
#' Data pronoun | ||
#' | ||
#' See [rlang::.data] for details. | ||
#' | ||
#' @name .data | ||
#' @rdname data | ||
#' @keywords internal | ||
#' @export | ||
#' @importFrom rlang .data | ||
#' @usage .data | ||
NULL |
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,11 @@ | ||
#' Pipe operator | ||
#' | ||
#' See \code{magrittr::\link[magrittr]{\%>\%}} for details. | ||
#' | ||
#' @name %>% | ||
#' @rdname pipe | ||
#' @keywords internal | ||
#' @export | ||
#' @importFrom magrittr %>% | ||
#' @usage lhs \%>\% rhs | ||
NULL |
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,11 @@ | ||
#' Assignment | ||
#' | ||
#' See \code{rlang::\link[rlang]{:=}} for details. | ||
#' | ||
#' @name := | ||
#' @rdname quasi-quote-assign | ||
#' @keywords internal | ||
#' @export | ||
#' @importFrom rlang := | ||
#' @usage x := y | ||
NULL |
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,49 @@ | ||
--- | ||
output: github_document | ||
--- | ||
|
||
<!-- *********** --> | ||
<!-- Note: README.md is generated from README.Rmd. --> | ||
<!-- Be sure to edit README.Rmd and generate the README.md file by Cmd/Ctl-shift-K --> | ||
<!-- *********** --> | ||
|
||
```{r, include = FALSE} | ||
knitr::opts_chunk$set( | ||
collapse = TRUE, | ||
comment = "#>", | ||
fig.path = "man/figures/README-", | ||
out.width = "100%" | ||
) | ||
``` | ||
|
||
# PFUPipelineTools | ||
|
||
|
||
<!-- badges: start --> | ||
[![CRAN status](https://www.r-pkg.org/badges/version/Recca)](https://cran.r-project.org/package=Recca) | ||
[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental) | ||
[![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active) | ||
[![R-CMD-check](https://github.com/EnergyEconomyDecoupling/PFUPipelineTools/workflows/R-CMD-check/badge.svg)](https://github.com/EnergyEconomyDecoupling/PFUPipelineTools/actions) | ||
[![Codecov test coverage](https://codecov.io/gh/EnergyEconomyDecoupling/PFUPipelineTools/branch/master/graph/badge.svg)](https://app.codecov.io/gh/EnergyEconomyDecoupling/PFUPipelineTools?branch=main) | ||
<!-- [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.5226085.svg)](https://doi.org/10.5281/zenodo.5226085) --> | ||
<!-- badges: end --> | ||
|
||
|
||
PFUPipelineTools provides a single package for several functions | ||
that are used across various PFU pipelines. | ||
|
||
|
||
## Installation | ||
|
||
You can install the development version of PFUPipelineTools from [GitHub](https://github.com/) with: | ||
|
||
``` r | ||
# install.packages("devtools") | ||
devtools::install_github("EnergyEconomyDecoupling/PFUPipelineTools") | ||
``` | ||
|
||
|
||
## More Information | ||
|
||
Find more information, including vignettes and function documentation, at | ||
<https://MatthewHeun.github.io/PFUPipelineTools/>. |
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,40 @@ | ||
|
||
<!-- *********** --> | ||
<!-- Note: README.md is generated from README.Rmd. --> | ||
<!-- Be sure to edit README.Rmd and generate the README.md file by Cmd/Ctl-shift-K --> | ||
<!-- *********** --> | ||
|
||
# PFUPipelineTools | ||
|
||
<!-- badges: start --> | ||
|
||
[![CRAN | ||
status](https://www.r-pkg.org/badges/version/Recca)](https://cran.r-project.org/package=Recca) | ||
[![Lifecycle: | ||
experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental) | ||
[![Project Status: Active – The project has reached a stable, usable | ||
state and is being actively | ||
developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active) | ||
[![R-CMD-check](https://github.com/EnergyEconomyDecoupling/PFUPipelineTools/workflows/R-CMD-check/badge.svg)](https://github.com/EnergyEconomyDecoupling/PFUPipelineTools/actions) | ||
[![Codecov test | ||
coverage](https://codecov.io/gh/EnergyEconomyDecoupling/PFUPipelineTools/branch/master/graph/badge.svg)](https://app.codecov.io/gh/EnergyEconomyDecoupling/PFUPipelineTools?branch=main) | ||
<!-- [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.5226085.svg)](https://doi.org/10.5281/zenodo.5226085) --> | ||
<!-- badges: end --> | ||
|
||
PFUPipelineTools provides a single package for several functions that | ||
are used across various PFU pipelines. | ||
|
||
## Installation | ||
|
||
You can install the development version of PFUPipelineTools from | ||
[GitHub](https://github.com/) with: | ||
|
||
``` r | ||
# install.packages("devtools") | ||
devtools::install_github("EnergyEconomyDecoupling/PFUPipelineTools") | ||
``` | ||
|
||
## More Information | ||
|
||
Find more information, including vignettes and function documentation, | ||
at <https://MatthewHeun.github.io/PFUPipelineTools/>. |
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,3 @@ | ||
template: | ||
bootstrap: 5 | ||
bootswatch: sandstone |
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,15 @@ | ||
citHeader("To cite PFUPipelineTools in publications use:") | ||
|
||
citEntry(entry = "Manual", | ||
title = "PFUPipelineTools: Tools for PFU Pipelines", | ||
author = personList(as.person("Matthew Kuperus Heun")), | ||
year = "2023", | ||
note = "R package version 0.1.1", | ||
url = "https://github.com/EnergyEconomyDecoupling/PFUAggDatabase", | ||
|
||
textVersion = | ||
paste("Matthew Kuperus Heun (2023).", | ||
"PFUAggWorkflow: Calculate Aggregations and Efficiencies For Energy Conversion Chains in PSUT Format", | ||
"R package version 0.1.1.", | ||
"https://github.com/EnergyEconomyDecoupling/PFUAggDatabase") | ||
) |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.