htmlwidgets / sparkline

jQuery Sparkline HTML Widget for R
Other
245 stars 40 forks source link

Invalid comparison operator in dependency: >= #28

Open CerebralMastication opened 5 years ago

CerebralMastication commented 5 years ago

Trying to install sparkline this morning using devtools:

devtools::install_github('htmlwidgets/sparkline')

results in

Downloading GitHub repo htmlwidgets/sparkline@master
Error in FUN(X[[i]], ...) : 
  Invalid comparison operator in dependency: >= 

Below is my sessionInfo:

> sessionInfo()
R version 3.5.1 (2018-07-02)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS  10.14.2

Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/3.5/Resources/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

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

other attached packages:
 [1] usethis_1.4.0     devtools_2.0.1    reprex_0.2.1      bindrcpp_0.2.2    gt_0.1.0          forcats_0.3.0     stringr_1.3.1     dplyr_0.7.8       purrr_0.3.0      
[10] readr_1.3.1       tidyr_0.8.2       tibble_2.0.1      ggplot2_3.1.0     tidyverse_1.2.1   RPostgreSQL_0.6-2 DBI_1.0.0.9000  
timelyportfolio commented 5 years ago

@CerebralMastication thanks for the report. Not sure if https://github.com/htmlwidgets/sparkline/commit/a66e9595790b37b10255aa8bbd45829f3e459244 will fix or not, but based on https://github.com/krlmlr/r-appveyor/issues/122 the trailing whitespace seems to be the culprit.