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 Jan. 6, 2020, 12:45 a.m.