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

\n characters in get_deps() output #84

Closed
wch opened this issue Sep 16, 2019 · 0 comments
Closed

\n characters in get_deps() output #84

wch opened this issue Sep 16, 2019 · 0 comments
Labels
bug an unexpected problem or unintended behavior

Comments

@wch
Copy link
Member

wch commented Sep 16, 2019

It looks like there are some >=\n sequences that get included in the package name, when the >= should be part of the version. This is what I see:

> desc(package="shiny")$get_deps()
       type     package                version
1   Depends           R               >= 3.0.2
2   Depends     methods                      *
3   Imports       utils                      *
4   Imports   grDevices                      *
5   Imports      httpuv          >= 1.5.1.9002
6   Imports        mime                 >= 0.3
7   Imports    jsonlite              >= 0.9.16
8   Imports      xtable                      *
9   Imports      digest                      *
10  Imports   htmltools >=\n        0.3.6.9004
11  Imports          R6                 >= 2.0
12  Imports sourcetools                      *
13  Imports       later               >= 0.7.2
14  Imports    promises               >= 1.0.1
15  Imports       tools                      *
16  Imports      crayon                      *
17  Imports       rlang               >= 0.4.0
18  Imports     fastmap               >= 1.0.0
19 Suggests    datasets                      *
20 Suggests       Cairo               >= 1.5-5
21 Suggests    testthat               >= 2.1.1
22 Suggests       knitr        >=\n        1.6
23 Suggests    markdown                      *
24 Suggests   rmarkdown                      *
25 Suggests     ggplot2                      *
26 Suggests    reactlog               >= 1.0.0
27 Suggests    magrittr                      *

I don't know if it matters, but I'm using a version of Shiny installed with devtools::install_github:

