Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Commit ef044b0

Browse files
committed
namespace packageVersion call with utils::
1 parent f4b077d commit ef044b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/gist_create_git.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ gist_create_git <- function(files = NULL, description = "", public = TRUE,
168168
}
169169

170170
# add files
171-
git2r_ver <- unclass(packageVersion('git2r'))[[1]][2]
171+
git2r_ver <- unclass(utils::packageVersion('git2r'))[[1]][2]
172172
patttth <- if (git2r_ver >= 22) git$path else git@path
173173
ftoadd <- gsub(sprintf("%s/?|\\./", patttth), "", allfiles)
174174
git2r::add(git, ftoadd)

0 commit comments

Comments
 (0)