max-alletsee / rstudio-themes Goto Github PK
View Code? Open in Web Editor NEWA collection of themes for RStudio
License: Other
A collection of themes for RStudio
License: Other
Hi, I've made a port of the Nord theme for RStudio. In addition to the syntax highlighting this RStheme reskins all UI elements in accordance to the Nord palette. Complete Nord theme
Running
install_rstudio_themes(theme = "all_dark")
gaves the following error:
Error in subset.default(x = data, subset = is_dark == TRUE, select = github_direct_link) :
object 'is_dark' not found
I check the wrapper function by running install_rstudio_themes
In the source code:
function (theme, globally = FALSE)
{
require(rstudioapi)
data <- data("rstudio_themes")
if (theme == "all") {
themes_to_install <- subset(x = rstudio_themes, select = github_direct_link)
}
else if (theme == "all_dark") {
themes_to_install <- subset(x = data, subset = is_dark ==
TRUE, select = github_direct_link)
}
else if (theme == "all_light") {
themes_to_install <- subset(x = data, subset = is_dark ==
FALSE, select = github_direct_link)
}
else {
themes_to_install <- subset(x = data, subset = theme_name %in%
theme, select = github_direct_link)
}
if (nrow(themes_to_install) == 0) {
warning("Theme name(s) not found. Please check for spelling or if the theme is included in the data.")
}
for (theme_url in themes_to_install$github_direct_link) {
try(rstudioapi::addTheme(themePath = theme_url, globally = FALSE))
}
}
I saw data <- data("rstudio_themes")
, which didn't work properly, while data <- rstudio_themes
would do.
Please kindly check the issue.
Best regards.
R version 4.1.0 (2021-05-18)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19042)
Matrix products: default
locale:
[1] LC_COLLATE=Chinese (Simplified)_China.936 LC_CTYPE=Chinese (Simplified)_China.936
[3] LC_MONETARY=Chinese (Simplified)_China.936 LC_NUMERIC=C
[5] LC_TIME=Chinese (Simplified)_China.936
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] xml2_1.3.2 rstudioapi_0.13 rstudiothemes_0.1 scales_1.1.1
[5] ggsci_2.9 pheatmap_1.0.12 ggpubr_0.4.0 forcats_0.5.1
[9] stringr_1.4.0 dplyr_1.0.6 purrr_0.3.4 readr_1.4.0
[13] tidyr_1.1.3 tibble_3.1.2 tidyverse_1.3.1 SeuratObject_4.0.2
[17] Seurat_4.0.3 ggplot2_3.3.3
loaded via a namespace (and not attached):
[1] uuid_0.1-4 readxl_1.3.1 backports_1.2.1 systemfonts_1.0.2
[5] plyr_1.8.6 igraph_1.2.6 lazyeval_0.2.2 splines_4.1.0
[9] listenv_0.8.0 scattermore_0.7 usethis_2.0.1 digest_0.6.27
[13] htmltools_0.5.1.1 viridis_0.6.1 fansi_0.5.0 memoise_2.0.0
[17] magrittr_2.0.1 tensor_1.5 cluster_2.1.2 ROCR_1.0-11
[21] remotes_2.4.0 openxlsx_4.2.4 globals_0.14.0 modelr_0.1.8
[25] matrixStats_0.59.0 officer_0.3.18 spatstat.sparse_2.0-0 prettyunits_1.1.1
[29] colorspace_2.0-1 rvest_1.0.0 ggrepel_0.9.1 haven_2.4.1
[33] xfun_0.23 callr_3.7.0 crayon_1.4.1 jsonlite_1.7.2
[37] spatstat.data_2.1-0 survival_3.2-11 zoo_1.8-9 glue_1.4.2
[41] polyclip_1.10-0 gtable_0.3.0 leiden_0.3.8 pkgbuild_1.2.0
[45] car_3.0-10 future.apply_1.7.0 abind_1.4-5 DBI_1.1.1
[49] rstatix_0.7.0 miniUI_0.1.1.1 Rcpp_1.0.6 viridisLite_0.4.0
[53] xtable_1.8-4 reticulate_1.20 spatstat.core_2.1-2 foreign_0.8-81
[57] htmlwidgets_1.5.3 httr_1.4.2 RColorBrewer_1.1-2 ellipsis_0.3.2
[61] ica_1.0-2 pkgconfig_2.0.3 farver_2.1.0 uwot_0.1.10
[65] dbplyr_2.1.1 deldir_0.2-10 utf8_1.2.1 tidyselect_1.1.1
[69] labeling_0.4.2 rlang_0.4.11 reshape2_1.4.4 later_1.2.0
[73] cachem_1.0.5 munsell_0.5.0 cellranger_1.1.0 tools_4.1.0
[77] cli_2.5.0 generics_0.1.0 devtools_2.4.2 broom_0.7.7
[81] ggridges_0.5.3 evaluate_0.14 fastmap_1.1.0 goftest_1.2-2
[85] processx_3.5.2 knitr_1.33 fs_1.5.0 fitdistrplus_1.1-5
[89] zip_2.2.0 RANN_2.6.1 pbapply_1.4-3 future_1.21.0
[93] nlme_3.1-152 mime_0.10 compiler_4.1.0 plotly_4.9.4
[97] curl_4.3.1 png_0.1-7 testthat_3.0.3 ggsignif_0.6.2
[101] spatstat.utils_2.1-0 reprex_2.0.0 stringi_1.6.1 ps_1.6.0
[105] desc_1.3.0 gdtools_0.2.3 lattice_0.20-44 Matrix_1.3-3
[109] vctrs_0.3.8 pillar_1.6.1 lifecycle_1.0.0 BiocManager_1.30.15
[113] spatstat.geom_2.1-0 lmtest_0.9-38 RcppAnnoy_0.0.18 flextable_0.6.6
[117] data.table_1.14.0 cowplot_1.1.1 irlba_2.3.3 httpuv_1.6.1
[121] patchwork_1.1.1 R6_2.5.0 promises_1.2.0.1 KernSmooth_2.23-20
[125] gridExtra_2.3 rio_0.5.26 parallelly_1.26.0 sessioninfo_1.1.1
[129] codetools_0.2-18 pkgload_1.2.1 MASS_7.3-54 assertthat_0.2.1
[133] rprojroot_2.0.2 withr_2.4.2 sctransform_0.3.2 mgcv_1.8-35
[137] parallel_4.1.0 hms_1.1.0 grid_4.1.0 rpart_4.1-15
[141] rmarkdown_2.8 carData_3.0-4 Rtsne_0.15 base64enc_0.1-3
[145] shiny_1.6.0 lubridate_1.7.10
Hi, very cool project!
Is there a way to preview all the themes? Because it would be impractical to install and test one by one...
I'm specifically looking for some very similar to Idle Fingers but with just a few tweaks.
Thank you
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.