Skip to contents

callr sets the repos option in subprocesses, to make sure that a CRAN mirror is set up. This is because the subprocess cannot bring up the menu of CRAN mirrors for the user to choose from.

Usage

default_repos()

Value

Named character vector, the default value of the repos option in callr subprocesses.

Examples

default_repos()
#>                                                                          
#> "https://prism.dev.a2-ai.cloud/rpkgs/stratus/__linux__/noble/2026-07-02" 
#>                                                                     CRAN 
#>                                            "https://cloud.r-project.org"