Package: configulaR 0.1.0
configulaR: Manage Application Settings via '.env' or '.ini' Files
Provides a simple way to manage application settings by loading configuration values from '.env' or '.ini' files. It supports default values, type casting, and environment variable overrides, enabling a clean separation of configuration from code. Ideal for managing credentials, API keys, and deployment-specific settings.
Authors:
configulaR_0.1.0.tar.gz
configulaR_0.1.0.zip(r-4.7)configulaR_0.1.0.zip(r-4.6)configulaR_0.1.0.zip(r-4.5)
configulaR_0.1.0.tgz(r-4.6-any)configulaR_0.1.0.tgz(r-4.5-any)
configulaR_0.1.0.tar.gz(r-4.7-any)configulaR_0.1.0.tar.gz(r-4.6-any)
configulaR_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
configulaR/json (API)
NEWS
| # Install 'configulaR' in R: |
| install.packages('configulaR', repos = c('https://dataupsurge.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/dataupsurge/configular/issues
Pkgdown/docs site:https://dataupsurge.github.io
Last updated from:b797935e57. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 121 | ||
| source / vignettes | OK | 158 | ||
| linux-release-x86_64 | OK | 122 | ||
| macos-release-arm64 | OK | 148 | ||
| macos-oldrel-arm64 | OK | 183 | ||
| windows-devel | OK | 68 | ||
| windows-release | OK | 67 | ||
| windows-oldrel | OK | 73 | ||
| wasm-release | OK | 114 |
Exports:get_configget_varload_dot_envto_logical
Dependencies:assertthatcliglueherelifecyclemagrittrrlangrprojrootstringistringrvctrs
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Helper function to cast data from keyword of function | cast_as |
| Config file search | find_config_files |
| Search for config files and return variable / value pairs as a list. | get_config |
| Return config file path found in a directory | get_config_filename_from_dir |
| Retrive the value of the variable | get_var |
| Test if object if of class _UNDEFINED | is_undefined |
| Load environment variables from the specified file | load_dot_env |
| Parse environment variables from lines in a .env file | parse_dot_line |
| Generate a random string of specified length | random_string |
| Parse config file and remove comment lines | remove_comments |
| Parse config file and remove empty lines | remove_empty_lines |
| Convert categorical representations of true/false values to a logical | to_logical |
