The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

valentine

CRAN status R-CMD-check

The goal of valentine is to spread the love πŸ’› about your favourite R package via β€œroses are red …” poems 🌹 generated by AI via the ellmer πŸ“¦.

Installation

You can install the development version:

pak::pak("tadascience/valentine")

Setup

valentine::roses() uses a Chat object to communicate with the LLM of your choice. The default value for the chat argument uses the β€œgpt-3.5-turbo” model from OpenAI via the ellmer::chat_openai() which is usually good enough for such a simple task.

Please refer to ellmer documentation for information on setting up api keys, etc …

Example

valentine::roses("dplyr")
#> Roses are red,  
#> dplyr is my bae 🌹  
#> With pipes and verbs,  
#> My data never goes astray πŸ’–
valentine::roses("lubridate", hint = "make it kinky")
#> Roses are red, violets are blue, 
#> But lubridate, oh how I adore you πŸ’•
#> You make my dates smooth and my times hot πŸ”₯
#> In R programming, you're all I've got 😈🌹
valentine::roses("valentine")
#> Roses are red, 
#> Valentine is too 🌹
#> With its data magic, 
#> My love for it grew πŸ’–

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.