I have a problem with installing packages
it seams something wrong with "ggthemes" but I couldn't find any solution for this.
(I've tried a lot to re-install "ggthemes" and packages)
Here is a commend and error message
Thank you for your help in advance
install.packages("Rcpp")
yes
> install.packages("Rcpp")
There is a binary version available but the source version is later:
binary source needs_compilation
Rcpp 1.0.6 1.0.7 TRUE
Do you want to install from sources the package which needs compilation? (Yes/no/cancel) yes
installing the source package ‘Rcpp’
trying URL 'https://cran.rstudio.com/src/contrib/Rcpp_1.0.7.tar.gz'
Content type 'application/x-gzip' length 2941808 bytes (2.8 MB)
==================================================
downloaded 2.8 MB
Error: Can't subset columns that don't exist.
x Column `ltgray` doesn't exist.
Backtrace:
█
1. ├─ggplot2::theme_set(theme_gogamza())
2. └─global::theme_gogamza()
3. ├─ggplot2::theme(...)
4. │ └─ggplot2:::find_args(..., complete = NULL, validate = NULL)
5. │ └─base::mget(args, envir = env)
6. ├─ggplot2::element_rect(...)
7. │ └─base::structure(...)
8. ├─ggthemes_data$fivethirtyeight["ltgray"]
9. └─tibble:::`[.tbl_df`(ggthemes_data$fivethirtyeight, "ltgray")
10. └─tibble:::vectbl_as_col_location(...)
11. ├─tibble:::subclass_col_index_errors(...)
12. │ └─base::withCallingHandlers(...)
13. └─vctrs::vec_as_location(j, n, names)
14. └─(function () ...
15. └─vctrs:::stop_subscript_oob(...)
16. └─vctrs:::stop_subscript(...)
Execution halted
Warning in install.packages :
installation of package ‘Rcpp’ had non-zero exit status
The downloaded source packages are in
‘/private/var/folders/03/8v244f7902951l96gcqpynj00000gn/T/Rtmp9GNlJJ/downloaded_packages’
ggthemes_data$fivethirtyeight
# A tibble: 6 x 2
name value
<chr> <chr>
1 Dark Gray #3C3C3C
2 Medium Gray #D2D2D2
3 Light Gray #F0F0F0
4 Red #FF2700
5 Blue #008FD5
6 Green #77AB43