Learn R Programming

proverbs

“When the whirlwind passes, the wicked is no more, but the righteous has an everlasting foundation”

- Proverbs 10:25 (NASB)

A simple package to grab a Bible proverb corresponding to the day of the month.

Installation

Install the released version of proverbs from CRAN:

install.packages("proverbs")

You can install the development version of proverbs like so:

# install.packages("devtools")
devtools::install_github("bradlindblad/proverbs")

Usage

The proverbs package was built to do one thing: print out a daily proverb to your R console. There are 31 proverbs, and up to 31 days in each month.

Many people like to read a proverb for each day of the month, so they end up reading proverbs once a month, twelve times a year.

This package prints the chapter of proverbs that corresponds to that day of the month; ie. on the 21st of June proverbs will print Proverbs 21.

proverb()

This is the main function:

proverbs::proverb()
Proverbs 30
For Sunday, January 30 2022
 
1 The words of Agur the son of Jakeh; the revelation:
the man says to Ithiel,
to Ithiel and Ucal:
2 “Surely I am the most ignorant man,
and don’t have a man’s understanding.
3 I have not learned wisdom,
neither do I have the knowledge of the Holy One.
...

translations()

You can also change the Bible translation to one of many open source/public versions. Check these out with this function:

proverbs::translations()
── Bible Translations Available ────────────
• esv: English Standard Version -requires API key
• bbe: Bible in Basic English
• kjv: King James Version
• web: World English Bible (default)
• webbe: World English Bible, British Edition
• almeida: João Ferreira de Almeida (portuguese)
• rccv: Romanian Corrected Cornilescu Version

── Pass the Bible translation you choose above to proverb(), like: 
proverb(translation = 'kjv')
proverb(translation = 'bbe')

You can pass those translation codes to proverbs::proverb()

proverbs::proverb(translation = "kjv")

Note that an API key is needed to access the ESV translation. See this vignette.

Credit

The proverbs package takes advantage of the awesome free Bible api https://bible-api.com/, maintained by Tim Morgan. Thanks, Tim!

Contact me

I can be reached at my website technistema.com

Copy Link

Version

Install

install.packages('proverbs')

Monthly Downloads

182

Version

0.4.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

November 18th, 2023

Functions in proverbs (0.4.0)

proverbs

proverbs: Print a Daily Bible Proverb to Console.
proverb

proverb
translations

translations