Comments (12)
A quick update. I've managed to cut the file size in about half so far and hopefully also make things clearer but won't be able to finish until tomorrow.
from ggstatsplot.
from ggstatsplot.
If you don't mind, I'll take on the two following tasks and submit a PR (one at a time) in the order stated.
-
Cleanup all the warning messages generated in a full CRAN build, e.g. "Warning: @description [/Users/cpowell/Documents/RProjects/ggstatsplot/R/helpers_ggbetween_subtitles.R#1]: requires a value" which are simply about blank comment lines in some places.
-
I'll take a look at the vignettes to see what I can find to make them smaller and more performant.
Chuck
from ggstatsplot.
Hi Chuck,
- Sure, you can have a look at this. But this is not really a problem because
R CMD CHECK
doesn't have any problems with these (you'll see that if you rundevtools::check()
). This seems to be associated with#'
inroxygen2
documentation with trailing white spaces whendevtools::document(roclets=c('rd', 'collate', 'namespace'))
is used (r-lib/roxygen2#710). - Yes, but I think it will not be prudent to downsize vignettes without adding more tests in
testthat
. That's why I haven't really made it a priority for the next release (0.0.6
).CRAN
is a bit more lenient with the size of the package (> 5MB) if you can justify it. But, yes, as a long-term goal, I do want to reduce their size. Do you also want to have a look at the tests and see if you can add more tests?
from ggstatsplot.
I submitted #1 as a PR. I want to look at the vignettes for several reasons. No expertise on testthat but I'll see what I cam learn.
from ggstatsplot.
Hi Chuck,
I have added you as a contributor to the package. Also, I will be pushing the new version (0.0.6
) of the package to CRAN
on the 26th. There is a lot of new functionality I had added since 0.0.5
that I no longer want to postpone from pushing to CRAN
.
So if you wanted to add something new, you can create a PR, but depending on when the package makes it to CRAN, it will either be part of the next release (0.0.6
) or next to next (0.0.7
).
from ggstatsplot.
from ggstatsplot.
@ibecav Unfortunately, the package was rejected by CRAN
because the size is larger than 5 MB and the vignette build-up time is ~ 10 minutes (and they need it to be around 5 minutes).
So I think is something that needs to be resolved before next submission.
Do you mind having a look at the vignette for ggpiestats
? I think it can use some fine-tuning.
I will be removing plot_design
vignette, which wasn't really supposed to be included anyway. I plan to publish it somewhere else (like a blog post).
from ggstatsplot.
from ggstatsplot.
In addition to the vignette changes you have made, I've also tidied up the README
file a bit and also reduced dpi
for all vignettes to 200
, which should reduce the size of figures to some degree. The vignette build time has now been reduced (~ 5 min). But the size the package is slightly above limit (6.3 MB). I think CRAN
will accept it, but we should still attempt to reduce a bit further.
I was thinking of re-submitting the package on the 30th.
If you get time, do you also mind having a look at ggbetweenstats
(or purrr_examples
) vignette? They are the largest and most time-consuming vignettes right now.
from ggstatsplot.
ggstatsplot 0.0.6
is now on CRAN
:
https://cran.r-project.org/web/packages/ggstatsplot/index.html
from ggstatsplot.
from ggstatsplot.
Related Issues (20)
- Automatic color change to violin and box plot (from black -> orange) HOT 1
- How to export data from grouped extract_stats efficiently? HOT 3
- Second Confidence Interval Always 1.00 For K-W? HOT 5
- Option for Pairwise Effect Sizes in Caption HOT 1
- ggbetweenstats Hedge's g change it to Cohen's d HOT 1
- Update outdated docs
- Add details to `ggdotplotstats()` regading the statistic of interest
- Decimals won't work HOT 12
- Issue: manually chosen colors do not work for ggbetweenstats HOT 1
- Highlight some points in violin plots HOT 1
- Minor refactoring of `ggbarstats()` HOT 1
- Don't drop empty groups HOT 1
- Question: are numerical results available in the plot object? HOT 6
- ggscatterstats - requires 'scales_add_defaults()' function that is missing? HOT 2
- grouped_ggbetweenstats Statistic Choice May Vary Between Groups HOT 1
- configure: error: Header file mpfr.h not found
- The marginal.type parameter does not seem to work HOT 1
- ggcoefstats() Warning messages: 1: Argument `effectsize_type` is deprecated. Use `es_type` instead HOT 1
- Inconsistence in W test statistic HOT 2
- Usage of deprecated `ggplot2::discrete_scale()` argument `scale_name` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ggstatsplot.