sfcr 0.2.1

Major changes

The sfcr_random() function should only be used inside sfcr_set()s. If used outside this function, it will only print a message saying that it should not be used in this way.

Bug fixes

This version re-evaluates the expressions created with sfcr_set() and passed as the external argument to the sfcr_baseline() function at the sfcr_scenario() level. In this way, if a user passes creates a random shock to influence the evolution of endogenous variables at the sfcr_baseline() level, this behavior will be reproduced at the sfcr_scenario() level. To avoid complications with different lengths between the two objects, the utilization of sfcr_random() is recommended.

Note that if an exogenous series is passed to the sfcr_baseline() function, it will result in an error if the lengths of the models do not coincide, it will generate an error. If the lengths coincide, the model will run, but the exogenous series will be replicated from the start, which is almost never the intended behavior. That’s why this functionality will be removed in later versions of the package when the sfcr_random() function becomes widely adopted.

sfcr 0.2.0

Major changes

Constrained the utilization of exogenous series to avoid unexpected behavior and undetected bugs in the models.

More specifically: * Modified the behavior of sfcr_baseline() to disallow the utilization of exogenous series. * constrained the utilization of exogenous series in the sfcr_scenario() to make sure that the length of the series matches with the length of the shock.

sfcr 0.1.1

sfcr 0.1.0

First public release.