View source: R/install-python.R
| python_resolve_pbs | R Documentation |
Scans release asset names of the form
cpython-<ver>+<release>-<arch>-<os>-install_only.tar.gz. For an explicit
version, returns the newest release that contains an asset for that version.
For "latest", returns the first CPython version found in the newest release.
python_resolve_pbs(version = "latest")
version |
Character string. A concrete Python version such as
|
Resolution tries the lightweight releases/latest endpoint first via
pbs_latest_release(), which carries the newest patch of every supported
minor and resolves the common case in one reliable call. It falls back to the
full release history (pbs_list_releases(), which can time out) only when the
latest release does not contain the requested version. Network access is
isolated to those two helpers so tests can stub them.
Named list with elements version (character) and release
(character YYYYMMDD tag).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.