-
Notifications
You must be signed in to change notification settings - Fork 2
/
README.Rmd
73 lines (44 loc) · 1.98 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r readmesetup, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
<!-- badges: start -->
[![R-CMD-check](https://github.com/reconhub/rfextras/workflows/R-CMD-check/badge.svg)](https://github.com/reconhub/rfextras/actions)
[![Codecov test coverage](https://codecov.io/gh/reconhub/rfextras/branch/master/graph/badge.svg)](https://codecov.io/gh/reconhub/rfextras?branch=master)
<!-- badges: end -->
# Welcome to *rfextras*!
*rfextras* stands for *reportfactory extras*. As its name suggests, it provides
extensions for the [{reportfactory}](https://github.com/reconhub/reportfactory),
a package providing a simple infrastructure for handling multiple *rmarkdown*
documents. Unlike the *reportfactory* which is relatively agnostic in terms of
workflows, these extensions tend to implement more opinionated tools, which may
be useful only for some users.
## Installing the package
To install the development version of the package, use:
```{r install2, eval = FALSE}
remotes::install_github("reconhub/rfextras")
```
## Overview
{rfextras} provides several features, broken down in functions meant to be used
within reports, or outside.
### Features to be used inside reports
Here is a quick list of features provided by {rfextras}, to be used inside
`.Rmd` documents.
* `load_scripts()`: safely loads all `.R` files in a given folder (defaulting to
`scripts/`)
* `find_latest()`: find the latest version of a file, when several dated versions
exist (e.g. find the latest dataset)
## Contributing guidelines
Contributions are welcome via **pull requests**.
### Code of Conduct
Please note that the reportfactory 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.