DillonHammill / DataEditR

An Interactive R Package for Viewing, Entering Filtering and Editing Data
https://dillonhammill.github.io/DataEditR/
381 stars 40 forks source link

data_edit function does not work without RStudio IDE #31

Closed rodrigosantana closed 2 years ago

rodrigosantana commented 3 years ago

Hi Dillon Hammil,

I am not a user of RStudio IDE, but I would like to test and use your package. Unfortunately, when I try to use the function data_edit, I receive the error message that RStudio not running.

I try to change the viewer to the browser, but this change did not solve the problem. Looking through the vignette, I did not find that RStudio is a requirement or dependency for the package. Maybe I am doing something wrong. Could you help me with that?

Bellow, I send the Code that I am testing.

library(DataEditR) data(mtcars) data_edit(mtcars, viewer = "browser") sessionInfo() R version 4.1.0 (2021-05-18) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Ubuntu 20.04.3 LTS

Matrix products: default BLAS: /usr/local/lib/R/lib/libRblas.so LAPACK: /usr/local/lib/R/lib/libRlapack.so

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

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

other attached packages: [1] DataEditR_0.1.3 RColetum_0.2.1 ggspatial_1.1.5
[4] rnaturalearthdata_0.1.0 rnaturalearth_0.1.0 paletteer_1.4.0
[7] grImport_0.9-3 XML_3.99-0.6 rgdal_1.5-23
[10] sp_1.4-5 tmaptools_3.1-1 tmap_3.3-2
[13] sf_1.0-2 ggforce_0.3.3 viridis_0.6.1
[16] viridisLite_0.4.0 DataExplorer_0.8.2 janitor_2.1.0
[19] readxl_1.3.1 ggrepel_0.9.1 patchwork_1.1.1
[22] cowplot_1.1.1 forcats_0.5.1 stringr_1.4.0
[25] dplyr_1.0.7 purrr_0.3.4 readr_2.0.0
[28] tidyr_1.1.3 tibble_3.1.3 ggplot2_3.3.5
[31] tidyverse_1.3.1

loaded via a namespace (and not attached): [1] leafem_0.1.6 colorspace_2.0-2 ellipsis_0.3.2
[4] class_7.3-19 leaflet_2.0.4.1 snakecase_0.11.0
[7] base64enc_0.1-3 fs_1.5.0 dichromat_2.0-0
[10] rstudioapi_0.13 proxy_0.4-26 farver_2.1.0
[13] fansi_0.5.0 lubridate_1.7.10 xml2_1.3.2
[16] codetools_0.2-18 extrafont_0.17 knitr_1.33
[19] shinythemes_1.2.0 polyclip_1.10-0 jsonlite_1.7.2
[22] Rttf2pt1_1.3.9 broom_0.7.9 dbplyr_2.1.1
[25] png_0.1-7 shiny_1.6.0 compiler_4.1.0
[28] httr_1.4.2 backports_1.2.1 fastmap_1.1.0
[31] assertthat_0.2.1 cli_3.0.1 later_1.2.0
[34] tweenr_1.0.2 htmltools_0.5.1.1 tools_4.1.0
[37] igraph_1.2.6 gtable_0.3.0 glue_1.4.2
[40] Rcpp_1.0.7 cellranger_1.1.0 raster_3.4-13
[43] vctrs_0.3.8 extrafontdb_1.0 leafsync_0.1.0
[46] crosstalk_1.1.1 lwgeom_0.2-7 xfun_0.24
[49] networkD3_0.4 rvest_1.0.1 mime_0.11
[52] miniUI_0.1.1.1 lifecycle_1.0.0 MASS_7.3-54
[55] scales_1.1.1 shinyBS_0.61 promises_1.2.0.1
[58] hms_1.1.0 parallel_4.1.0 rematch2_2.1.2
[61] RColorBrewer_1.1-2 curl_4.3.2 gridExtra_2.3
[64] stringi_1.7.3 e1071_1.7-8 rlang_0.4.11
[67] pkgconfig_2.0.3 evaluate_0.14 lattice_0.20-44
[70] labeling_0.4.2 htmlwidgets_1.5.3 tidyselect_1.1.1
[73] magrittr_2.0.1 R6_2.5.0 generics_0.1.0
[76] DBI_1.1.1 pillar_1.6.2 haven_2.4.1
[79] withr_2.4.2 units_0.7-2 stars_0.5-3
[82] abind_1.4-5 modelr_0.1.8 crayon_1.4.1
[85] KernSmooth_2.23-20 utf8_1.2.2 rhandsontable_0.3.8 [88] tzdb_0.1.2 rmarkdown_2.9 data.table_1.14.0
[91] reprex_2.0.0 digest_0.6.27 classInt_0.4-3
[94] xtable_1.8-4 httpuv_1.6.1 munsell_0.5.0
[97] shinyjs_2.0.0

DillonHammill commented 3 years ago

@rodrigosantana, thanks for reporting this issue. I have just pushed an update to the devel version of DataEditR (v0.1.4) on GitHub. Please install the new version and try again:

devtools::install_github("DillonHammill/DataEditR")