babeldown: Helpers for Automatic Translation of Markdown-based Content
Source:R/babeldown-package.R
babeldown-package.Rd
Provide workflows and guidance for automatic translation of Markdown-based R content using DeepL API.
API URL
The DeepL API URL depends on your API plan. babeldown uses the DeepL free API URL by default. If you use a Pro plan, set the API URL via
Sys.setenv("DEEPL_API_URL" = "https://api.deepl.com")
API key
Set your API key via the environment variable DEEPL_API_KEY
.
You could store it with the keyring package and retrieve it like so:
Sys.setenv(DEEPL_API_KEY = keyring::key_get("deepl"))
Author
Maintainer: Maëlle Salmon msmaellesalmon@gmail.com (ORCID)
Other contributors:
Xavier Timbeau [contributor]