Giter Site home page Giter Site logo

prefixer's People

Contributors

kpagacz avatar pvictor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

prefixer's Issues

Add to daattali/addinslist

Just found this addin thanks to @batpigandme on Twitter, super cool!

Would you consider adding it to the addinslist for easier discovery and installation? I'd be happy to submit the PR on your behalf if you'd like.

Clarification on LICENSE

I'd like to try to use this functionality from code.
However, I'm not sure what open source license I can use for this.
Currently the license file is very non-standard. If possible, could you possibly pick a license from https://opensource.org/licenses/ or clarify that this is closed source?
Thanks
Stuart

Suggestion: expand the capability to include `.data$` in tidyverse pipes

Currently doing a build check produces lots of no visible binding for global variable [x]. Many of these are bare, unquoted column names in tidyverse pipe chains (see https://www.r-bloggers.com/2019/08/no-visible-binding-for-global-variable/), for instance:

mtcars %>%
mutate(cyl = cyl *2)

This will produce a build check warning of no visible binding for global variable 'cyl'.

The solution to avoid this is:

mtcars %>%
mutate(.data$cyl = .data$cyl *2)

I realize this is a bit more difficult ot determine where to put .data$, but it would be a nice feature.

Replace `tidyverse::` with package name

There was a recent post which warned people not to use the tidyverse package in package development, and I thought this might be a good opportunity to use a package to change tidyverse prefixes to the more limited package prefix. So the user could write:

mtcars %>%
    tidyverse::mutate(n = n()) %>%
    tidyverse::gather(...)

And get after running the script their code would change to:

mtcars %>%
    dplyr::mutate(n = n()) %>%
    tidyr::gather(...)

Anyway I just found out about this awesome package and thought this idea would fit well here, does it seem like a useful idea?

Disapprearred from addin menu when packages loaded

Prefixer options show up in addin menu if I start up a fresh R and only have base packages. Options disappeared once I loaded all my packages. However, If I set up the keyboard shortcuts, I can still call prefixer functions from the keyboard. Not sure if there is any conflict.

R version 4.0.0 (2020-04-24)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 18.04.3 LTS

Matrix products: default
BLAS:   /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.7.1
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.7.1

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    LC_PAPER=en_US.UTF-8      
 [8] LC_NAME=C                  LC_ADDRESS=C               LC_TELEPHONE=C             LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       

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

other attached packages:
 [1] rsvg_1.3                    DOT_0.1                     Rtsne_0.15                  pheatmap_1.0.12             RColorBrewer_1.1-2          glmpca_0.1.0                ape_5.3                    
 [8] edgeR_3.30.0                limma_3.44.1                DESeq2_1.28.0               SummarizedExperiment_1.18.0 DelayedArray_0.14.0         matrixStats_0.56.0          Biobase_2.48.0             
[15] GenomicRanges_1.40.0        GenomeInfoDb_1.24.0         IRanges_2.22.1              S4Vectors_0.26.0            BiocGenerics_0.34.0         vroom_1.2.0                 dplyr_0.8.5                
[22] glue_1.4.0                  assertthat_0.2.1            stringr_1.4.0               shinyjqui_0.3.3             shinytoastr_2.1.1           shinyAce_0.4.1              plotly_4.9.2.1             
[29] ggplot2_3.3.0               networkD3_0.4               shinyTree_0.2.7             shinyWidgets_0.5.1          shinyjs_1.1                 magrittr_1.5                rhandsontable_0.3.7        
[36] pushbar_0.1.0               shinydashboardPlus_0.7.0    shinydashboard_0.7.1        shiny_1.4.0.9002           

loaded via a namespace (and not attached):
 [1] nlme_3.1-147           bitops_1.0-6           bit64_0.9-7            httr_1.4.1             tools_4.0.0            R6_2.4.1               DBI_1.1.0              lazyeval_0.2.2         colorspace_1.4-1      
[10] withr_2.2.0            tidyselect_1.0.0       curl_4.3               bit_1.1-15.2           compiler_4.0.0         scales_1.1.0           genefilter_1.70.0      digest_0.6.25          XVector_0.28.0        
[19] pkgconfig_2.0.3        htmltools_0.4.0.9003   prefixer_0.1.2.900     fastmap_1.0.1          htmlwidgets_1.5.1      rlang_0.4.5            rstudioapi_0.11        RSQLite_2.2.0          jsonlite_1.6.1        
[28] BiocParallel_1.22.0    RCurl_1.98-1.2         GenomeInfoDbData_1.2.3 Matrix_1.2-18          Rcpp_1.0.4.6           munsell_0.5.0          lifecycle_0.2.0        yaml_2.2.1             stringi_1.4.6         
[37] zlibbioc_1.34.0        grid_4.0.0             blob_1.2.1             promises_1.1.0         crayon_1.3.4           miniUI_0.1.1.1         lattice_0.20-41        splines_4.0.0          annotate_1.66.0       
[46] locfit_1.5-9.4         pillar_1.4.3           igraph_1.2.5           markdown_1.1           geneplotter_1.66.0     XML_3.99-0.3           packrat_0.5.0          V8_3.0.2               data.table_1.12.8     
[55] renv_0.9.3             vctrs_0.2.4            httpuv_1.5.2           gtable_0.3.0           purrr_0.3.4            tidyr_1.0.2            xfun_0.13              mime_0.9               xtable_1.8-4          
[64] later_1.0.0            rsconnect_0.8.16       survival_3.1-12        viridisLite_0.3.0      tibble_3.0.1           AnnotationDbi_1.50.0   memoise_1.1.0          ellipsis_0.3.0        

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.