Skip to content

Commit

Permalink
GitHub packages include RemoteRef in packrat.lock
Browse files Browse the repository at this point in the history
fixes #502
  • Loading branch information
aronatkins committed Sep 28, 2018
1 parent cea6c23 commit 8b756ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/pkg.R
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ inferPackageRecord <- function(df) {
c(remote_host = as.character(df$RemoteHost)),
c(remote_repo = as.character(df$RemoteRepo)),
c(remote_username = as.character(df$RemoteUsername)),
c(remote_ref = as.character(df$RemoteRef)),
c(remote_sha = as.character(df$RemoteSha))
), class = c('packageRecord', 'github')))
} else if (!is.null(df$RemoteType) && df$RemoteType == "bitbucket") {
Expand Down

0 comments on commit 8b756ac

Please sign in to comment.