Skip to content

Commit 5d6c288

Browse files
committed
fix: export S3 methods
this fixes roxygen2 warnings and is the right thing to do, cf.: - https://roxygen2.r-lib.org/articles/namespace.html#s3 - r-lib/roxygen2#1322
1 parent 44ba0c0 commit 5d6c288

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

NAMESPACE

+3
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ S3method(print,api_grid_local)
4040
S3method(print,api_plot)
4141
S3method(print,kaleidoScope)
4242
S3method(print,plotly_data)
43+
S3method(process,api_image)
44+
S3method(process,api_plot)
45+
S3method(process,default)
4346
S3method(to_basic,GeomAbline)
4447
S3method(to_basic,GeomAlluvium)
4548
S3method(to_basic,GeomAnnotationMap)

R/process.R

+3
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,17 @@ process <- function(resp) {
66
UseMethod("process")
77
}
88

9+
#' @export
910
process.default <- function(resp) {
1011
json_content(relay_error(resp))
1112
}
1213

14+
#' @export
1315
process.api_plot <- function(resp) {
1416
json_content(relay_error(resp))
1517
}
1618

19+
#' @export
1720
process.api_image <- function(resp) {
1821
relay_error(resp)
1922
type <- resp[["headers"]][["content-type"]]

0 commit comments

Comments
 (0)