remote_package_name.git2r_remotenow passes credentials when looking up the package
remote_package_name.xgit_remote, http responses returning an invalid
DESCRIPTIONor that redirect to another page will now fallback to return
NAinstead of throwing an error when trying to parse the unexpected content (#628, @dgkf).
github_pull()documentation (@ms609 #640).
Re-license as MIT. (#551)
skip tests for
download.file(method = "internal"), on R > 4.1, since that method is now defunct on those versions.
remote_package_name.xgit_remote now get correct package name from HTTP(S) git repo’s
DESCRIPTION file, and thus package’s
Remotes field could have
git::http(s)://<host>/<username>/<repo>[.git][@ref] items that install remote packages using git via HTTP(S) protocal (@niheaven, #603).
It is now possible to specify a custom host for dependencies listed in the
DESCRIPTION file with
Remotes: <type>[@host]::<username>/<repo>[@ref]. The
ref now supports
/ in it for
GitLab repositories as it did for
GitHubrepositories. (@dagola, #448)
package2remote() function now supports local remotes created by pak.
github_pat() will now check if
GITHUB_TOKEN is set if it cannot find
system_requirements() function to query the Public RStudio Package Manager for system requirements for a package (and its dependencies)
Remotes functions can now install dependencies from additional DESCRIPTION fields, e.g. passing
dependencies = "Config/Needs/website" will install the dependencies listed in the
Config/Needs/website: field in the package’s DESCRIPTION. Prefixing fields with
Config/Needs allows them to pass
R CMD check without a NOTE, so it is the recommended format for these extra dependencies.
install_*() family of functions now use the default branch in the repository, not the
master branch (@MyKo101,#508).
Another fix for the mixed binary and source dependency issue, it should hopefully be fully squashed now (#296)
The upgrade menu is now interruptible in RStudio (#489).
Internal GitHub functions now correctly handle cases when characters are not representable in the default locale, but are representable in UTF-8 (#492).
Installing mixed binary and source dependencies when the latest versions of some packages do not have binaries yet should now install dependencies in the correct order to prevent load failures (#296)
remotes is now resilient against installed packages that declare
RemoteType: standard but do not include a
RemotePkgType field. In such a case, the values for
getOption("pkgType") will be used (respectively).
The tests have been updated to work with newer versions of callr and R 4.0
install_*() functions gain
build_vignette arguments that previously existed in devtools versions < 2.0 (#353).
The interactive menu has been modified to provide more clear instructions on the skipping behavior (#207)
Credentials are now passed via HTTP headers, to reduce exposure when requests fail (#391).
GitHub remotes that point to branches no longer fail when the branch is later deleted (#274).
Local remotes whose original location has been moved will no longer error when updating (#370).
github_resolve_ref() now takes a
host parameter (#284)
Remotes specific environment variables now accept 0 and 1 as valid values (#238)
remotes now uses locking by default when installing binary packages, which avoids issues when installing binaries that are already open in other R processes (#368)
update_deps() no longer fails if a local package no longer exists (#289)
Credentials are no longer passed to dependencies, as this breaks dependencies which use different credentials or hosts. If you have relied on this behavior a more robust way to provide the credentials is using the appropriate environment variables, e.g.
BITBUCKET_USER etc. (@antoine-sachet, #345).
The order of choices for
upgrade = "ask" now puts the stable ones ‘All’, ‘CRAN only’, ‘none’ first, so they always have the same numbers (#287).
remotes now understands the “standard” remote type, as produced by packages installed from CRAN using
remote_package_name.github_remote() now works properly on Windows (#248)
install_* functions now respect the
download.file.method option, if
download_file() is used for HTTP.
install_* functions now use the libcurl method, if the
download.file.method option is not set to a different one, and libcurl is available. Before, the wininet method was preferred on Windows. If you rely on the proxy configuration of wininet, then you might want to set the
download.file.method option, or use another way to set up proxies, see
Remotes without package names are now unconditionally installed (#246).
install_github() now includes a more informative error message when the status code is 404, asking the user to check that they have spelled the repo owner and repo correctly (included in the error message), and that they have the required permissions to access the repository.
install_* functions (via the underlying private
install function) now set
RGL_USE_NULL="TRUE" in order to avoid errors when running headless and installing any package using
rgl (@jefferis, ##333)
install() now avoids converting warnings to errors if
R_REMOTES_NO_ERRORS_FROM_WARNINGS is unset and
_R_CHECK_FORCE_SUGGESTS_=false. This avoids failures due to Suggested packages potentially being missing.
install_github() now bundles a GitHub PAT which is used on Travis to avoid hitting the rate limit too frequently. It also contains a more informative error message when the rate limit is hit on how to setup a GitHub personal access token.
The dialog when
upgrade = "ask" now has a ‘CRAN only’ option, to update only CRAN packages.
No longer include project specific .Rprofile code in the temporary .Rprofile when
R_REMOTES_NO_ERRORS_FROM_WARNINGS=false (the default).
remotes now builds packages by default before installing them. This step uses the pkgbuild package, if available. If not, it calls
R CMD build directly.
install_()* functions now temporally put Rtools on the PATH when necessary, as long as the pkgbuild package is installed.
remotes can be forced to use only its internal code by setting the environment variable
R_REMOTES_STANDALONE = “true”. This is useful when installing optional dependencies of remotes on Windows, such as curl or git2r (#147)
When installing, remotes now errors on warnings, to catch cases where packages are only partially installed. This often happens on windows when the package dll is opened in another R process (#113).
install_() functions allow the selection of a subset of packages to upgrade, in interactive mode, when
upgrade = "ask".
install_() functions now return the name of the package(s) which were installed (#55).
remotes now uses the same SHA updating logic for remotes as devtools, including checking if the SHA of the remote has changed since the last installation. (#135)
install_url() can now install package binaries on windows (r-lib/devtools#1765)
install_deps() et al. now do not rewrite the
type argument from
binary to allow falling back to
source. This fixes various installation failures.
remotes now looks up GitHub package names locally, if possible, and uses the GitHub REST API (if the curl package is available, and not in standalone mode). This makes the remote lookup about 10x faster when the remote package has not changed since the last install.
Using a GITHUB_PAT no longer prints diagnostic messages by default (r-lib/devtools#1752).
Do not include the BioCextra repository in versions after it was deprecated (R 3.5+, Bioc 3.6+).
install_() functions now download tarballs (.tar.gz) files rather than zip archives (.zip). This results in generally smaller files and avoids issues with script permissions being lost and strange behavior of some external unzip programs on Windows (#96).
Dependency parsing is now more robust to whitespace around the dependency specifications (#73).
standardise_dep() exported, for use in devtools.
install_local() now defaults to the current directory.
install_bitbucket() now correctly supports authentication, and the
install_() functions have now a more robust way of handling various tar programs on Windows (#172).
install_() functions now give a helpful warning on older R versions, on Windows, if
R.home() contains a space character. Installation usually fails in this case.
GitHub API errors now give better error messages, including data about the API rate limits.
Allow training slash in GitHub repo specification, #54
Check for circular dependencies while installing, #31
Updated Bioconductor repo URLs for newer BioC versions