Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy edits #1912

Merged
merged 1 commit into from
Jun 3, 2024
Merged

Copy edits #1912

merged 1 commit into from
Jun 3, 2024

Conversation

jennybc
Copy link
Member

@jennybc jennybc commented May 29, 2024

I needed a refresher on renv, so I was reading the intro docs and found a few tweaks.

@@ -39,7 +39,7 @@ install.packages("renv")

## Workflow

<img src="vignettes/renv.png" alt="A diagram showing the most important verbs and nouns of renv. Projects start with init(), which creates a project library using packages from the system library. snapshot() updates the lockfile using the packages installed in the project library, where restore() installs packages into the project library using the metadata from the lockfile, and status() compares the lockfile to the project library. You install and update packages from CRAN and GitHub using install() and update(), but because you'll need to do this for multiple projects, renv uses cache to make this fast." width="408" style="display: block; margin: auto;" />
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This just came along for the ride after devtools::build_readme() 🤷‍♀️

@@ -57,7 +57,7 @@ With renv, you'll start using **project libraries,** giving each project its own
You can see your current libraries with `.libPaths()` and see which packages are available in each library with `lapply(.libPaths(), list.files)`.

A **repository** is a source of packages; `install.packages()` gets a package from a repository (usually somewhere on the Internet) and puts it in a library (a directory on your computer).
The most important repository is CRAN which is available to install packages from in just about every R session.
The most important repository is CRAN; you can install packages from CRAN in just about every R session.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I stumbled over "to install package packages from in"; maybe just reword it?

Copy link
Collaborator

@kevinushey kevinushey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@kevinushey kevinushey merged commit 235349f into main Jun 3, 2024
11 checks passed
@jennybc jennybc deleted the copy-edits branch June 3, 2024 22:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants