R/utils.R

Defines functions identical_na

#' @importFrom rJava .jpackage .jcall .jnull .jarray .jevalArray .jcast .jcastToArray .jinstanceof is.jnull .jnew .jclass
#' @import RProtoBuf
NULL

#' Java Utility Functions
#'
#' These functions are used in all JDemetra+ 3.0 packages to easily interact between R and Java objects.
#'
#' @param spec,jspec,jrslts parameters.
#'
#' @name jd3_utilities
NULL
#> NULL

identical_na <- function(x) {
    identical(x, NA) ||
        identical(x, NA_character_) ||
        identical(x, NA_complex_) ||
        identical(x, NA_integer_) ||
        identical(x, NA_real_) ||
        identical(x, NaN)
}
palatej/rjd3tramoseats documentation built on April 17, 2025, 11:29 p.m.