forked from rstats-wtf/wtf-explore-libraries
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path01_explore-renv_spartan.R
27 lines (15 loc) · 997 Bytes
/
01_explore-renv_spartan.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# A little deja vú from one of our first tasks! --------------------------------
# Take some notes as you go along.
# In which libraries does R search for packages? -------------------------------
# your personal computing environment may return one or more locations
# What is your default library? ------------------------------------------------
# Confirm the library supplied is, in fact, the default library. ---------------
# Create a tibble of all installed packages ------------------------------------
# How many packages are installed? ---------------------------------------------
# Now lets do the same, after initiating renv! ------------------------
# Initiate renv.
# After that finishes, go to the top of the document and got through it again.
# What are the differences?
# If you have time to do more. -------------------------------------------------
# Try installing another package using renv::install.
# Can you tell how that is different from install.packages?