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

printing of dev_sitrep() output fails if R is out of date (missing paren in code) #2204

Closed
petrbouchal opened this issue Mar 22, 2020 · 1 comment

Comments

@petrbouchal
Copy link

Reprex:

xx  <- devtools::dev_sitrep() # works
xx # error

Error in parse(text = text, keep.source = FALSE) :
:2:0: unexpected end of input
1: ui_value(x$r_version

This seems to be simply because of a missing closing paren in ui_field("R")} is out of date ({ui_value(x$r_version} on line 104:

{ui_field("R")} is out of date ({ui_value(x$r_version} vs {ui_value(x$r_release_version)})

sessioninfo::session_info()
─ Session info ───────────────────────────────────────────────────────────────────────────────────────────
 setting  value                       
 version  R version 3.6.2 (2019-12-12)
 os       macOS Catalina 10.15.3      
 system   x86_64, darwin15.6.0        
 ui       RStudio                     
 language (EN)                        
 collate  en_US.UTF-8                 
 ctype    en_US.UTF-8                 
 tz       Europe/Prague               
 date     2020-03-22                  

─ Packages ───────────────────────────────────────────────────────────────────────────────────────────────
 !  package     * version     date       lib source                              
    askpass       1.1         2019-01-13 [1] CRAN (R 3.6.0)                      
    assertthat    0.2.1       2019-03-21 [1] CRAN (R 3.6.0)                      
    backports     1.1.5       2019-10-02 [1] CRAN (R 3.6.0)                      
    bit           1.1-15.2    2020-02-10 [1] CRAN (R 3.6.0)                      
    bit64         0.9-7       2017-05-08 [1] CRAN (R 3.6.0)                      
    callr         3.4.2       2020-02-12 [1] CRAN (R 3.6.0)                      
    cli           2.0.2       2020-02-28 [1] CRAN (R 3.6.0)                      
    clisymbols    1.2.0       2017-05-21 [1] CRAN (R 3.6.0)                      
    colorspace    1.4-1       2019-03-18 [1] CRAN (R 3.6.0)                      
    crayon        1.3.4       2017-09-16 [1] CRAN (R 3.6.0)                      
    curl          4.3         2019-12-02 [1] CRAN (R 3.6.0)                      
    DBI           1.1.0       2019-12-15 [1] CRAN (R 3.6.0)                      
    desc          1.2.0       2018-05-01 [1] CRAN (R 3.6.0)                      
    devtools    * 2.2.2       2020-02-17 [1] CRAN (R 3.6.0)                      
    digest        0.6.25      2020-02-23 [1] CRAN (R 3.6.0)                      
    dplyr         0.8.5       2020-03-07 [1] CRAN (R 3.6.0)                      
    drat          0.1.5       2019-03-28 [1] CRAN (R 3.6.0)                      
    ellipsis      0.3.0       2019-09-20 [1] CRAN (R 3.6.0)                      
    evaluate      0.14        2019-05-28 [1] CRAN (R 3.6.0)                      
    extrafont     0.17        2014-12-08 [1] CRAN (R 3.6.0)                      
    extrafontdb   1.0         2012-06-11 [1] CRAN (R 3.6.0)                      
    fansi         0.4.1       2020-01-08 [1] CRAN (R 3.6.0)                      
    fastmap       1.0.1       2019-10-08 [1] CRAN (R 3.6.0)                      
    fs            1.3.2       2020-03-05 [1] CRAN (R 3.6.0)                      
    gdtools       0.2.1       2019-10-14 [1] CRAN (R 3.6.0)                      
    ggplot2       3.3.0       2020-03-05 [1] CRAN (R 3.6.2)                      
    gh            1.1.0       2020-01-24 [1] CRAN (R 3.6.0)                      
    gistr         0.5.0       2020-01-09 [1] CRAN (R 3.6.0)                      
    git2r         0.26.1.9000 2020-03-14 [1] Github (ropensci/git2r@0b30ed1)     
    glue          1.3.2.9000  2020-03-20 [1] Github (tidyverse/glue@29eb0ff)     
    googledrive   1.0.0       2019-08-19 [1] CRAN (R 3.6.0)                      
    gtable        0.3.0       2019-03-25 [1] CRAN (R 3.6.0)                      
    hms           0.5.3       2020-01-08 [1] CRAN (R 3.6.0)                      
    hrbraddins    0.4.0       2020-03-17 [1] Github (hrbrmstr/hrbraddins@2acf1c6)
    hrbrthemes    0.8.0       2020-03-06 [1] CRAN (R 3.6.0)                      
    htmltools     0.4.0       2019-10-04 [1] CRAN (R 3.6.0)                      
    httpuv        1.5.2       2019-09-11 [1] CRAN (R 3.6.0)                      
    httr          1.4.1       2019-08-05 [1] CRAN (R 3.6.0)                      
    jsonlite      1.6.1       2020-02-02 [1] CRAN (R 3.6.0)                      
    knitr         1.28        2020-02-06 [1] CRAN (R 3.6.0)                      
    later         1.0.0       2019-10-04 [1] CRAN (R 3.6.0)                      
    lifecycle     0.2.0       2020-03-06 [1] CRAN (R 3.6.0)                      
    magick        2.3         2020-01-24 [1] CRAN (R 3.6.0)                      
    magrittr      1.5         2014-11-22 [1] CRAN (R 3.6.0)                      
    MASS          7.3-51.5    2019-12-20 [1] CRAN (R 3.6.0)                      
    memoise       1.1.0       2017-04-21 [1] CRAN (R 3.6.0)                      
    mime          0.9         2020-02-04 [1] CRAN (R 3.6.0)                      
    miniUI        0.1.1.1     2018-05-18 [1] CRAN (R 3.6.0)                      
    munsell       0.5.0       2018-06-12 [1] CRAN (R 3.6.0)                      
    packrat       0.5.0       2018-11-14 [1] CRAN (R 3.6.0)                      
    pdftools      2.3         2019-11-10 [1] CRAN (R 3.6.0)                      
    pillar        1.4.3       2019-12-20 [1] CRAN (R 3.6.0)                      
    pkgbuild      1.0.6       2019-10-09 [1] CRAN (R 3.6.0)                      
    pkgconfig     2.0.3       2019-09-22 [1] CRAN (R 3.6.0)                      
    pkgdown       1.4.1       2019-09-15 [1] CRAN (R 3.6.0)                      
    pkgload       1.0.2       2018-10-29 [1] CRAN (R 3.6.0)                      
    prettyunits   1.1.1       2020-01-24 [1] CRAN (R 3.6.0)                      
    processx      3.4.2       2020-02-09 [1] CRAN (R 3.6.0)                      
    promises      1.1.0       2019-10-04 [1] CRAN (R 3.6.0)                      
    prompt        1.0.0       2019-07-12 [1] Github (gaborcsardi/prompt@b332c42) 
    ps            1.3.2       2020-02-13 [1] CRAN (R 3.6.0)                      
    purrr         0.3.3       2019-10-18 [1] CRAN (R 3.6.0)                      
    qpdf          1.1         2019-03-07 [1] CRAN (R 3.6.0)                      
    R6            2.4.1       2019-11-12 [1] CRAN (R 3.6.0)                      
    Rcpp          1.0.4       2020-03-17 [1] CRAN (R 3.6.0)                      
    readr         1.3.1       2018-12-21 [1] CRAN (R 3.6.0)                      
    rematch2      2.1.0       2019-07-11 [1] CRAN (R 3.6.0)                      
    remotes       2.1.1       2020-02-15 [1] CRAN (R 3.6.0)                      
 VP reschola      0.2.5.9000  2020-03-20 [?] local                               
    rjson         0.2.20      2018-06-08 [1] CRAN (R 3.6.0)                      
    rlang         0.4.5       2020-03-01 [1] CRAN (R 3.6.0)                      
    rmarkdown     2.1.1       2020-03-20 [1] Github (cpsievert/rmarkdown@d587b7b)
    rprojroot     1.3-2       2018-01-03 [1] CRAN (R 3.6.0)                      
    rsconnect     0.8.16      2019-12-13 [1] CRAN (R 3.6.0)                      
    rstudioapi    0.11        2020-02-07 [1] CRAN (R 3.6.0)                      
    Rttf2pt1      1.3.8       2020-01-10 [1] CRAN (R 3.6.0)                      
    rversions     2.0.1       2019-12-03 [1] CRAN (R 3.6.0)                      
    scales        1.1.0       2019-11-18 [1] CRAN (R 3.6.0)                      
    sessioninfo   1.1.1       2018-11-05 [1] CRAN (R 3.6.0)                      
    shiny         1.4.0.2     2020-03-13 [1] CRAN (R 3.6.2)                      
    stringi       1.4.6       2020-02-17 [1] CRAN (R 3.6.0)                      
    stringr       1.4.0       2019-02-10 [1] CRAN (R 3.6.0)                      
    systemfonts   0.1.1       2019-07-01 [1] CRAN (R 3.6.0)                      
    testthat      2.3.2       2020-03-02 [1] CRAN (R 3.6.0)                      
    tibble        2.1.3       2019-06-06 [1] CRAN (R 3.6.0)                      
    tidyr         1.0.2       2020-01-24 [1] CRAN (R 3.6.0)                      
    tidyselect    1.0.0       2020-01-27 [1] CRAN (R 3.6.0)                      
    tinytest      1.1.0       2019-09-26 [1] CRAN (R 3.6.0)                      
    triebeard     0.3.0       2016-08-04 [1] CRAN (R 3.6.0)                      
    twitteR       1.1.9       2015-07-29 [1] CRAN (R 3.6.0)                      
    urltools      1.7.3       2019-04-14 [1] CRAN (R 3.6.0)                      
    usethis     * 1.5.1.9000  2020-03-16 [1] Github (r-lib/usethis@3e7c8b2)      
    uuid          0.1-4       2020-02-26 [1] CRAN (R 3.6.0)                      
    vctrs         0.2.4       2020-03-10 [1] CRAN (R 3.6.0)                      
    whisker       0.4         2019-08-28 [1] CRAN (R 3.6.0)                      
    withr         2.1.2       2018-03-15 [1] CRAN (R 3.6.0)                      
    xfun          0.12        2020-01-13 [1] CRAN (R 3.6.0)                      
    xml2          1.2.5       2020-03-11 [1] CRAN (R 3.6.0)                      
    xtable        1.8-4       2019-04-21 [1] CRAN (R 3.6.0)                      
    yaml          2.2.1       2020-02-01 [1] CRAN (R 3.6.0)                      

[1] /Library/Frameworks/R.framework/Versions/3.6/Resources/library

 V ── Loaded and on-disk version mismatch.
 P ── Loaded and on-disk path mismatch.
@petrbouchal petrbouchal changed the title printing of dev_sitrep() output breaks if R is out of date (missing paren in code) printing of dev_sitrep() output fails if R is out of date (missing paren in code) Mar 22, 2020
@jimhester
Copy link
Member

Thanks, not sure how that happened

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