Skip to content

Commit 9507f1f

Browse files
committed
v0.6.3 Fix for tests
1 parent 4bd3a70 commit 9507f1f

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Title: 'Jupyter' Display Machinery
33
Description:
44
An interface to the rich display capabilities of 'Jupyter' front-ends (e.g. 'Jupyter Notebook') <https://jupyter.org>.
55
Designed to be used from a running 'IRkernel' session <https://irkernel.github.io>.
6-
Version: 0.6.2.9000
6+
Version: 0.6.3
77
Authors@R: c(
88
person('Thomas', 'Kluyver', role = c('aut', 'cph'), email = 'thomas@kluyver.me.uk'),
99
person('Philipp', 'Angerer', role = c('aut', 'cph', 'cre'), email = 'phil.angerer@gmail.com', comment = c(ORCID = "0000-0002-0369-2888")),

R/display.r

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ display <- function(
4747
mimetypes = getOption('jupyter.display_mimetypes'),
4848
error_handler = stop
4949
) {
50-
bundle <- prepare_mimebundle(obj, mimetypes, list(...), error_handler)
50+
metadata <- list(...)
51+
if (length(metadata) == 0L) metadata <- NULL
52+
bundle <- prepare_mimebundle(obj, mimetypes, metadata, error_handler)
5153
publish_mimebundle(bundle$data, bundle$metadata)
5254
}
5355

0 commit comments

Comments
 (0)