Skip to content

Commit

Permalink
update_dev_pkg uses GH for R repo (#5720)
Browse files Browse the repository at this point in the history
  • Loading branch information
jangorecki authored Nov 5, 2023
1 parent ac2b737 commit 94e8fbe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/devel.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ dcf.repo = function(pkg, repo, field, type) {
dcf[dcf[,"Package"]==pkg, field][[1L]]
}

update_dev_pkg = function(object="data.table", repo="https://Rdatatable.gitlab.io/data.table", field="Revision", type=getOption("pkgType"), lib=NULL, ...) {
update_dev_pkg = function(object="data.table", repo="https://Rdatatable.github.io/data.table", field="Revision", type=getOption("pkgType"), lib=NULL, ...) {
# this works for any package, not just data.table
pkg = object
# perform package upgrade when new Revision present
Expand Down
2 changes: 1 addition & 1 deletion man/update_dev_pkg.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Downloads and installs latest development version only when a new commit is available which has also passed all tests. Defaults are set to update \code{data.table}, other packages can be used as well. Their repository has to include git commit information in PACKAGES file.
}
\usage{update_dev_pkg(object="data.table",
repo="https://Rdatatable.gitlab.io/data.table",
repo="https://Rdatatable.github.io/data.table",
field="Revision", type=getOption("pkgType"), lib=NULL, \dots)
}
\arguments{
Expand Down

0 comments on commit 94e8fbe

Please sign in to comment.