> packageDescription('shiny')
Package: shiny
Type: Package
Title: Web Application Framework for R
Version: 1.3.2.9001
Authors@R: c( person("Winston", "Chang", role = c("aut", "cre"), email =
         "winston@rstudio.com"), person("Joe", "Cheng", role = "aut", email =
         "joe@rstudio.com"), person("JJ", "Allaire", role = "aut", email =
         "jj@rstudio.com"), person("Yihui", "Xie", role = "aut", email =
         "yihui@rstudio.com"), person("Jonathan", "McPherson", role = "aut",
         email = "jonathan@rstudio.com"), person(family = "RStudio", role =
         "cph"), person(family = "jQuery Foundation", role = "cph", comment =
         "jQuery library and jQuery UI library"), person(family = "jQuery
         contributors", role = c("ctb", "cph"), comment = "jQuery library;
         authors listed in inst/www/shared/jquery-AUTHORS.txt"), person(family =
         "jQuery UI contributors", role = c("ctb", "cph"), comment = "jQuery UI
         library; authors listed in inst/www/shared/jqueryui/AUTHORS.txt"),
         person("Mark", "Otto", role = "ctb", comment = "Bootstrap library"),
         person("Jacob", "Thornton", role = "ctb", comment = "Bootstrap
         library"), person(family = "Bootstrap contributors", role = "ctb",
         comment = "Bootstrap library"), person(family = "Twitter, Inc", role =
         "cph", comment = "Bootstrap library"), person("Alexander", "Farkas",
         role = c("ctb", "cph"), comment = "html5shiv library"), person("Scott",
         "Jehl", role = c("ctb", "cph"), comment = "Respond.js library"),
         person("Stefan", "Petre", role = c("ctb", "cph"), comment =
         "Bootstrap-datepicker library"), person("Andrew", "Rowls", role =
         c("ctb", "cph"), comment = "Bootstrap-datepicker library"),
         person("Dave", "Gandy", role = c("ctb", "cph"), comment = "Font-Awesome
         font"), person("Brian", "Reavis", role = c("ctb", "cph"), comment =
         "selectize.js library"), person("Kristopher Michael", "Kowal", role =
         c("ctb", "cph"), comment = "es5-shim library"), person(family =
         "es5-shim contributors", role = c("ctb", "cph"), comment = "es5-shim
         library"), person("Denis", "Ineshin", role = c("ctb", "cph"), comment =
         "ion.rangeSlider library"), person("Sami", "Samhuri", role = c("ctb",
         "cph"), comment = "Javascript strftime library"), person(family =
         "SpryMedia Limited", role = c("ctb", "cph"), comment = "DataTables
         library"), person("John", "Fraser", role = c("ctb", "cph"), comment =
         "showdown.js library"), person("John", "Gruber", role = c("ctb",
         "cph"), comment = "showdown.js library"), person("Ivan", "Sagalaev",
         role = c("ctb", "cph"), comment = "highlight.js library"),
         person(family = "R Core Team", role = c("ctb", "cph"), comment = "tar
         implementation from R") )
Description: Makes it incredibly easy to build interactive web applications with
         R. Automatic "reactive" binding between inputs and outputs and
         extensive prebuilt widgets make it possible to build beautiful,
         responsive, and powerful applications with minimal effort.
License: GPL-3 | file LICENSE
Depends: R (>= 3.0.2), methods
Imports: utils, grDevices, httpuv (>= 1.5.1.9002), mime (>= 0.3), jsonlite (>=
         0.9.16), xtable, digest, htmltools (>= 0.3.6.9004), R6 (>= 2.0),
         sourcetools, later (>= 0.7.2), promises (>= 1.0.1), tools, crayon,
         rlang (>= 0.4.0), fastmap (>= 1.0.0)
Suggests: datasets, Cairo (>= 1.5-5), testthat (>= 2.1.1), knitr (>= 1.6),
         markdown, rmarkdown, ggplot2, reactlog (>= 1.0.0), magrittr
Remotes: rstudio/htmltools, rstudio/httpuv
URL: http://shiny.rstudio.com
BugReports: https://github.com/rstudio/shiny/issues
Collate: 'app.R' 'bookmark-state-local.R' 'stack.R' 'bookmark-state.R' .....
RoxygenNote: 6.1.1
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RemoteType: github
RemoteHost: api.github.com
RemoteRepo: shiny
RemoteUsername: rstudio
RemoteRef: master
RemoteSha: b889b0d2b0a1e9be3133308297d1e25fc2a952eb
GithubRepo: shiny
GithubUsername: rstudio
GithubRef: master
GithubSHA1: b889b0d2b0a1e9be3133308297d1e25fc2a952eb
NeedsCompilation: no
Packaged: 2019-09-11 21:08:57 UTC; winston
Author: Winston Chang [aut, cre], Joe Cheng [aut], JJ Allaire [aut], Yihui Xie
         [aut], Jonathan McPherson [aut], RStudio [cph], jQuery Foundation [cph]
         (jQuery library and jQuery UI library), jQuery contributors [ctb, cph]
         (jQuery library; authors listed in inst/www/shared/jquery-AUTHORS.txt),
         jQuery UI contributors [ctb, cph] (jQuery UI library; authors listed in
         inst/www/shared/jqueryui/AUTHORS.txt), Mark Otto [ctb] (Bootstrap
         library), Jacob Thornton [ctb] (Bootstrap library), Bootstrap
         contributors [ctb] (Bootstrap library), Twitter, Inc [cph] (Bootstrap
         library), Alexander Farkas [ctb, cph] (html5shiv library), Scott Jehl
         [ctb, cph] (Respond.js library), Stefan Petre [ctb, cph]
         (Bootstrap-datepicker library), Andrew Rowls [ctb, cph]
         (Bootstrap-datepicker library), Dave Gandy [ctb, cph] (Font-Awesome
         font), Brian Reavis [ctb, cph] (selectize.js library), Kristopher
         Michael Kowal [ctb, cph] (es5-shim library), es5-shim contributors
         [ctb, cph] (es5-shim library), Denis Ineshin [ctb, cph]
         (ion.rangeSlider library), Sami Samhuri [ctb, cph] (Javascript strftime
         library), SpryMedia Limited [ctb, cph] (DataTables library), John
         Fraser [ctb, cph] (showdown.js library), John Gruber [ctb, cph]
         (showdown.js library), Ivan Sagalaev [ctb, cph] (highlight.js library),
         R Core Team [ctb, cph] (tar implementation from R)
Maintainer: Winston Chang <winston@rstudio.com>
Built: R 3.6.1; ; 2019-09-11 21:09:00 UTC; unix

-- File: /Users/winston/R/3.6/shiny/Meta/package.rds 

When @cpsievert ran the same code, he didn't see this problem.

My session info:

─ Session info ─────────────────────────────────────────────────────────────────────────
 setting  value                       
 version  R version 3.6.1 (2019-07-05)
 os       macOS Mojave 10.14.6        
 system   x86_64, darwin15.6.0        
 ui       RStudio                     
 language (EN)                        
 collate  en_US.UTF-8                 
 ctype    en_US.UTF-8                 
 tz       America/Chicago             
 date     2019-09-16                  

─ Packages ─────────────────────────────────────────────────────────────────────────────
 package     * version date       lib source           
 assertthat    0.2.1   2019-03-21 [1] CRAN (R 3.6.0)   
 backports     1.1.4   2019-04-10 [1] CRAN (R 3.6.0)   
 cli           1.1.0   2019-03-19 [1] CRAN (R 3.6.0)   
 crayon        1.3.4   2017-09-16 [1] CRAN (R 3.6.0)   
 desc        * 1.2.0   2018-05-01 [1] CRAN (R 3.6.0)   
 packrat       0.5.0   2018-11-14 [1] standard (@0.5.0)
 R6            2.4.0   2019-02-14 [1] CRAN (R 3.6.0)   
 rprojroot     1.3-2   2018-01-03 [1] CRAN (R 3.6.0)   
 rstudioapi    0.10    2019-03-19 [1] standard (@0.10) 
 sessioninfo   1.1.1   2018-11-05 [1] CRAN (R 3.6.0)   
 withr         2.1.2   2018-03-15 [1] CRAN (R 3.6.0)   
@gaborcsardi gaborcsardi added the bug an unexpected problem or unintended behavior label Mar 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants