Git Product home page Git Product logo

dray's Issues

Revisit and spruce up

My understanding has changed since this package was created.

  • Add new functions that were created in blogposts/gists, but aren't part of a package already
  • Tidy up .R file structure (i.e. not one function per file)
  • Revisit package structure in terms of @imports, for example, and perhaps make all imported packages as Suggests given the wide variety of functions and dependencies that each has
  • Remove the data files, which should be in {draytasets} (check if this might impact certain blogs that point to this package for their data)
  • Update README/DESCRIPTION to reflect this package as being more of a curation/posterity effort

De-lint the package

Two options as per Code Style section in Hadley's Packages book:

  • lintr::lint_package() to see suggestions
  • formatR::tidy_dir("R") to do it automatically

How opinionated are these?

Probably run when you've cleaned up the rest of the package.

Fix wordcloud plotting error in `cloud_pie()`

Post: https://www.rostrum.blog/2018/05/25/cloud-pie/

Problem: there's a plotting error with the relative size of more common words.

Warning messages:
1: In wordcloud(words = data[[name_col]], freq = data[[count_col]],  :
  charizard could not be fit on page. It will not be plotted.
2: In wordcloud(words = data[[name_col]], freq = data[[count_col]],  :
  snorlax could not be fit on page. It will not be plotted.

Solution: try with a smaller scale, as in https://stackoverflow.com/questions/27981651/text-wordcloud-plotting-error

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.