Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem installing it in R 4.2.0 GUI 1.78 High Sierra build (8075) #119

Open
andreltr opened this issue Sep 6, 2022 · 2 comments
Open

Comments

@andreltr
Copy link

andreltr commented Sep 6, 2022

Hello,

I'm having trouble installing it in Mac OSX Big Sur. The output is below and further the libraries preloaded,

devtools::install_github("braverock/blotter")
Downloading GitHub repo braverock/blotter@HEAD
✔ checking for file ‘/private/var/folders/xg/n17vb1ts5bv8rpn3qypd61y40000gn/T/RtmpWJepnX/remotes67347c6c9603/braverock-blotter-9085179/DESCRIPTION’ ...
─ preparing ‘blotter’:
─ building ‘blotter_0.16.2.tar.gz’ation ... preparing ‘blotter’:

Error: could not find function "theme_set"
Execution halted
Warning message:
In i.p(...) :
installation of package ‘/var/folders/xg/n17vb1ts5bv8rpn3qypd61y40000gn/T//RtmpWJepnX/file67343cecdec6/blotter_0.16.2.tar.gz’ had non-zero exit status

The libraries loaded are below,

.First.sys()

R configuration

options(width=150)

tibble number of digits printed

options(pillar.sigfig = 7)

default ggthemes theme

default_theme <- theme_set(theme_calc())

Color selection

colors <- c("#D4t3F3A", "#EEA236", "#5CB85C", "#46B8DA", "#9632B8")

TD data directory

folder for caching files

cache_folder <- paste0('/Users/andreltr/Documents/R', '/TD_cache')

library(devtools)

library(plotly)

library(plyr)

library(dplyr)

Graphics libraries and theme

library(ggplot2)
library(ggpubr)

theme_set(theme_pubr())

library(ggthemes)

default ggthemes theme

default_theme <- theme_set(theme_calc())
library(ggrepel)
library(grid)
library(scales)
library(directlabels)
library(lattice)
library(gridExtra)
library(plyr)
library(reshape2)

library(PerformanceAnalytics)
library(FinancialInstrument)
library(FinancialMath)
library(quantmod)

economics data

library(ipeadatar)

library(GetTDData)

for Quandl access

library(Quandl)
Quandl.api_key(**************) ## hidden

library(magrittr)
library(TTR)

library(here)
library(svDialogs)
library(curl)
library(xts)
library(zoo)
library(rvest)
library(tidyverse)
library(directlabels)
library(stringr)
library(forcats)
library(lubridate)

library(tidyquant)
library(timetk)
library(reshape)
library(ecoseries)

library(RColorBrewer)
library(extrafont)
library(tibble)
library(formattable)

Any help appreciated,

Andre Luiz

@braverock
Copy link
Owner

you have a lot of packages loaded in your environment.

theme_set is a function created by the ggthemes package, and has nothing to do with blotter.

I suspect that if you install blotter in an empty environment, it should work fine after that. I use R 3.6.3, R 4.1.x, and R 4.2.x on various machines without issues.

@jaymon0703
Copy link
Collaborator

@andreltr is this still an issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants