Skip to content

Commit

Permalink
Fix complete_dictionary.SA() to avoid warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
AQLT committed Oct 8, 2022
1 parent b36c97a commit 9ac06c6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
11 changes: 8 additions & 3 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# RJDemetra 0.2.1

- Fix `complete_dictionary.SA()` to avoid warning.


# RJDemetra 0.2.0

- Bug with x11 introduced in RJDemetra 0.1.9 (issue #99).
Expand All @@ -8,13 +13,13 @@

- `easter.enabled` not working since RJDemetra 0.1.9.

- default parameters of the span specification `d0` and `d1` as NA for clarity (issue #102).
- Default parameters of the span specification `d0` and `d1` as NA for clarity (issue #102).

# RJDemetra 0.1.9

- easter specification was not working.
- Easter specification was not working.

- some typo in the documentation.
- Some typo in the documentation.

- SystemRequirement update: only Java JRE is needed.

Expand Down
2 changes: 1 addition & 1 deletion R/export_workspace.R
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ complete_dictionary <- function(workspace, sa_obj){
complete_dictionary.SA <- function(workspace, sa_obj){
userdef <- sa_obj$regarima$specification$regression$userdef
ud_var <- userdef$variables
if (is.null(ud_var) || !userdef$specification["variables"] || is.na(ud_var$series))
if (is.null(ud_var) || !userdef$specification["variables"] || all(is.na(ud_var$series)))
return(sa_obj)

context_dictionary <- .jcall(workspace,"Lec/tstoolkit/algorithm/ProcessingContext;", "getContext")
Expand Down

0 comments on commit 9ac06c6

Please sign in to comment.