suppress warning for ExternalReference print
This commit is contained in:
parent
335572170b
commit
fe39ef5fae
1 changed files with 2 additions and 2 deletions
|
|
@ -264,8 +264,8 @@ x
|
||||||
setAs('ExternalReference', 'character',
|
setAs('ExternalReference', 'character',
|
||||||
function(from) {if (!is.null(from$"__str__")) from$"__str__"()})
|
function(from) {if (!is.null(from$"__str__")) from$"__str__"()})
|
||||||
|
|
||||||
setMethod('print', 'ExternalReference',
|
suppressWarnings(setMethod('print', 'ExternalReference',
|
||||||
function(x) {print(as(x, "character"))})
|
function(x) {print(as(x, "character"))}))
|
||||||
%}
|
%}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue