Removed accidental dependency on renvx
Added package dependency {here}
- Added package dependency {here} to
Imports
Absolute paths
- Fixed bug for cases when
from
corresponds to an absolute paths in call toconf_get()
- Added unit test for absolute paths
- Aligned some unit tests to 3rd edition of
{testthat}
Remote dependency
- Added remote dependency
{rappster/valid}
inDESCRIPTION
file
Queries for unnamed entities
Fixed/closed:
Changed:
- Changed default repository to https://packagemanager.rstudio.com/all/__linux__/focal/latest
- Changed repository from CRAN to RSPM
- More systematic YAML files for unit tests:
- Changed
tests/testthat/config_2.yml
to ``tests/testthat/config_002.yml`
- Changed
- Renamed:
test-conf_get.R
totest-get.R
conf_index_recursively()
tosubset_recursively()
- Refactored:
subset_recursively()
handle_conf_query()
- Moved
subset_recursively()
toR/subset.R
- Content of
R/packages.R
intoR/confx-package.R
. DeletedR/packages.R
New:
- Added functions:
handle_conf_query()
parse_query()
handle_query_vectorized_2()
apply_query_iter_2()
apply_query_2()
eval_query_call_one_arg()
eval_query_call_two_args()
valid_operators_logical()
drop_missing()
%!in%()
- Added unit tests:
test-get_with_query.R
- Misc:
- Using
{styler}
- Using
Temporary switch of config environment
Fixed/closed:
Changed:
- Added function args
config
anduse_parent
toconf_get()
so they can be passed along toconfig::get()
New:
Inter-file JSON referencing, naming convention alignment and {renv}
alignment
Fixed/closed:
{renv}
warnings due to changed caching paradigm
Changed:
- Updated some
{renv}
dependencies - Renamed multiple functions to
conf_*
schema
New:
- Added and tested inter-file JSON referencing
R_CONFIG_DIR
for conf_load()
Fixed/closed:
Changed:
-
Changed default value of
dir_from
to use env varR_CONFIG_DIR
if it exists:conf_load()
New:
Default value of dir_from
via environment variable R_CONFIG_DIR
if specified
Fixed/closed:
Changed:
-
Changed default value of
dir_from
to use env varR_CONFIG_DIR
if it exists:conf_get()
conf_assign()
load_conf()
load_conf_from_dir()
handle_conf_reference()
conf_handle_inherited()
New:
Swapped here::here()
for getwd()
to facilitate usage in built packages
Fixed/closed:
Changed:
-
Swapped
here::here()
forgetwd()
in:conf_get()
conf_assign()
load_conf()
load_conf_from_dir()
handle_conf_reference()
conf_handle_inherited()
conf_load()
New:
No changelog
Experimenting with references as specified in https://swagger.io/docs/specification/using-ref/
Fixed/closed:
Changed:
- Updated package deps and created local project library for Linux
New:
Experimenting with references as specified in https://swagger.io/docs/specification/using-ref/
Fixed/closed:
Changed:
- Updated package deps and created local project library for Linux
New:
Fixed from
in conf_assign()
Fixed/closed:
- Fixed
from
inconf_assign()
Changed:
New:
Arg leaf_as_list
Fixed/closed:
Changed:
- Character input for referenced configs in
conf_assign()
now allowed. Powered by introducing argleaf_as_list = TRUE/FALSE
inconf_get()
andconf_index_recursively()
- Modified
README.Rmd
New:
Internal config files and force_from_file
Fixed/closed:
Changed:
- Calls to
system.file()
insideonAttach()
to load internal configs instead of configs from package/project root directory - Aligned
conf_get()
to new option name that are prefixed with<pkg_name>_
- Changed function prefixes from
config_
toconf_
for brevity
New:
- File
/inst/config.yml
- Encapsulated inner function of
conf_load()
into own functionconf_load__inner()
- Function
conf_auto_load()
- Function
conf_auto_load_internal()
- Argument
force_from_file = FALSE
inconf_get()
v0.0.0.9009: More unit tests
- Changed regex pattern to YAML files to disregard (
pattern_disregard = "^(_|\\.|codecov|travis)"
)
- Unit tests for
.onLoad()
and.onAttach()
- Enabled markdown in Roxygen code
v0.0.0.9008: Updated .travis.yml
- Fixed warnings in doc
- Updated
.travis.yml
(warnings_are_errors
andbranches
) - Removed
skip_on_travis()
v0.0.0.9007: Inter config references
- Fixed warnings in doc
- Robustified
conf_merge_lists()
(!is.list()
instead ofis.vector()
) and modified for being able to also handle initial non-list inputs
- Function
conf_has_config_reference()
for checking for inter config references - Function
conf_resolve_config_reference()
for resolving inter config references - Function
conf_handle_config_reference()
as a handler wrapper for inter config references - Dependency
{stringr}
- Dependency
{devtools}
(suggested) - Added all
Imports
dependencies to/R/packages.R
for roxygen to pick them up for theNAMESPACE
file
v0.0.0.9006: Modified .travis.yml
to enable {covr}
and codecov.io
and
modified roxygen doc
- Updated roxygen doc
- Modified
.travis.yml
to enable{covr}
andcodecov.io
v0.0.0.9005: Modified .travis.yml
to display test results on Travis CI
- Modified
.travis.yml
to display test results on Travis CI
v0.0.0.9004: Added skip_on_travis() to tests
- Added
skip_on_travis()
to tests
v0.0.0.9003: Deleted /man/hello.Rd
- Deleted
/man/hello.Rd
v0.0.0.9002: Prefix 'conf' in function names, Travis CI, {covr}, {lifecycle}
- Renamed
load()
toconf_load()
- Renamed
get()
toconf_get()
- Renamed
assign()
toconf_assign()
- Renamed
merge()
toconf_merge()
- Renamed
get_list_element_recursively()
toconf_index_recursively()
- Renamed
has_inherited()
toconf_has_inherited()
- Renamed
resolve_inherited()
toconf_resolve_inherited()
- Renamed
merge_inherited()
toconf_merge_inherited()
- Renamed
handle_inherited()
toconf_handle_inherited()
- File
README.Rmd
- Enabled
Travis CI
- Enabled
{covr}
Auto load in .onAttach()
- Function
.onLoad()
- Function
.onAttach()
- Possibility to automatically load config files in root directory on attach
(
.onAttach()
) controlled via env variableCONFX_AUTO_LOAD = TRUE/FALSE
Initial version
- File
README.Rmd
- File
NEWS.md
file to track changes to the package. - File
BACKLOG.md
file to track backlog items - Package dependency
here
toImports:
inDESCRIPTION
- Package dependency
config
toImports:
inDESCRIPTION
- Package dependency
magrittr
toImports:
inDESCRIPTION
- Enabled
{testthat}
- Enabled
Travis CI
- Enabled
{covr}
- File
/config.yml
- File
/tests/testthat/config.yml
- File
/tests/testthat/config_2.yml
- Function
conf_load()
(exported) - Function
conf_get()
(exported) - Function
conf_assign()
(exported) - Function
conf_merge()
(exported) - Function
conf_index_recursively()
- Function
conf_has_inherited()
- Function
conf_resolve_inherited()
- Function
conf_merge_inherited()
- Function
conf_handle_inherited()