Giter Site home page Giter Site logo

bradlindblad / cheatsheet Goto Github PK

View Code? Open in Web Editor NEW
11.0 11.0 5.0 8.56 MB

A simple package to grab cheat sheets and save them to your local computer

Home Page: https://bradlindblad.github.io/cheatsheet/

License: Other

R 100.00%
cheatsheets data datascience r

cheatsheet's Introduction

Brad Lindblad, MBA

Cloud

Languages

Other languages and tools

Connect with me

What I do

Blog posts

My stats

cheatsheet's People

Contributors

bradlindblad avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

cheatsheet's Issues

Release cheatsheet 0.1.1

Prepare for release:

  • git pull
  • Check current CRAN check results
  • Polish NEWS
  • devtools::build_readme()
  • urlchecker::url_check()
  • devtools::check(remote = TRUE, manual = TRUE)
  • devtools::check_win_devel()
  • rhub::check_for_cran()
  • revdepcheck::cloud_check()
  • Update cran-comments.md
  • git push

Submit to CRAN:

  • usethis::use_version('patch')
  • devtools::submit_cran()
  • Approve email

Wait for CRAN...

  • Accepted ๐ŸŽ‰
  • git push
  • usethis::use_github_release()
  • usethis::use_dev_version()
  • git push

Generate a Data Frame with Cheat Sheet Metadata

It would be nice if a function were created in the cheatsheet R package that captured metadata from the cheat sheet pdf files. The output would be either in the form of a tibble or a data frame. Information such as the package name, a summary description, the number of cheat sheet pages, and the version number and date, if applicable, that the cheat sheet was released.

This kind of metadata object would facilitate the determination needed to identify whether or not a package cheat sheet would need to be updated. Currently, there is no easy way to approach this task without manually opening a file to view the information.

Release cheatsheet 0.1.0

Prepare for release:

  • Check that description is informative
  • Check licensing of included files
  • devtools::build_readme()
  • usethis::use_cran_comments()
  • devtools::check(remote = TRUE, manual = TRUE)
  • devtools::check_win_devel()
  • rhub::check_for_cran()
  • Update cran-comments.md
  • Review pkgdown reference index for, e.g., missing topics
  • Draft blog post

Submit to CRAN:

  • usethis::use_version('minor')
  • devtools::submit_cran()
  • Approve email

Wait for CRAN...

  • Accepted ๐ŸŽ‰
  • usethis::use_news_md()
  • usethis::use_github_release()
  • usethis::use_dev_version()
  • Update install instructions in README
  • Finish blog post
  • Post linkedin
  • Add to favorites on github profile page
  • Add link to blog post in pkgdown news menu

Naming Convention Recommendation for R cheatsheets

A review was conducted of all (73) of the files generated by applying the following code:

get_all_cheatsheets(local_path = "cheats", tidyverse_only = FALSE)

It was discovered that there are inconsistencies in the file-naming convention for these R cheat sheets. It would be nice if these file names were standardized largely based on the R package name principally represented by the cheat sheet.

In addition, there are two duplicate files that refer to the same R cheat sheet. These duplicate files should be removed. The duplicates are provided as follows:

  • data-visualization.pdf and data-visualization-2.1.pdf
  • rmarkdown.pdf and rmarkdown-2.0.pdf

File-naming conventions for these R cheat sheets are recommended as follows:

  • Change base-r.pdf to base_Cheatsheet.pdf
  • Change datatable.pdf to data.table._Cheatsheet.pdf
  • Change time-series.pdf to timeSeries._Cheatsheet.pdf
  • Change strings.pdf to stringr._Cheatsheet.pdf
  • Change data-transformation.pdf to dplyr._Cheatsheet.pdf
  • Change factors.pdf to forcats_Cheatsheet.pdf
  • Change data-visualization.pdf to ggplot2_Cheatsheet.pdf
  • Change data-import.pdf to tidyverse_Cheatsheet.pdf
  • Change tidyeval.pdf to rlang_Cheatsheet.pdf
  • Change parallel_computation.pdf to parallel_Cheatsheet.pdf

In addition, it is recommended that the suffix "_Cheatsheet.pdf" be added to the filename of each file in the cheatsheet category.

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.