-
Notifications
You must be signed in to change notification settings - Fork 3
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
Help me understand the "releases"? #35
Comments
A package version is included in a release if it was current at the time when that R version was released. As if CRAN was snapshotted at the time of the R release. The only problem is that recent releases are missing, because I essentially gave up on the idea. Without any support from CRAN, it is too error-prone. You can see that 3.1.1 is the last "release". So the reasons for the many packages without any releases are:
The majority is the former, I guess. If you want, I can add 3.1.2, 3.1.3 and 3.2.0, but the packages that were published after 3.2.0 will still have no release. |
Ooohhh. I completely didn't understand this field. So when I look at a page like this: http://cran.r-project.org/src/contrib/Archive/lattice/ or this: https://github.com/cran/lattice/releases and see the release history … that's not systematically exposed in this API? Do you have any suggestions for obtaining that info? Given the above, I can think of various web-scrapy hacks / usage of the GitHub API but wonder if you have any thoughts on the matter. |
See e.g. http://crandb.r-pkg.org/dplyr/all and search for crandb::package("dplyr", version = "all")
#> ...
#> Other versions: 0.4.0, 0.3.0.2, 0.3.0.1, 0.3, 0.2, 0.1.3, 0.1.2, 0.1.1,
#> 0.1 |
Got it. Thanks. I can re-download the metadata we're getting from your API to get all versions (sadly, not our current default). |
You can just get |
OK that worked! And only took several seconds actually. This should keep me busy :). |
For posterity, wanna correct the url? |
Sorry removed that URL, because I don't want robots to hit on it, it is heavy on the site. The Not the best name, I agree..... |
OK got it. Sorry and thanks again. |
if we want all metadata, then get it all at once via the API r-hub/crandb#35 (comment) by default, get metadata for all versions of a package, as opposed to only the latest
I'm looking at the number of releases in the ~6500 packages on CRAN around the end of April. There's a huge number with 0 releases (see attached figure). I don't think this is real or right, yes? For example
dplyr
is one of those packages. Can you help me figure out what I'm looking at? BTW I computed number of releases from the length of thereleases
vector. We are getting this info through the API but below I just usecrandb
.@Ironholds @dgrtwo
The text was updated successfully, but these errors were encountered: