Whenever I start my R session on my new M1 mac I get the following message on the first bit of text that I pass into the console:
It's kind of hilarious, but it's also really annoying and jarring and I'd just prefer if I could you know, use my R console like a normal person.
I have a feeling that this is tied to my .Rprofile, but I can't figure out which part, and removing it hasn't seemed to have helped.
Below is my .Rprofile, if that helps,
Any help is much appreciated!
options(RDocs.override = TRUE)
.First <- function() {
options(
repos = c(
milesmcbain = 'https://milesmcbain.r-universe.dev',
CRAN = 'https://cloud.r-project.org'
),
browserNLdisabled = TRUE,
deparse.max.lines = 2
)
}
if (interactive()) {
suppressMessages(require(devtools))
suppressMessages(require(testthat))
suppressMessages(require(usethis))
suppressMessages(require(fs))
suppressMessages(require(pak))
suppressMessages(require(clipr))
suppressMessages(require(gert))
system("cal -A 2")
}
if (interactive() && requireNamespace("shrtcts", quietly = TRUE)) {
shrtcts::add_rstudio_shortcuts(set_keyboard_shortcuts = TRUE)
}
# some VS Code options
options(
vsc.use_httpgd = TRUE,
vsc.rstudioapi = TRUE
)
# usethis options
options(
usethis.full_name = "Nicholas Tierney",
usethis.protocol = "https",
usethis.description = list(
`Authors@R` = 'person("Nicholas", "Tierney", role = c("aut", "cre"), email = "nicholas.tierney@gmail.com", comment = c(ORCID = "https://orcid.org/0000-0003-1460-8722"))',
License = "MIT + file LICENSE",
Language = "es",
Version = "0.0.0.9000"
),
# set SI to true
reprex.session_info = TRUE
)
# sort out github credentials
if (requireNamespace("credentials", quietly = TRUE)) {
credentials::set_github_pat(verbose = FALSE)
}
# set slides to daemonzied mode to not block R session
options(servr.daemon = TRUE)