Skip to content

Commit

Permalink
add missing sandbox param for setLicense
Browse files Browse the repository at this point in the history
  • Loading branch information
eblondel committed Jun 5, 2024
1 parent a5642d8 commit 4dc27ca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/ZenodoRecord.R
Original file line number Diff line number Diff line change
Expand Up @@ -742,8 +742,9 @@ ZenodoRecord <- R6Class("ZenodoRecord",
#' fetched with the \code{ZenodoManager} and the function \code{$getLicenses()}.
#' @param licenseId a license Id
#' @param sandbox Use the Zenodo sandbox infrastructure as basis to control available licenses. Default is \code{FALSE}
#' @return \code{TRUE} if set, \code{FALSE} otherwise
setLicense = function(licenseId, sandbox = FALSE){
self$addRight(id = licenseId)
self$addRight(id = licenseId, sandbox = sandbox)
},

#' @description Set record version.
Expand Down
3 changes: 3 additions & 0 deletions man/ZenodoRecord.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4dc27ca

Please sign in to comment.