-
Notifications
You must be signed in to change notification settings - Fork 25
Description
remove.packages("shiny")
Removing package from ‘C:/Users/au759124/AppData/Local/Programs/R/R-4.4.2/library’
(as ‘lib’ is unspecified)
install.packages("shiny")
Error in install.packages : Updating loaded packages
Restarting R session...
install.packages("shiny")
WARNING: Rtools is required to build R packages but no version of Rtools compatible with the currently running version of R was found. Note that the following incompatible version(s) of Rtools were found:
- Rtools 4.3 (installed at C:\RBuildTools\4.3)
Please download and install the appropriate version of Rtools before proceeding:
https://cran.rstudio.com/bin/windows/Rtools/
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/shiny_1.10.0.zip'
Content type 'application/zip' length 5128196 bytes (4.9 MB)
downloaded 4.9 MB
package ‘shiny’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\au759124\AppData\Local\Temp\RtmpOGGusJ\downloaded_packages
library(shiny)
Advarselsbesked:
pakke ‘shiny’ blev bygget under R version 4.4.3
library(tidyverse)
── Attaching core tidyverse packages ───────────────
✔ dplyr 1.1.4 ✔ readr 2.1.5
✔ forcats 1.0.0 ✔ stringr 1.5.1
✔ ggplot2 3.5.1 ✔ tibble 3.2.1
✔ lubridate 1.9.4 ✔ tidyr 1.3.1
✔ purrr 1.0.4
── Conflicts ────────────── tidyverse_conflicts() ──
✖ dplyr::filter() masks stats::filter()
✖ dplyr::lag() masks stats::lag()
ℹ Use the conflicted package to force all conflicts to become errors
library(chattr)
chattr_use("gpt35")
── chattr
• Provider: OpenAI - Chat Completions
• Path/URL:
https://api.openai.com/v1/chat/completions
• Model: gpt-3.5-turbo
• Label: GPT 3.5 (OpenAI)
chattr_app()
• Provider: OpenAI - Chat Completions
• Path/URL:
https://api.openai.com/v1/chat/completions
• Model: gpt-3.5-turbo
• Label: GPT 3.5 (OpenAI)
Sys.setenv("OPENAI_API_KEY" = "sk-...")
request("https://api.openai.com/v1/models") %>%
-
req_auth_bearer_token(Sys.getenv("OPENAI_API_KEY")) %>% -
req_perform()
Error in req_perform():
! HTTP 401 Unauthorized.
• OAuth error
• realm: OpenAI API