R/test_method_call.R

Defines functions test_method_call

Documented in test_method_call

#' test_method_call
#'
#' Example function that create an Java class instance and calls a method
#' of the object jsut created.
#'
#' @import rJava
#' @export
#'
#' @examples
#'
#' test_method_call()
#'
test_method_call <-
  function(){
    tmp <- rJava::.jnew("javahelloworld.App")
    tmp$test_method()
  }
petermeissner/javahelloworld documentation built on Oct. 18, 2020, 8:35 p.m.