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

Platform selection not aligned when performing rhub_check() #597

Open
tylermorganwall opened this issue Apr 11, 2024 · 4 comments
Open

Platform selection not aligned when performing rhub_check() #597

tylermorganwall opened this issue Apr 11, 2024 · 4 comments

Comments

@tylermorganwall
Copy link

The line to input which platforms you want to run your checks on appears above (rather than beside) the prompt. I have linked to a screenshot of the issue (github image upload isn't working for me for some reason):

https://fosstodon.org/deck/@tylermorganwall/112253535159260731

sessionInfo output:

R version 4.3.3 (2024-02-29 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 11 x64 (build 22621)

Matrix products: default


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

time zone: America/New_York
tzcode source: internal

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

loaded via a namespace (and not attached):
 [1] tidyselect_1.2.1    dplyr_1.1.4         fastmap_1.1.1       promises_1.2.1      shinyjs_2.1.0       digest_0.6.35      
 [7] mime_0.12           lifecycle_1.0.4     rintrojs_0.3.4      survival_3.5-8      processx_3.8.4      magrittr_2.0.3     
[13] compiler_4.3.3      rlang_1.1.3         tools_4.3.3         utf8_1.2.4          yaml_2.3.8          gt_0.10.1          
[19] knitr_1.45          spacefillr_0.3.3    askpass_1.2.0       curl_5.2.1          xml2_1.3.6          DiceDesign_1.10    
[25] abind_1.4-5         rhub_2.0.0          numDeriv_2016.8-1.1 sys_3.4.2           grid_4.3.3          fansi_1.0.6        
[31] mbest_0.6           xtable_1.8-4        colorspace_2.1-0    future_1.33.2       whoami_1.3.0        progressr_0.14.0   
[37] ggplot2_3.5.0       gitcreds_0.1.2      globals_0.16.3      scales_1.3.0        iterators_1.0.14    MASS_7.3-60.0.1    
[43] logging_0.10-108    cli_3.6.2           rmarkdown_2.26      generics_0.1.3      rstudioapi_0.16.0   bigmemory.sri_0.1.8
[49] future.apply_1.11.2 httr_1.4.7          minqa_1.2.6         shinythemes_1.2.0   splines_4.3.3       parallel_4.3.3     
[55] vctrs_0.6.5         boot_1.3-30         Matrix_1.6-5        jsonlite_1.8.8      carData_3.0-5       car_3.1-2          
[61] listenv_0.9.1       credentials_2.0.1   foreach_1.5.2       rematch_2.0.0       glue_1.7.0          bigmemory_4.6.4    
[67] parallelly_1.37.1   nloptr_2.0.3        codetools_0.2-20    ps_1.7.6            gtable_0.3.4        fsotr_0.1.0        
[73] later_1.3.2         lmtest_0.9-40       lme4_1.1-35.2       lmerTest_3.1-3      munsell_0.5.0       doFuture_1.0.1     
[79] tibble_3.2.1        pillar_1.9.0        rappdirs_0.3.3      htmltools_0.5.8     openssl_2.1.1       R6_2.5.1           
[85] gert_2.0.1          rprojroot_2.0.4     evaluate_0.23       shiny_1.8.1         lattice_0.22-6      httpuv_1.6.15      
[91] Rcpp_1.0.12         uuid_1.2-0          nlme_3.1-164        xfun_0.43           zoo_1.8-12          pkgconfig_2.0.3 
@gaborcsardi
Copy link
Collaborator

6bc1048cb50e733d

@gaborcsardi
Copy link
Collaborator

What's your IDE? Does it also happen if your input fits into one line?

Unfortunately this is probably nto something we can fix, because I guess that it is either an IDE or a readline() bug, but I can put the prompt at the beginning of next line, and then it should not really happen.

@tylermorganwall
Copy link
Author

I originally used an older version of RStudio, version copied below:

RStudio 2023.03.0+386 "Cherry Blossom" Release (3c53477afb13ab959aeb5b34df1f10c237b256c3, 2023-03-09) for Windows
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) RStudio/2023.03.0+386 Chrome/108.0.5359.179 Electron/22.0.3 Safari/537.36

I also just updated to the latest version of RStudio (below) and the issue persists:

RStudio 2023.12.1+402 "Ocean Storm" Release (4da58325ffcff29d157d9264087d4b1ab27f7204, 2024-01-28) for windows
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) RStudio/2023.12.1+402 Chrome/116.0.5845.190 Electron/26.2.4 Safari/537.36

The alignment issue occurs before I've typed any input. The console is wide enough that no additional wrapping as been added to the output. When I add enough characters to wrap the unaligned input, it wraps to the correct (aligned with the colon) place.

@cjvanlissa
Copy link

Same experience here:
image

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

3 participants