-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve DESCRIPTION #47
Conversation
@dmpe - Thanks! @geneorama - can you look at the |
#42 to get rid of:
|
@@ -72,7 +72,7 @@ If you would like to contribute to this project, please see the [contributing do | |||
1.4 Add json file format for Socrata downloads. Switch to RJSONIO rom rjson. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should correct this too. We went from RJSONIO
to rjson
COMMENT ORIGINALLY POSTED IN #42 (sorry for the confusion) Tom, thanks for bringing this to my attention. Using
Originally I didn't use Also the use of
Conceptually I like having dependencies that rely on the oldest packages possible, to avoid forcing someone to update for no reason. However, it's probably a good idea to update our versions, since this isn't something that I've been paying attention to (and I'm guessing nobody else has either). I wonder, does CRAN use the oldest package version possible when doing the checks? |
Yeeh. In R I would say that packages most of the times either fix, add or deprecate functionalities, instead of deleting them. So users can be actually very sure that functions can/will be deprecated but almost never deleted (unless functions are totally useless or bad/wrong).
When running locally, maybe (--as-cran). When it is on CRAN, it is the newest ones, e.g.
Correct. But both in the dev & master branch the statement
is not in the code. It is only in the namespace (which is kind of useless when you don't do statement above in the code directly). Thus:
are solved when writing To summarize, (and to paraphrase Scott) (i had previously commited only
Agree
Out of the interest, why ? #43 says it would be nice to use geojson. Well in that case https://github.com/ropensci/geojsonio will be required, with much bigger dependencies on
Not sure if I understand it correctly, but |
@dmpe I'm going to reply by topic, I think quoting again would be too complicated Package version update: I think we're agreed, thanks for the suggestion to update. And it's surprising that CRAN would test using the most recent package version, that doesn't seem like them at all. Namespace / importFrom / import: I've manually created the NAMESPACE and DESCRIPTION files by manually searching for dependencies in the code. Currently, I have no problems, testing / building / installing (although I think we've been missing a step in generating documentation). Whereas I think you're creating NAMESPACE (and maybe DESCRIPTION) using Although it seems like the functionality is a good idea here, I would like to have a better understanding of what it means to enable Limiting dependencies I just meant that I don't want to have them if they're not needed. I especially want to avoid overlapping packages; e.g. it would be sloppy to continue to import Complicating readability Names (new item) Thanks, Gene |
BTW, I want to add that I think that including |
@@ -13,6 +13,7 @@ RnwWeave: Sweave | |||
LaTeX: pdfLaTeX | |||
|
|||
BuildType: Package | |||
PackageUseDevtools: Yes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to invs.
Namespace / importFrom / import:
PackageUseDevtools: in the R Studio options. Names
(source is the same as above) (Sorry for confusion with "cre", "ctb" etc. This has been now improved.) I also wonder, if you should be included too? Import Namespaces ::
But the point is that there should not be a library call
But ok. On this point I think we can agree to disagree 😋 @tomschenkjr See here: Thus I will delete maintainer field, too Build with an error because Good idea when merging would be to make all those commit into one commit. |
update description to delete maintainer merge all necessary commits
…er user UX) and delete it from rbuild.
mime (>= 0.2), | ||
Version: 1.6.2 | ||
Date: 2015-7-15 | ||
Authors@R: c( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We'll actually change this back to the old Author
before pushing to CRAN. The CRAN guys are really picky that my email address in Authors@R
match that of the Maintainer
's email address. However, I like to separate the emails for general contact information from contacting me for package maintenance (CRAN will send e-mail blasts and I also use the email address in other projects I maintain). I prefer the Authors@R
, but was getting cross with the CRAN submission process so used the old style.
Thank you for the work on this. Very useful contributions. We're going to merge this into the dev branch and finalize before uploading to CRAN. We're going to make one change in the DESCRIPTION file and I'll double check the remaining issue in #48. |
before_install: | ||
- curl -OL http://raw.github.com/craigcitro/r-travis/master/scripts/travis-tool.sh | ||
- chmod 755 ./travis-tool.sh | ||
- ./travis-tool.sh bootstrap |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is some clever stuff, even if it's no longer necessary
@dmpe Thank you very much for your thoughtful, and very solid contributions. This is a big technical improvement. The branch is merged into dev, the tests look good, I'll let @tomschenkjr merge into master (I think he still has other minor changes with the email address, etc.). |
@geneorama @tomschenkjr Great to hear that you liked that. 😃 |
Hi @tomschenkjr,
This is a second PR I have done. Basically, it cleans up the :: stuff. For reasons see here ropensci/software-review#17 (comment) (section Imports)
Additionally I have bumped up the version of the packages which are being used. If the user had httr version of 0.3, there would be no guarantee that it would work, because Hadley has changed a lot since then.
I hope you are ok with the fact that I have created issues for both of them. If needed feel free to do so.
PS: The two PR do not include themselves #46, so both need to be merged separately.