matt-dray / dray Goto Github PK
View Code? Open in Web Editor NEW:package::poop: R package: miscellaneous functions for personal use
License: MIT License
:package::poop: R package: miscellaneous functions for personal use
License: MIT License
My understanding has changed since this package was created.
@imports
, for example, and perhaps make all imported packages as Suggests
given the wide variety of functions and dependencies that each hasdray
should be for functions only so that I can practice making a data-only package (drayta
, lol?).
Two options as per Code Style section in Hadley's Packages book:
lintr::lint_package()
to see suggestionsformatR::tidy_dir("R")
to do it automaticallyHow opinionated are these?
Probably run when you've cleaned up the rest of the package.
Write tests for current functions.
Read and follow instructions in Hadley's book: http://r-pkgs.had.co.nz/
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
.onAttach <- function(libname, pkgname) {
packageStartupMessage("Welcome to my package")
}
For fun, as per 'when you do need side effects' section of the 'R code' chapter of R Packages by Hadley Wickham.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.