Skip to content

Commit 309f81b

Browse files
committed
update doc when nothing returned
1 parent aba5954 commit 309f81b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

R/codecheck.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ latex_codecheck_logo <- function() {
233233
##' Turn the metadata into a readable citation for this document.
234234
##' @title Print a citation for the codecheck certificate.
235235
##' @param metadata - the codecheck metadata list.
236-
##' @return
236+
##' @return NULL
237237
##' @author Stephen Eglen
238238
##' @export
239239
citation <- function(metadata) {
@@ -348,13 +348,13 @@ set_zenodo_metadata <- function(zen, record, metadata) {
348348
##' @param zen - Object from zen4R to interact with Zenodo
349349
##' @param report - string containing the report URL on Zenodo.
350350
##' @param certificate name of the PDF file.
351-
##' @return
351+
##' @return NULL
352352
##' @author Stephen Eglen
353353
##' @export
354354
set_zenodo_certificate <- function(zen, record, certificate) {
355355
draft <- zen$getDepositionById(record)
356356
stopifnot(file.exists(certificate))
357-
zen$uploadFile(certificate, draft$id)
357+
invisible(zen$uploadFile(certificate, draft$id))
358358
}
359359

360360
## We deliberately do not provide a function to publish the certificate.

0 commit comments

Comments
 (0)