From 065e7b5037be6acddfaf2de411d6cad525415614 Mon Sep 17 00:00:00 2001 From: "florian.lahn" Date: Thu, 5 May 2022 16:31:59 +0200 Subject: [PATCH] added missing exports for toJSON functions --- NAMESPACE | 1 + R/utilities.R | 2 ++ 2 files changed, 3 insertions(+) diff --git a/NAMESPACE b/NAMESPACE index 38a16602..0096ecf9 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -241,6 +241,7 @@ export(var.list) export(variables) export(xor.ProcessGraphParameter) export(xor.ProcessNode) +exportMethods(toJSON) import(httr2) import(jsonlite) import(lubridate) diff --git a/R/utilities.R b/R/utilities.R index b2aa88c2..ac29025e 100644 --- a/R/utilities.R +++ b/R/utilities.R @@ -78,9 +78,11 @@ processToJSON = function(x, ...) { NULL #' @rdname toJSON +#' @export setMethod(f="toJSON", signature = "Process",definition = .toJSON) #' @rdname toJSON +#' @export setMethod(f="toJSON", signature = "Graph",definition = .toJSON) .capturedErrorToMessage = function(e) {