Comments (4)
- 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()
anddevtools::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.
Thanks for the suggestions. I've just submitted to CRAN.
from postcodesior.
PostcodesioR is now on CRAN.
from postcodesior.
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)
- package is empty HOT 3
- codecov.io push suggestion/issue HOT 1
- postcode_lookup failing unexpectedly HOT 3
- Error with CB1 postcodes HOT 2
- Radius parameter not working in nearest_postcode HOT 1
- postcode_validation returns Bad Request error rather than FALSE HOT 10
- Help vignette for bulk_postcode_lookup is inaccurate HOT 2
- bulk_postcode_lookup vignette returns 400 error HOT 3
- Missing postcode HOT 4
- Only centroids available as opendata? HOT 1
- Is there a 100 bulk limit? HOT 3
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 postcodesior.