| 1 | # activate_prompt behaves as expected |
| 2 | |
| 3 | Code |
| 4 | val <- renv_activate_prompt_impl("snapshot") |
| 5 | Output |
| 6 | It looks like you've called renv::snapshot() in a project that hasn't been activated yet. |
| 7 | How would you like to proceed? |
| 8 | |
| 9 | 1: Activate the project and use the project library. |
| 10 | 2: Do not activate the project and use the current library paths. |
| 11 | 3: Cancel and resolve the situation another way. |
| 12 | |
| 13 | Selection: 2 |
| 14 | |
| 15 | |
| 16 | --- |
| 17 | |
| 18 | Code |
| 19 | val <- renv_activate_prompt_impl("snapshot") |
| 20 | Output |
| 21 | It looks like you've called renv::snapshot() in a project that hasn't been activated yet. |
| 22 | How would you like to proceed? |
| 23 | |
| 24 | 1: Activate the project and use the project library. |
| 25 | 2: Do not activate the project and use the current library paths. |
| 26 | 3: Cancel and resolve the situation another way. |
| 27 | |
| 28 | Selection: 1 |
| 29 | |
| 30 | - The project is out-of-sync -- use `renv::status()` for details. |
| 31 |