-
Notifications
You must be signed in to change notification settings - Fork 0
/
.Rprofile
23 lines (21 loc) · 921 Bytes
/
.Rprofile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
message('starting package .profile')
Sys.setlocale(category = "LC_COLLATE", locale = "en_US.UTF-8")
if (interactive()) {
suppressMessages(require(devtools)) # loads usethis
suppressMessages(require(rsconnect)) # loads rsconnect
# suppressMessages(require(dplyr))
require("pryr") |> suppressMessages()
# suppressMessages(require(lubridate))
# suppressMessages(require(magrittr))
suppressMessages(require(conflicted))
suppressMessages(require(reprex))
# credentials::set_github_pat() # key to be able to install_github() private repos
conflicted::conflict_prefer("filter", "dplyr")
conflicted::conflict_prefer("lag", "dplyr")
conflicted::conflict_prefer("summarise", "dplyr")
conflicted::conflict_prefer("summarize", "dplyr")
conflicted::conflict_prefer("select", "dplyr")
conflicted::conflict_prefer("is_in", "magrittr")
qs <- function() q(save="no")
}
message('ending package .profile')