Skip to content

Commit

Permalink
Merge pull request #25 from nuest/patch-1
Browse files Browse the repository at this point in the history
Fix function name typo
  • Loading branch information
eblondel authored Apr 6, 2020
2 parents 99ad9fb + a2f57c5 commit b969bbb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/ZenodoRecord.R
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ ZenodoRecord <- R6Class("ZenodoRecord",
"isPartOf", "hasPart", "compiles", "isCompiledBy", "isIdenticalTo",
"isAlternateIdentifier")
if(!(relation %in% allowedRelations)){
stop(sprint("Relation '%s' incorrect. Use a value among the following [%s]",
stop(sprintf("Relation '%s' incorrect. Use a value among the following [%s]",
relation, paste(allowedRelations, collapse=",")))
}
added <- FALSE
Expand Down Expand Up @@ -1100,4 +1100,4 @@ ZenodoRecord <- R6Class("ZenodoRecord",
}

)
)
)

0 comments on commit b969bbb

Please sign in to comment.