unable to load old project

I am trying to reload my project and it won't reload, I keep getting an error message. Is it related to the update from 4.2.0 to 4.2.1

library(tidyverse)
Error in library(tidyverse) : there is no package called ‘tidyverse’

library(janitor)
Error in library(janitor) : there is no package called ‘janitor’

freezer_contents <- read_csv(str_c(getwd(),'/ZBoxContents.csv')) %>% tibble() %>%

  • janitor::clean_names()
    Error in read_csv(str_c(getwd(), "/ZBoxContents.csv")) %>% tibble() %>% :
    could not find function "%>%"

freezer_contents <-

  • freezer_contents %>% mutate(first_four = str_sub(sample_id, 4)
  •                           projects = if_else(first_four == '4004', 
    

Error: unexpected symbol in:
" freezer_contents %>% mutate(first_four = str_sub(sample_id, 4)
projects"

                                             '4004', 

Error: unexpected ',' in " '4004',"

                                             if_else(first_four == '9009', 
  •                                                      '9009', 
    
  •                                                      'CHAMACOS')))
    

Error: unexpected ')' in:
" '9009',
'CHAMACOS'))"

library(tidyverse)
Error in library(tidyverse) : there is no package called ‘tidyverse’
library(janitor)
Error in library(janitor) : there is no package called ‘janitor’
load("/cloud/project/project.Rproj")
Error in load("/cloud/project/project.Rproj") :
bad restore file magic number (file may be corrupted) -- no data loaded
In addition: Warning message:
file ‘project.Rproj’ has magic number 'Versi'
Use of save versions prior to 2 is deprecated

I believe in RStudio Cloud each R version gets independent package libraries as well so you would need to install your packages again.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.