From 15dfbcb5bfbeca229a2dbcf5b2056954eaa4b664 Mon Sep 17 00:00:00 2001 From: Jeroen Ooms Date: Thu, 19 Sep 2024 19:13:02 +0200 Subject: [PATCH] Fix URL warning --- DESCRIPTION | 3 ++- R/credentials.R | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 71e5666..852818d 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -13,7 +13,8 @@ Description: Simple git client for R based on 'libgit2' wi User credentials are shared with command line 'git' through the git-credential store and ssh keys stored on disk or ssh-agent. License: MIT + file LICENSE -URL: https://docs.ropensci.org/gert/ https://ropensci.r-universe.dev/gert +URL: https://docs.ropensci.org/gert/ + https://ropensci.r-universe.dev/gert BugReports: https://github.com/r-lib/gert/issues Imports: askpass, diff --git a/R/credentials.R b/R/credentials.R index d711064..382f388 100644 --- a/R/credentials.R +++ b/R/credentials.R @@ -80,6 +80,6 @@ remote_to_host <- function(repo, remote){ url_to_host <- function(url){ #credentials:::parse_url(url, allow_ssh = TRUE)[['host']] - parse_url <- getFromNamespace('parse_url', 'credentials') + parse_url <- utils::getFromNamespace('parse_url', 'credentials') parse_url(url, allow_ssh = TRUE)[['host']] }