Skip to content

ggdaynight

0.1.3

Add Day/Night Patterns to 'ggplot2' Plots

0packages depend
6.5Kdownloads / year
27.0%test coverage
13/13checks pass

Overview

About
Maintained by Gabriel S. PiresFirst published 2024-05-212 releasesCRAN page ↗GitHub ↗

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

CRAN checks
13OK
Slowest check: 1.2 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 22.64
27.0%
Coverage · measured lines
2
Dependencies · direct
Check history
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 237 wordsVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
not tracked
Return-value docs
not tracked
References docs
0%

Downloads

6.5K
CRAN downloads in the past year
Rank #6,851 · ~18/day · ~541/mo
Daily download trend is not available in this view yet.
33630 days
1.5K90 days
6.5K1 year
Compare downloads with other packages →
Also on97 r2u34 autocran

Repository

Repository
3Stars
1Forks
0Open issues
1Open PRs
2Releases
43Commits
1Contributors
43 commits · Last activity 2024-05-23 · 0% stars, 30d

Stars over time

2025-07-16 · 32026-07-07 · 3

Repository practices

Upstream repositoryBeta

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.

Continuous integration (1)
GitHub Actions
CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
3 external dependencies (excludes base and recommended)
Depends (1)
R >= 2.10
Imports (2)
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Code Composition
R 357 (60%)Rd 238 (40%)
Code characteristics
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

Loading call graph…

Lowest coverage

3 functions
FunctionCycloCoverage
draw_panel_daynight30%
daynight_table1100%
geom_daynight1100%

Datasets

Bundled datasets · 1
NameClassRows × ColsAlso ships in
daynight_temperaturedata.frame1,833 × 3

People & History

People (1)
Maintainer (1)
Author, Maintainer, Copyright holder
Authors (1)
Author, Maintainer, Copyright holder
Copyright holders (1)
Author, Maintainer, Copyright holder
Listed in earlier versions (1)
no longer listed · 0.1.1 to 0.1.3
Package Timeline

2 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.1.3Latest
    2024-05-23 · current release · diff ↗
  • 0.1.1
    2024-05-21
  • R
    R 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
Report a problem with this page →