ggshadow icon indicating copy to clipboard operation
ggshadow copied to clipboard

geom_glowpath() and *line() broken

Open dominicroye opened this issue 1 year ago • 1 comments

I get an error when using geom_glowpath(). It is the same as in this example from the function help.


> ggplot(economics_long, aes(date, value01, colour = variable)) + geom_glowline()
Error in `geom_glowline()`:
! Problem while converting geom to grob.
ℹ Error occurred in the 1st layer.
Caused by error in `dapply()`:
! objeto 'single_value' no encontrado
Run `rlang::last_trace()` to see where the error occurred.


> sessionInfo()
R version 4.4.3 (2025-02-28 ucrt)
Platform: x86_64-w64-mingw32/x64
Running under: Windows 11 x64 (build 26100)

Matrix products: default


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

time zone: Europe/Madrid
tzcode source: internal

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

other attached packages:
 [1] googledrive_2.1.1  ggforce_0.5.0      ggshadow_0.0.5     lubridate_1.9.4    forcats_1.0.0     
 [6] stringr_1.5.1      dplyr_1.1.4        purrr_1.0.4        readr_2.1.5        tidyr_1.3.1       
[11] tibble_3.2.1       ggplot2_3.5.1.9000 tidyverse_2.0.0    fs_1.6.5           giscoR_0.6.1      
[16] sf_1.0-19          terra_1.8-29       rgee_1.1.7        

loaded via a namespace (and not attached):
 [1] gtable_0.3.6       xfun_0.51          htmlwidgets_1.6.4  processx_3.8.6     gargle_1.5.2      
 [6] lattice_0.22-6     tzdb_0.4.0         vctrs_0.6.5        tools_4.4.3        crosstalk_1.2.1   
[11] ps_1.9.0           generics_0.1.3     curl_6.2.1         proxy_0.4-27       pkgconfig_2.0.3   
[16] Matrix_1.7-2       KernSmooth_2.23-26 leaflet_2.2.2      lifecycle_1.0.4    farver_2.1.2      
[21] compiler_4.4.3     textshaping_1.0.0  munsell_0.5.1      codetools_0.2-20   httpuv_1.6.15     
[26] htmltools_0.5.8.1  class_7.3-23       later_1.4.1        pillar_1.10.1      crayon_1.5.3      
[31] MASS_7.3-64        openssl_2.3.2      rsconnect_1.3.4    classInt_0.4-11    wk_0.9.4          
[36] tidyselect_1.2.1   digest_0.6.37      stringi_1.8.4      labeling_0.4.3     polyclip_1.10-7   
[41] fastmap_1.2.0      grid_4.4.3         colorspace_2.1-1   cli_3.6.4          magrittr_2.0.3    
[46] e1071_1.7-16       withr_3.0.2        promises_1.3.2     rappdirs_0.3.3     scales_1.3.0      
[51] timechange_0.3.0   httr_1.4.7         reticulate_1.41.0  ragg_1.3.3         askpass_1.2.1     
[56] png_0.1-8          hms_1.1.3          evaluate_1.0.3     knitr_1.49         s2_1.1.7          
[61] rlang_1.1.5        Rcpp_1.0.14        glue_1.8.0         DBI_1.2.3          geojsonsf_2.0.3   
[66] tweenr_2.0.3       rstudioapi_0.17.1  jsonlite_1.9.0     R6_2.6.1           systemfonts_1.2.1 
[71] units_0.8-5   

dominicroye avatar Mar 31 '25 14:03 dominicroye

I have changed the ggshadow version from 0.0.5 to 0.0.4 to get the geom_glowpath() to work.

dominicroye avatar Apr 25 '25 13:04 dominicroye