|
449 | 449 | "\n",
|
450 | 450 | "**Solutions:**\n",
|
451 | 451 | "\n",
|
452 |
| - "* If exact reproducibility isn't critical, update to a more recent R version and/or newer package versions.\n", |
| 452 | + "* If exact reproducibility is not required, consider updating to a more recent R version and/or newer package versions.\n", |
453 | 453 | "* For legacy work, search for archived source tarballs or consult the CRAN archive, but success isn't guaranteed.\n",
|
454 | 454 | "\n",
|
455 | 455 | "#### Backdating\n",
|
|
473 | 473 | " dplyr (>= 1.0.0)\n",
|
474 | 474 | "```\n",
|
475 | 475 | "\n",
|
476 |
| - "To install a particular version using `renv` (which is then captured in `renv.lock` by calling `renv::snapshot()`):\n", |
| 476 | + "To install a particular version using `renv` (which will be recorded in `renv.lock` after you call `renv::snapshot()`):\n", |
477 | 477 | "\n",
|
478 | 478 | "```\n",
|
479 | 479 | "renv::install(\"[email protected]\")\n",
|
|
486 | 486 | "**Symptoms:**\n",
|
487 | 487 | "\n",
|
488 | 488 | "* Package installation fails with errors about missing libraries (e.g., \"cannot find -lssl\", \"libcurl not found\", missing `.so` files).\n",
|
489 |
| - "* Consult the CRAN page for each package (OR SPECIFIED ONE IN ERROR?); most list system requirements. As an example, the openssl and curl packages commonly require system libraries. See this GitHub issue for a real-world case and solution.\n", |
490 | 489 | "\n",
|
491 | 490 | "**Solutions:**\n",
|
492 | 491 | "\n",
|
493 |
| - "* Check the CRAN page for each package for system requirements. The `openssl` and `curl` packages are a common source of these issues.\n", |
| 492 | + "* Check the CRAN page for each package for any system requirements (listed beside `SystemRequirements`). The [`openssl`](https://cran.r-project.org/web/packages/openssl/index.html) and [`curl`](https://cran.r-project.org/web/packages/curl/index.html) packages are a common source of these issues.\n", |
494 | 493 | "* Install the required system dependencies and document them in your `README` for others. For example:\n",
|
495 | 494 | " * Ubuntu/Debian: `sudo apt-get install libssl-dev libcurl4-openssl-dev`.\n",
|
496 | 495 | " * Fedora/RHEL: `sudo dnf install openssl-devel libcurl-devel`.\n",
|
|
499 | 498 | "\n",
|
500 | 499 | "#### Legacy user libraries\n",
|
501 | 500 | "\n",
|
502 |
| - "On systems where R has been installed for a long time, the user library (the default location for installed packages) may contain outdated or conflicting packages. This can interfere with `renv`, sometimes causing it to fail silently or behave unpredictably.\n", |
| 501 | + "If R has been installed for a long time, your user library (the default location for installed packages) may contain outdated or conflicting packages. This can interfere with `renv`, sometimes causing silent failures or unpredictable behaviour.\n", |
503 | 502 | "\n",
|
504 | 503 | "**Symptoms:**\n",
|
505 | 504 | "\n",
|
|
0 commit comments