Calculate CRAN Repository Metadata



Description: Calculates/recalculates the Packages and Release metadata for this repository, based on the CRAN packages in it.

The calculation can be synchronous (the default) or asynchronous. Refer to CRAN Repositories for more details. Supported by local repositories only.CRAN Repositories

From version 6.1, by default, the recalculation process also writes several entries from the CRAN package's metadata as properties on all of the artifacts (based on the control file's content).

Notes: Requires Artifactory Pro.

Security: Requires the set of permissions assumed by Manage (Manage + Delete/Overwrite + Deploy/Cache + Annotate + Read)

Usage: POST /api/cran/reindex/cran-local[?async=0/1]

Produces: application/text

Since: 6.1

Sample Output:

POST /api/cran/reindex/cran-local
Recalculating index for CRAN repository cran-local scheduled to run.