When I try to launch it I get the following error message:
library(tidyverse)
Error : .onAttach failed in attachNamespace() for 'tidyverse', details:
call: NULL
error: Function getThemeInfo not found in RStudio
Error: package or namespace load failed for ‘tidyverse’
I think this is due to the familiar binary problem:
There is a binary version available but the source version is later:
binary source needs_compilation
tidyverse 1.1.1 1.2.0 FALSE
I have uninstalled and re-installed a few times to no avail. Is there a way around this or do I have to wait for a further update?
What is your R/Rstudio version? Are you able to update rstudioapi? What about your OS?
I don't have an answer, but the fact that it's referencing an API function added in RStudio 1.1 makes me suspect that there's an old version somewhere in the pipeline. A brief Google search shows you aren't the only one with the problem, though, and at least one person makes it sound like everything is likely up to date.
Probably worth updating RStudio, the current version is 1.1.38 (and/or update the rstudioapi package). The most recent version of R is 3.4.2, as well, so it might be worth updating R too.
Any chance you ended up on tidyverse version 1.2.0 despite the missing binary warning? I said no to installing from source but still ended up with the newest version. And it's apparent why that version would be looking at the editor theme:
I've reported the issue on the tidyverse Github here. The fix should be straightforward, but I'm not sure how long it will be before an update hits CRAN.
The issue is fixed in the development version, but it's likely easiest to wait until you see a version newer than 1.2.0 to update instead of installing from Github.
installing source package 'tidyverse' ...
** package 'tidyverse' successfully unpacked and MD5 sums checked
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** installing vignettes
** testing if installed package can be loaded
*** arch - i386
*** arch - x64
DONE (tidyverse)
The downloaded source packages are in
‘C:\Users\ruser\AppData\Local\Temp\RtmpU5eq9W\downloaded_packages’
library(tidyverse)
-- Attaching packages ------------------------------------------------ tidyverse 1.2.1 --
v ggplot2 2.2.1 v purrr 0.2.4
v tibble 1.3.4 v dplyr 0.7.4
v tidyr 0.7.2 v stringr 1.2.0
v readr 1.1.1 v forcats 0.2.0
-- Conflicts --------------------------------------------------- tidyverse_conflicts() --
x dplyr::filter() masks stats::filter()
x dplyr::lag() masks stats::lag()