Watts-College / cpp-528-fall-2021

https://watts-college.github.io/cpp-528-fall-2021/
2 stars 2 forks source link

Can't install packages after installing renv #15

Open AprilPeck opened 2 years ago

AprilPeck commented 2 years ago

Now that I've initiated renv in my package, I can't install any packages. It is showing that I don't have dplyr or tidyverse installed and I get an error when I try to install it. It seems to be the renv package that's causing it based on the error message; also, I created a new package and was able to install it just fine (plus, it's already installed but it says it's not installed when I'm in my CPP528 package). I've tried uninstalling renv and it still doesn't work (same error message). Here is what I'm seeing.

image

castower commented 2 years ago

Hello @AprilPeck ,

Can you install packages using this code?

utils::install.packages()
AprilPeck commented 2 years ago

@castower

yes - thank you!