GithubHelp home page GithubHelp logo

Comments (12)

ibecav avatar ibecav commented on September 27, 2024 1

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.

ibecav avatar ibecav commented on September 27, 2024 1

from ggstatsplot.

ibecav avatar ibecav commented on September 27, 2024

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.

  1. 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.

  2. I'll take a look at the vignettes to see what I can find to make them smaller and more performant.

Chuck

from ggstatsplot.

IndrajeetPatil avatar IndrajeetPatil commented on September 27, 2024

Hi Chuck,

  1. 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 run devtools::check()). This seems to be associated with #' in roxygen2 documentation with trailing white spaces when devtools::document(roclets=c('rd', 'collate', 'namespace')) is used (r-lib/roxygen2#710).
  2. 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.

ibecav avatar ibecav commented on September 27, 2024

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.

IndrajeetPatil avatar IndrajeetPatil commented on September 27, 2024

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.

ibecav avatar ibecav commented on September 27, 2024

from ggstatsplot.

IndrajeetPatil avatar IndrajeetPatil commented on September 27, 2024

@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.

ibecav avatar ibecav commented on September 27, 2024

from ggstatsplot.

IndrajeetPatil avatar IndrajeetPatil commented on September 27, 2024

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.

IndrajeetPatil avatar IndrajeetPatil commented on September 27, 2024

ggstatsplot 0.0.6 is now on CRAN:
https://cran.r-project.org/web/packages/ggstatsplot/index.html

from ggstatsplot.

ibecav avatar ibecav commented on September 27, 2024

from ggstatsplot.

Related Issues (20)

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.