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

Example code does not work #69

Open
carbonmetrics opened this issue Aug 20, 2021 · 0 comments
Open

Example code does not work #69

carbonmetrics opened this issue Aug 20, 2021 · 0 comments

Comments

@carbonmetrics
Copy link

I am trying the example code after installing manipulateWidget from GitHub.

This code fails because the example dataset is not found, where can I find it?

library(manipulateWidget)
library(dplyr)
library(ggplot2)
library(plotly)

data("worldEnergyUse")

> data("worldEnergyUse")
Warning message:
In data("worldEnergyUse") : data set ‘worldEnergyUse’ not found
> worldEnergyUse
Error: object 'worldEnergyUse' not found

session info:

R version 4.1.1 (2021-08-10)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 20.04.2 LTS

Matrix products: default
BLAS:   /usr/lib/x86_64-linux-gnu/atlas/libblas.so.3.10.3
LAPACK: /usr/lib/x86_64-linux-gnu/atlas/liblapack.so.3.10.3

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C               LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8     LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8   
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                  LC_ADDRESS=C               LC_TELEPHONE=C             LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       

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

other attached packages:
[1] plotly_4.9.4.1         ggplot2_3.3.5          dplyr_1.0.7            manipulateWidget_0.8.1

loaded via a namespace (and not attached):
 [1] Rcpp_1.0.7        compiler_4.1.1    pillar_1.6.1      later_1.3.0       tools_4.1.1       digest_0.6.27     viridisLite_0.4.0 jsonlite_1.7.2    gtable_0.3.0     
[10] evaluate_0.14     lifecycle_1.0.0   tibble_3.1.2      pkgconfig_2.0.3   rlang_0.4.11      shiny_1.6.0       yaml_2.2.1        xfun_0.25         fastmap_1.1.0    
[19] httr_1.4.2        withr_2.4.2       knitr_1.33        generics_0.1.0    htmlwidgets_1.5.3 vctrs_0.3.8       grid_4.1.1        tidyselect_1.1.1  data.table_1.14.0
[28] glue_1.4.2        R6_2.5.1          fansi_0.5.0       rmarkdown_2.9     pacman_0.5.1      tidyr_1.1.3       purrr_0.3.4       magrittr_2.0.1    scales_1.1.1     
[37] promises_1.2.0.1  ellipsis_0.3.2    htmltools_0.5.1.1 colorspace_2.0-2  mime_0.11         xtable_1.8-4      httpuv_1.6.2      utf8_1.2.1        miniUI_0.1.1.1   
[46] lazyeval_0.2.2    munsell_0.5.0     crayon_1.4.1 
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

1 participant