Repeatable Analysis in R
Overview
Set of utilities to facilitate the reproduction of analysis in R. It allow to make_structure(), clean_structure(), and run and log programs in a predefined order to allow secondary files, analysis and reports be constructed in an ordered and reproducible form.
repana 2.2.1
Production of PDF using the master could fail in some systems. The test
of master with PDFs is removed. Producing HTML is more consistent and it is
the recommended way to use master
repana 2.2.0
Add a targets_structure function to use the targets system instead
of the default used by repana.
Add a logo!. Repana package has now a logo
repana 2.1.0
- Complete vignette to render reports
repana 2.0.0
- Modified format of
NEWS.mdfile to track changes to the package.
Show all changes in 2.2.1Hide the rest of the changes in 2.2.1
- Modify the documentation at package level as requested by CRAN
- Allow to change the template file for a project
- Simplify the template file
- pkgdown is used to create a website for the package in github
- Change the way timestamp is manage. It does not need anymore to include
the start and end within the program.
- Custom YAML tags now control if session info and signature are injected to the
code
- Master now works by default with the spin option. User format txt option for
only txt output
- Make structure now produce 00_clean.R instead of 01_clean.R
- Simplified pattern manager for programs. Now all programs with format nn_ are
included by default in the list of programs executed by master
- Default db changed from SQLite to duckdb as duckdb have similar functionality,
but is more R friendly and preserver factors and dates (see https://duckdb.org/)
repana 1.23.2
- Fix a bug if an output_file is included as parameter in the render_function
repana 1.23.1
- Remove unused dependencies. Check that report is render only if pandoc
is available. Test for render reports only if pandoc is available
- Fix the problem of creating repeated *.Rproj in the .gitignore file
#repana 1.23.0
- The confirm_libraries function has been removed. It was not really
useful and potentially would not work well if many libraries are installed in the
system.
- Messages on the make_structure are now messages and not calls to cat() function.
repana 1.22.0
- Modification of the version to have three numbers, change author address to submit to CRAN.
- Modify license.
- Modify render_report to not delete the output file if the output directory is the same as the directory of the input file.
repana 1.21
- Small correction in the template
repana 1.20
- Modify templates. Now only 1 exists which is more friendly for pdf and html render and improve the search of Rscript to be windows friendly.
- DBI is declared as dependent and therefore it is loaded automatically with the package.
- Master spin is now by default html but a new parameters allow to select the type of render.
- Name of reports from rcode is now uniformly called spin instead of SPIN
repana 1.19
- Modify opening template to have plyr before dplyr and load tidyverse
repana 1.18
- Modify the templates to have one for the heading and one for the closing part of a SPIN
repana 1.17
- a master_spin function to run the code as SPINs
repana 1.16
- New RStudio addin to insert a Template documentation for a SPIN program
repana 1.15
- Include a function to wrap the render of rmarkdown documents within a program
repana 1.14
- Include a wrap to writeDataTable. Change as.character to deparse
to find the name of the data.frame in update_table.
repana 1.12
- Fix tests for the make_structure now creates 01_clean.R file
repana 1.11
- Include the get_dirs() function
repana 1.10
- update table now accept an argument for the name of the table
repana 1.9
*Fix get_con to use a different config.yml if needed
Version 1.8
- Include pool connections and update vignette and documentation
Version 1.7
- change the gitignore entry in config.yml to clean_before_new_analysis which is more explanatory for non git users.
- This entry is not back compatible any more with the previous config.yml
- The way to specify the database also changes. Now config.yml configure a RSQLite in-memory database. This is also not back compatible with previous config.yml
Version 1.6
- Change the way to define the gitignore, as a list instead of an expression
Version 1.5
- Fix the duplication of entries in gitignore
Version 1.5
- gitignore is now processed based on the names of gitignore entry of the config.yml. Previously was a fixed set of directories
- make_structure create directories and subdirectories
Version 1.4*
- New function confirm_libraries()
Version 1.3
- Include config.yml in .gitignore
- Change the NEWS to NEWS.md
Version 1.2
*Improve seeking of Rscript package. Works for Linux and OS
Version 1.1
*Include parameter stop to master function
Version 1.0
- Package ready for deployment
From NEWS.md in the release
Install
Health
- OK13 OK2026-10-17
- WARNING12 OK, 1 WARNING2026-10-01
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-07-04
Show 2 earlier changesHide 2 earlier changes
- WARNING12 OK, 1 WARNING2026-07-03
- OK14 OK2026-03-10
Documentation
- Help pages
- 15 (1 internal)includes a package overview page
- Examples that run
- 0%3 never run
- Exported functions with examples
- 23%
- Documented parameters
- 100%
- Return-value docs
- 92%
- Help pages citing references
- 0%
- Creating reports HTML
- Database configuration HTML
- Integration with Targets HTML
- Modifying the template HTML
- Repana Structure HTML
Downloads
Repository
Stars over time
Forks over time
Releases over time
Issues over time
6 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/johnaponte/repana on 2026-10-18.
GitHub Pages site last deployed 2025-05-18 · The repository has a site deploy workflow
pkgdown site last built 2025-05-18
Dependencies
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 2.2.1Latest
- 2.2.0
- RR 4.4.0 released · 2024-04-24
- 2.1.02024-01-30 · diff ↗
- 2.0.0
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 1.23.22021-09-20 · diff ↗
- 1.23.12021-05-18 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 1.23.02021-05-17
- RR 4.0.0 released · 2020-04-24
Package metadata
- First published
- 2021-05-17
- Total releases
- 7 / 5 yrs
- License
- GPL (>= 3) OSI
- Download size
- 119 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("repana")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.