You can trigger an asynchronous reindexing of a local CRAN repository either through the UI or using the REST API.
Through the UI, select your CRAN repository in the Tree Browser and select Recalculate Index from the right-click menu as shown below (requires Admin privileges)
To reindex a CRAN repository through the REST API, please refer to Calculate CRAN Repository Metadata.