MyNixOS website logo
Description

'calendR' Fork with Additional Features (Backwards Compatible).

Fork of 'calendR' R package to generate ready to print calendars with 'ggplot2' (see <https://r-coder.com/calendar-plot-r/>) with additional features (backwards compatible). 'calendRio' provides a 'calendR()' function that serves as a drop-in replacement for the upstream version but allows for additional parameters unlocking extra functionality.

#: # ( Changelog (reverse chronological) ) #: # (###################################)

calendRio

calendR fork with additional features (backwards compatible).

Description

Fork of calendR R package with additional features (backwards compatible). calendRio provides a calendR() function that serves as a drop-in replacement for the upstream version but allows for additional parameters unlocking extra functionality.

License

Copyright © 2020, 2021 José Carlos Soage González
Copyright © 2020, 2021 Natalia Pérez Veiga
Copyright © 2022 Marcel Schilling

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.gnu.org/licenses/.

This work is based on (and therefore contains major portions of) the calendR R package that was originally released under the following licensing terms:

MIT License

Copyright (c) 2020 R-Coder

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Run

git diff calendR-branch-point

from within your local clone of the calendRio Git repository or compare the main branch to the corresponding tag on GitLab to see the exact changes made since branching off from calendR (and therefore released under the less permissive licensing terms).

Motivation

When I wanted to create a calendar with custom annotation from within R, I came across the calendR R package by José Carlos Soage González of r-coder.com and Natalia Pérez Veiga that already did almost everything I needed.

After using it for a while, I came across a (very minor and niche) feature I 'needed' that was missing from the package: The ability to color the moon phase outlines by a gradient indicating the moon's progression. There had been other issues I had to work around (e.g. by adding additional text layers with different formatting using plain ggplot2 commands on top of the object returned by calendR) to get the exact results I was looking for, but this was the first one I was unable to solve without modifying the package source itself. Thankfully, the original authors had released calendR under a (permissive) free software license that allowed me to do so.

Following the free software philosophy, I decided to give back by sharing my work with others. Particularly, I opened a pull request on the project's GitHub page adding the new feature implemented by me to the upstream package in a backwards-compatible way. This pull request got merged at first by José Carlos Soage González but later got reverted again after Natalia Pérez Veigaexpressed concerns about the growing complexity of the function in question.

While I can relate to these concerns and consider them absolutely valid, I neither wanted to miss out on features rejected by the upstream authors, nor did I feel like building my own package from scratch when something this close to what I wanted was already out there. Thus, after some constructive exchange with José Carlos Soage González, I decided to maintain my own fork of the package.

Following an additional exchange with José Carlos Soage González, I further decided to license my changes (and thus the resulting versions of the package) under the GNU Affero General Public License to mitigate the risk of anyone capitalizing on my free of charge work while restricting the(ir) users' freedoms.

To allow for a better separation between the differently licensed projects, I decided to rename my fork. The name 'calendRio' not only hints at the relation to (and backwards compatibility with) calendR, but is also a nod to the upstream package's country of origin as a tribute to the original authors. And, coincidentally(?), the calendar I was creating that triggered me looking into this project in the first place (and thus ultimately responsible for the very existence of calendRio) happens to have been a Spanish calendar(io) as well. :-)

Metadata

Version

0.2.0

License

Unknown

Platforms (75)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows