Giter Site home page Giter Site logo

crosstableassistant's Introduction

crosstable

CRAN status Lifecycle: maturing

Crosstable is a package centered on a single function, crosstable, which easily computes descriptive statistics on datasets. You can learn about it on its dedicated page.

CrosstableAssistant is an RShiny application, designed as an RStudio addin, which makes the use of crosstable much easier by providing a graphical interface for all its parameters.

Installation

install.packages("devtools")
devtools::install_github("DanChaltiel/crosstable")
devtools::install_github("DanChaltiel/crosstableAssistant")

Of note, it seems that updating packages cause the whole process to fail. In this case, choosing 3: None when asked for which package to update seems to solve this problem. Otherwise, please fill an issue describing the error message.

Usage

library(crosstable)

my_dataset = crosstable::mtcars2
crosstableAssistant(my_dataset)

Alternatively, if you are using RStudio, you can use the “Crosstable Assistant” addin. Just select your dataset in the “source” panel and it will be loaded inside the assistant.

Acknowledgement

This crosstableAssistant package is highly inspired by dreamRs’ amazing addin esquisse (link), which is designed to easily build plots with ggplot2. If you never did, you should definitely give it a try.

Thanks dreamRs!

crosstableassistant's People

Contributors

danchaltiel avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

crosstableassistant's Issues

"had non-zero exit status" Problem

When I am trying to install the package by devtools::install_github("DanChaltiel/crosstableAssistant").

Of note, it seems that updating packages cause the whole process to fail. In this case, choosing 3: None

I chose No.3, but it still had a problem.

> devtools::install_github("DanChaltiel/crosstableAssistant")
WARNING: Rtools is required to build R packages, but is not currently installed.

Please download and install Rtools custom from http://cran.r-project.org/bin/windows/Rtools/.
Downloading GitHub repo DanChaltiel/crosstableAssistant@master
These packages have more recent versions available.
It is recommended to update all of them.
Which would you like to update?

 1: All                                     
 2: CRAN packages only                      
 3: None                                    
 4: rstudioapi   (0.11    -> 0.13   ) [CRAN]
 5: shinyWidgets (0.5.3   -> 0.5.4  ) [CRAN]
 6: esquisse     (0.3.0   -> 0.3.1  ) [CRAN]
 7: dplyr        (1.0.0   -> 1.0.2  ) [CRAN]
 8: glue         (1.4.0   -> 1.4.2  ) [CRAN]
 9: Rcpp         (1.0.4.6 -> 1.0.5  ) [CRAN]
10: R6           (2.4.1   -> 2.5.0  ) [CRAN]



Enter one or more numbers, or an empty line to skip updates:
3
WARNING: Rtools is required to build R packages, but is not currently installed.

Please download and install Rtools custom from http://cran.r-project.org/bin/windows/Rtools/.
√  checking for file 'C:\Users\HW\AppData\Local\Temp\Rtmpe8F9Yp\remotes860631340f2\DanChaltiel-crosstableAssistant-72b8c76/DESCRIPTION' ...
-  preparing 'crosstableAssistant':
√  checking DESCRIPTION meta-information ... 
-  checking for LF line-endings in source and make files and shell scripts
-  checking for empty or unneeded directories
-  building 'crosstableAssistant_0.1.1.tar.gz'
   
* installing *source* package 'crosstableAssistant' ...
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : 
  there is no package called 'expss'
Calls: <Anonymous> ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
ERROR: lazy loading failed for package 'crosstableAssistant'
* removing 'D:/Program Files/R/R-3.6.3/library/crosstableAssistant'
error: Failed to install 'crosstableAssistant' from GitHub:
installation of package ‘C:/Users/HW/AppData/Local/Temp/Rtmpe8F9Yp/file86017e523c4/crosstableAssistant_0.1.1.tar.gz’ 
had non-zero exit status

I tried to download the code to local folder and install the package from it,still has the "had non-zero exit status" problem.

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.