Giter VIP home page Giter VIP logo

Comments (4)

sckott avatar sckott commented on June 18, 2024 1
  • one rule about CRAN maintainers is they are not consistent, so they may or may not complain about certain things
  • run your pkg against rhub with https://github.com/r-hub/rhub and against cran's windows testers with devtools::check_win_devel() and devtools::check_win_release() - which should bring up anything you may need to change

took a quick look, and i see a few things:

  • Title in DESCRIPTION file: this should be each word capitalized.
  • Description in DESCRIPTION file: they'll probaably want postcodes.io as <https://postcodes.io> or whatever the full url is
  • examples: think about your examples that make http requests, if they fail when running on CRAN, they'll treat it as a bug and make you resubmit
  • tests: any tests that make http requests, for CRAN you may want to change the setup. some options are: 1) just run tests as normal, but if they ever fail, CRAN will make you fix and resubmit, 2) testthat::skip_on_cran so that tests run locally and on CI's, but not on CRAN, 3) mock tests, could use https://cran.r-project.org/web/packages/webmockr/ or https://cran.r-project.org/web/packages/vcr/

from postcodesior.

erzk avatar erzk commented on June 18, 2024 1

Thanks for the suggestions. I've just submitted to CRAN.

from postcodesior.

erzk avatar erzk commented on June 18, 2024 1

PostcodesioR is now on CRAN.

from postcodesior.

erzk avatar erzk commented on June 18, 2024

That's definitely the plan. I'm quite busy these days so it might need to wait.
It would be helpful to know what needs improving in order to have the package accepted to CRAN.

from postcodesior.

Related Issues (12)

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.