You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the purpose of testing, we hope to use a stable loanbook_demo with the sector and borderline predefined, so that it does not depend on changes made in r2dii.data (especially to the classification files).
To do so, match_name must allow for sector and borderline to exist in the loanbook_demo input.
Relates to 2DegreesInvesting/r2dii.analysis#227
The text was updated successfully, but these errors were encountered:
Closes#326Closes#327 -- this is a simpler/safer way to solve it.
Relates to:
* https://github.com/2DegreesInvesting/r2dii.analysis/pull/227
* https://github.com/2DegreesInvesting/r2dii.analysis/pull/230
This change is internal, and motivated by our need to break the
dependency between r2dii.data and its reverse dependencies. The
problem we are trying to solve is this:
r2dii.data provides data that is used in some functions if its
reverse dependencies -- like r2dii.match. Concretely, changes in
the sector classification dataset (in r2dii.data) make tests to
fail in reverse dependencies like r2dii.match that store a
snapshot of expected output (e.g. of match_name()).
This commit allows us to use generate such snaphsots with a
frozen loanbook, and thus make r2dii packages less prone to
meaningless errors when CRAN checks for reverse dependencies.
For the purpose of testing, we hope to use a stable
loanbook_demo
with thesector
andborderline
predefined, so that it does not depend on changes made inr2dii.data
(especially to the classification files).To do so,
match_name
must allow forsector
andborderline
to exist in theloanbook_demo
input.Relates to 2DegreesInvesting/r2dii.analysis#227
The text was updated successfully, but these errors were encountered: