Skip to content

Commit

Permalink
Fix #976: Republishing to RPubs is broken from RStudio
Browse files Browse the repository at this point in the history
  • Loading branch information
jcheng5 committed Oct 12, 2023
1 parent 55a7ea3 commit 13f1000
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions R/rpubs.R
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,16 @@ rpubsUpload <- function(title,
recordName <- ifelse(is.null(title) || nchar(title) == 0,
basename(recordSource), title)

rpubsRec <- deploymentRecord(recordName, "", "", "rpubs", "rpubs.com", "rpubs.com", id, id,
url, as.numeric(Sys.time()))
rpubsRec <- deploymentRecord(name=recordName,
title="",
username="",
account="rpubs",
server="rpubs.com",
hostUrl="rpubs.com",
appId=id,
bundleId=id,
url=url,
version=as.numeric(Sys.time()))
rpubsRecFile <- deploymentConfigFile(recordSource, recordName, "rpubs",
"rpubs.com")
write.dcf(rpubsRec, rpubsRecFile, width = 4096)
Expand Down

0 comments on commit 13f1000

Please sign in to comment.