% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/util_resolve_remote.R
\name{resolve_remote_pkg}
\alias{resolve_remote_pkg}
\title{Resolve Remote Package References (GitHub, GitLab, Bitbucket)}
\usage{
resolve_remote_pkg(pkg_ref, cache_path = NULL)
}
\arguments{
\item{pkg_ref}{A character string specifying the remote package reference.
Supports formats like:
\itemize{
\item \code{"user/repo"} - GitHub shorthand (default)
\item \code{"github::user/repo"} - Explicit GitHub
\item \code{"gitlab::user/repo"} - GitLab
\item \code{"bitbucket::user/repo"} - Bitbucket
\item \code{"user/repo@ref"} - Specific commit, branch, or tag
\item \code{"user/repo/subdir"} - Package in subdirectory
}}

\item{cache_path}{Optional path to cache directory. If NULL, uses temp directory.}
}
\value{
A list containing:
\itemize{
\item \code{pkg_path}: Path to the package directory
\item \code{extracted_path}: Path to the extracted bundle
\item \code{tar_path}: Path to the downloaded tarball
\item \code{is_installed}: FALSE (always FALSE for remote packages)
\item \code{remote_info}: Parsed remote reference information
}
}
\description{
Downloads package source from remote repositories (GitHub, GitLab, Bitbucket)
without installing the package. Uses the \code{remotes} package for downloading.
}
\keyword{internal}
