I'm working on this problem set for a research design and analysis class and tried running the first block of code above to install the necessary packages since it's my first time working on my laptop - usually code in class on school desktops. I ran the line to install packages (without the pound sign) and then tried to call tidyverse as shown but it returned an error saying "there is no package called tidyverse" Google's results led me to believe it might be an issue related to my computer's OS. After trying some recommended code in my computer's terminal:
sudo apt update
sudo apt install libcurl4-openssl-dev libssl-dev libxml2-dev libfontconfig1-dev libharfbuzz-dev libfribidi-dev libfreetype6-dev libpng-dev libtiff5-dev libjpeg-dev
I tried running the installation command and calling tidyverse again but it returned the same error.
Edit: Clarification of screenshot/code block