Created
June 8, 2023 00:54
-
-
Save nathanvy/fb899d29a6df8b4e07ecb32409aec721 to your computer and use it in GitHub Desktop.
R Test Case
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;;;; this goes into init.el | |
(defvar bootstrap-version) | |
(let ((bootstrap-file | |
(expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory)) | |
(bootstrap-version 6)) | |
(unless (file-exists-p bootstrap-file) | |
(with-current-buffer | |
(url-retrieve-synchronously | |
"https://raw.githubusercontent.com/radian-software/straight.el/develop/install.el" | |
'silent 'inhibit-cookies) | |
(goto-char (point-max)) | |
(eval-print-last-sexp))) | |
(load bootstrap-file nil 'nomessage)) | |
(straight-use-package 'use-package) | |
(require 'use-package-ensure) | |
(setq straight-use-package-by-default t) | |
(use-package ess | |
:init (require 'ess-site)) | |
(use-package nord-theme | |
:if (display-graphic-p) | |
:straight (nord-theme | |
:type git | |
:host github | |
:repo "nordtheme/emacs") | |
:config | |
(set-face-attribute 'default nil :family "Monaco") | |
(set-face-attribute 'fixed-pitch nil :family "Monaco") | |
(set-face-attribute 'variable-pitch nil :family "SF Pro Display" :height 140) | |
(load-theme 'nord t)) | |
;;; init.el ends here | |
;;; | |
;;; the following lines reproduce the theme/color problem: | |
;;; test-case.r | |
library(tidyverse) | |
library(nycflights13) | |
flights |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment