ggdaynight
0.1.3Add Day/Night Patterns to 'ggplot2' Plots
Overview
It provides a custom 'ggplot2' geom to add day/night patterns to plots. It visually distinguishes daytime and nighttime periods. It is useful for visualizing data that spans multiple days and for highlighting diurnal patterns.
Install
Health
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- not tracked
- Return-value docs
- not tracked
- References docs
- 0%
Downloads
Repository
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Repository practices
3 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/gabrielslpires/ggdaynight on 2026-07-19.
Dependencies
Nothing depends on this yet.
Code & Tests
- Cyclomatic complexity
- 1.0 median / 3 max
- Test cases
- 7 / 22.64 per code line
Test coverage
Line coverage
27%
Expression
26.7%
Tests / Examples
27.0% / – ex
Functions
3 0 exported
Complexity
1.7 avg / 3 max
Call network
3 nodes / 1 edges
Call graph
Open call graph →Lowest coverage
3 functions| Function | Cyclo | Coverage |
|---|---|---|
| draw_panel_daynight | 3 | 0% |
| daynight_table | 1 | 100% |
| geom_daynight | 1 | 100% |
Datasets
| Name | Class | Rows × Cols | Also ships in |
|---|---|---|---|
| daynight_temperature | data.frame | 1,833 × 3 | – |
People & History
2 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 0.1.3Latest
- 0.1.12024-05-21
- RR 4.4.0 released · 2024-04-24
Package metadata
- First published
- 2024-05-21
- Total releases
- 2 / 2 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 2.10
- Bundled data
- 9.3 KB / 1 file
- Download size
- 211 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet