mlverse / chattr

https://mlverse.github.io/chattr/
Other
193 stars 19 forks source link

chattr Error in UseMethod("ch_test") : no applicable method for 'ch_test' applied to an object of class "c('ch_', 'ch_model')" #126

Open MilosZarkovic opened 1 month ago

MilosZarkovic commented 1 month ago

I am trying to use chattr in Rstudio (2024.09.0 Build 375) and R 4.4.1

However, I got the following errors:

library(chattr)

chatGPT.api.key="XXXXXXXXXXXXXXXXXXX"

Sys.setenv("OPENAI_API_KEY" = chatGPT.api.key)

chattr_defaults()

── chattr ──────────────────────────────────────────────────────────────────────

── Defaults for: Default ──

── Prompt:

── Model • Provider: • Path/URL: • Model: • Label:

── Context: Max Data Files: Max Data Frames

chattr_test()

Error in UseMethod("ch_test") : no applicable method for 'chtest' applied to an object of class "c('ch', 'ch_model')"

chattr_app()

Error in [[.default(possible, 1) : subscript out of bounds

Thanks Miloš

mancebral commented 1 day ago

Same issue!