Skip to content

Commit

Permalink
fix unrecognized escape in character string issue
Browse files Browse the repository at this point in the history
  • Loading branch information
danlu1 committed Aug 1, 2024
1 parent 598bd5b commit ae84225
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion man/synStore.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ synStore(obj, createOrUpdate=TRUE, forceVersion=TRUE, versionLabel=NULL, isRestr
\examples{
\dontrun{
# Create a new project
project <- Project('My uniquely named project')
project <- synStore(project)
Expand All @@ -64,7 +65,7 @@ file <- File('/path/to/data/file.xyz', description='Fancy new data', parent=proj
file <- synStore(file, activity=activity)
# Evaluation
eval <- Evaluation(name = sprintf("My unique evaluation created on %s", format(Sys.time(), "%a %b %d %H%M%OS4 %Y")),
eval <- Evaluation(name =sprintf("My unique evaluation created on \%s", format(Sys.time(), "\%a \%b \%d \%H\%M\%OS4 \%Y")),
description = "testing",
contentSource = project$properties$id,
submissionReceiptMessage = "Thank you for your submission!",
Expand Down

0 comments on commit ae84225

Please sign in to comment.