Skip to content

Commit

Permalink
fix access typo and Rdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
eblondel committed May 15, 2024
1 parent d0061cf commit 30c5443
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions R/ZenodoRecord.R
Original file line number Diff line number Diff line change
Expand Up @@ -194,14 +194,15 @@ ZenodoRecord <- R6Class("ZenodoRecord",
#---------------------------------------------------------------------------

#'@description Set the access policy for record, among values "public" (default) or "restricted"
#'In Zenodo, in principle, the access policy 'restricted' is not available for records.
#'@param access access policy ('public' or 'restricted')
setAccessPolicyRecord = function(access = c("public","resticted")){
setAccessPolicyRecord = function(access = c("public","restricted")){
self$access$record = access
},

#'@description Set the access policy for files, among values "public" (default) or "restricted"
#'@param access access policy ('public' or 'restricted')
setAccessPolicyFiles = function(access = c("public","resticted")){
setAccessPolicyFiles = function(access = c("public","restricted")){
self$access$files = access
},

Expand Down
5 changes: 3 additions & 2 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 30c5443

Please sign in to comment.