Skip to content

Instantly share code, notes, and snippets.

@nathanvy
Created June 8, 2023 00:54
Show Gist options
  • Save nathanvy/fb899d29a6df8b4e07ecb32409aec721 to your computer and use it in GitHub Desktop.
Save nathanvy/fb899d29a6df8b4e07ecb32409aec721 to your computer and use it in GitHub Desktop.
R Test Case
;;;;; 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