Giter VIP home page Giter VIP logo

Comments (11)

karthik avatar karthik commented on July 22, 2024

Also

  • Remove dependencies

from plotly.r.

sckott avatar sckott commented on July 22, 2024

what do you mean by remove dependencies?

from plotly.r.

karthik avatar karthik commented on July 22, 2024

what do you mean by remove dependencies?

When I ported the package over there were several packages listed under Depends.
here

from plotly.r.

sckott avatar sckott commented on July 22, 2024

Ah yes

from plotly.r.

msund avatar msund commented on July 22, 2024

Hey @karthik and @sckott, it was great to see you both this weekend.

Adding in @xsaintmleux and @mkcor here (who I think you both met). To follow-up on our talk, we'd love to get Plotly on CRAN and would love your help doing so. What needs to happen and what should be next steps?

Thanks a bunch for your help and including us in the package. We're excited about this one. cc @chriddyp.

from plotly.r.

sckott avatar sckott commented on July 22, 2024

Hey @msund - nice to see you at useR! - I'm finishing up some consulting work this week, but will give some feedback early next week

from plotly.r.

msund avatar msund commented on July 22, 2024

Hey @sckott, we'd love to get started on this if we can. Happy to have a video call too if you'd like, depending on the complexity of the topic. Thanks so much for the help. Sidebar: I am terribly sorry to bug.

from plotly.r.

sckott avatar sckott commented on July 22, 2024

Hey @msund , No worries, happy to help.

To submit to CRAN, i'd suggest using devtools package. With devtools, you can easily:

  • Check: Make sure the pkg passes R CMD CHECK using the function check(). Some warning's are okay (let me know if you have questions), but errors definitely need to be fixed. You should run check() on both current R version (3.1.1) and the development version (you can get from here for mac http://r.research.att.com/)
  • Examples: If the examples in your documentation files are within \dontrun{} you don't need to worry, but if they aren't then you should make sure they work with run_examples() It's good idea to make sure examples work anyway, even if they won't be run during CRAN's check of your package.
  • Tests: check() will run tests as long as you aren't ignoring tests explicitly, but you can check tests separately by doing test_package()
  • Check windows: I imagine you're all on mac or at least linux machines. If so, check that windows version builds with build_win(). This will submit the package to a windows machine that will build and run check, then send email to person listed as maintainer with output (that's Chris)
  • Reverse dependencies: I imagine you don't have to worry about this yet, but if there are any packages on CRAN that import/depend on this package, run revdep_check() is your friend and will download and check that those pkg work with your current version of the package.
  • Send to CRAN: When you're ready, use release(), which will actually run check again, then ask you a number of questions to make sure you've remembered to do everything, then it will compose and open an email in your default browser and upload the pkg via ftp (or I think now does throw the cran web form)

Don't hesitate to ask any questions.

It's easiest if the person listed as the maintainer (Chris) submits the package from his email address (the same one listed in the DESCRIPTION file), but not required. Someone from CRAN core team will reply either saying its up on cran, or you have things to fix.

from plotly.r.

msund avatar msund commented on July 22, 2024

@sckott, you're the best, thanks.

from plotly.r.

TrigonaMinima avatar TrigonaMinima commented on July 22, 2024

Is anyone doing this? I'd like to write the vignettes.

from plotly.r.

cpsievert avatar cpsievert commented on July 22, 2024

@TrigonaMinima we'll be submitting to CRAN this week (see #296). Feel free to start a pull request with additions/edits to vignettes/

from plotly.r.

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.