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

"Error in if (nchar(out) > 0) { : argument is of length zero" warning #128

Open
philturk opened this issue Nov 17, 2024 · 1 comment
Open

Comments

@philturk
Copy link

I am a Mac user here and new to this package (dev version). This minor issue is related to #68 and #100. Please see the attached screenshot. This has ultimately no real effect because I can still use the app in my Viewer window and run the chattr() function. Nevertheless, I just thought I'd point it out to you.

Screenshot 2024-11-17 at 12 53 10 PM
@pcantalupo
Copy link

Same thing here on Windows 10 running R4.3.3

> library(chattr)
> chattr_use("copilot")

── chattr 
• Provider: OpenAI - GitHub Copilot Chat
• Path/URL: https://api.githubcopilot.com/chat/completions
• Model: gpt-4
• Label: Copilot (GitHub)
> chattr_test()

── Testing chattr 
• Provider: OpenAI - GitHub Copilot Chat
• Path/URL: https://api.githubcopilot.com/chat/completions
• Model: gpt-4
• Label: Copilot (GitHub)
Error in if (nchar(out) > 0) { : argument is of length zero
> sessionInfo()
R version 4.3.3 (2024-02-29 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19045)

Matrix products: default


locale:
[1] LC_COLLATE=English_United States.utf8 
[2] LC_CTYPE=English_United States.utf8   
[3] LC_MONETARY=English_United States.utf8
[4] LC_NUMERIC=C                          
[5] LC_TIME=English_United States.utf8    

time zone: America/New_York
tzcode source: internal

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods  
[7] base     

other attached packages:
[1] chattr_0.2.0.9000 devtools_2.4.5    usethis_2.2.3    

loaded via a namespace (and not attached):
 [1] jsonlite_1.8.9    miniUI_0.1.1.1    compiler_4.3.3   
 [4] promises_1.3.2    Rcpp_1.0.12       clipr_0.8.0      
 [7] stringr_1.5.1     jquerylib_0.1.4   callr_3.7.6      
[10] later_1.3.2       yaml_2.3.10       fastmap_1.1.1    
[13] mime_0.12         R6_2.5.1          httr2_1.0.7      
[16] htmlwidgets_1.6.4 tibble_3.2.1      profvis_0.3.8    
[19] shiny_1.10.0      pillar_1.10.0     bslib_0.8.0      
[22] rlang_1.1.3       cachem_1.0.8      stringi_1.8.4    
[25] httpuv_1.6.15     sass_0.4.9        fs_1.6.4         
[28] pkgload_1.4.0     memoise_2.0.1     cli_3.6.2        
[31] magrittr_2.0.3    ps_1.8.1          processx_3.8.4   
[34] digest_0.6.35     rstudioapi_0.17.1 xtable_1.8-4     
[37] rappdirs_0.3.3    remotes_2.5.0     lifecycle_1.0.4  
[40] vctrs_0.6.5       glue_1.7.0        urlchecker_1.0.1 
[43] sessioninfo_1.2.2 pkgbuild_1.4.5    purrr_1.0.2      
[46] pkgconfig_2.0.3   tools_4.3.3       ellipsis_0.3.2   
[49] htmltools_0.5.8.1

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

2 participants