Skip to content

SunCalcMeeus

0.1.3Package record

Sun Position and Daylight Calculations

2packages depend
6Kdownloads / year
96.9%test coverage
13/13flavors OK

Overview

About

Compute the position of the sun, and local solar time using Meeus' formulae. Compute day and/or night length using different twilight definitions or arbitrary sun elevation angles. This package is part of the 'r4photobiology' suite, Aphalo, P. J. (2015) doi:10.19232/uv4pb.2015.1.14. Algorithms from Meeus (1998, ISBN:0943396611).

Changes in 0.1.3
  • Fix to docs (contributed as #1 by srearl).
  • Add functions split_geocodes() and bind_geocodes() for conversion

between named lists of one-row data frames and data frames with multiple

rows.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 1.6 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.1.3
READMEYes · 697 wordsVignettesYes · 2 · dynamicNEWSYes · 100% structured · mentions 0.1.3Citation fileYes · cites a publicationWebsiteYes

The repository also keeps web-only articles.

Help pages
18 (2 internal)includes a package overview page
Examples that run
100%9 run in a plain check
Exported functions with examples
73%
Documented parameters
70%
Return-value docs
100%
Help pages citing references
22%

Downloads

6K
CRAN downloads in the past year
Rank #6,687 · ~16/day · ~499/mo
Daily download trend is not available in this view yet.
53030 days
1.3K90 days
6K1 year
Compare downloads with other packages →
Also on121 r2u7 autocran621 conda_forge

Repository

1Stars
1Forks
0Open issues
0Open PRs
0Releases
33Commits
2Commit identities
33 commits · Last activity 2026-04-15 · Default branch at 0.1.3.9000, ahead of CRAN 0.1.3 (checked 2026-10-18)
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
2
Median days to close, 50 most recently updated closed PRs
1

Stars over time

2025-01-28 · 12026-07-07 · 1
PracticesBeta

6 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/aphalo/suncalcmeeus on 2026-10-18.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (2)
README.Rmdpkgdown
CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
10 external dependencies (excludes base and recommended)

Installing SunCalcMeeus adds 18 packages (11 with compiled code, 6.0 MB of source tarballs). Heaviest: vctrs 1.0 MB, dplyr 902 KB, rlang 766 KB.

Depends (1)
R >= 4.1.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
2direct
11indirect
Depends 1 · Imports 1
Depends, Imports or LinkingTo, most downloaded first

People & History

People (1)
Author, Maintainer since 0.1.1 (2024)
Releases (3)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.3Latest
    record
    2025-09-22 · current release · diff ↗ ·
    added 2 exports
    bind_geocodes, split_geocodes
  • R
    R 4.5.0 released · 2025-04-11
  • 0.1.2
    record
    2025-01-09 · diff ↗ ·
    added 1 export
    irrad_extraterrestrial
  • 0.1.1
    record
    2024-12-11
  • R
    R 4.4.0 released · 2024-04-24

Package metadata

First published
2024-12-11
Total releases
3 / 2 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 4.1.0
Download size
91 KB

Cite

Cite this package

Run in R for the authors' entry:

citation("SunCalcMeeus")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.19232/uv4pb.2015.1.14.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for SunCalcMeeus version 0.1.3 [Data set]. HJJB, LLC. Data release v2026-10-21. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy