Skip to content

Releases: lindbrook/packageRank

packageRank v0.4.2

04 May 15:15
Compare
Choose a tag to compare

Fixes

  • fix plot.cranDownloads(package.version = TRUE) for multiple packages.
  • fix multiple version in sizeFilter() with packageHistory().
  • fix and enable sizeFilter().

Function Changes

  • add/set filteredDownloads(multi.core = TRUE).
  • amend warning message with timeMsg() in logDate().

packageRank v0.4.1

06 Apr 14:56
Compare
Choose a tag to compare

Function Changes

  • logDate(): check download log URL before computing available_log() for
    logs available before 17:00 UTC.
  • change facet_wrap(~ package, ncol = 2) to facet_wrap(~ package, nrow = 2).
  • use logDate() in logPostInfo().
  • enable log.count argument for plot.cranDownloads(r.total = TRUE and FALSE).
  • enable multi.plot argument for rPlot(graphics = "ggplot2").
  • add geom_smooth(span = 3/4).

Fixes

  • sizeFilter() and cranPackageSize(): fix multiple versions with package
    updates.

New Research Functions

  • annualDownloads() and weeklyDownloads().

packageRank v0.4.0

02 Mar 16:17
Compare
Choose a tag to compare

New Features and Functionality

  • filters shortcut via all.filters = TRUE argument.
  • temporarily set options(timeout = 300L) for fetchCranLog() for R 4.0.3.
  • time zone support via logDate().

Data Changes

  • add pkg.history.
  • add arch.pkgs.jul, arch.pkgs.oct, cran.pkgs.jul and cran.pkgs.oct samples.
  • add october.downloads and july.downloads.
  • add top.n.jul2020.
  • rename blog.data$top.n to blog.data$top.n.oct2019.
  • use serialization format = 3 for blog.data object.

Fixes

  • amend majority rule syntax in timeFix().
  • fix Mac directory changes in packageMRAN().
  • fix typo in plot.countryDistribution().
  • fix resolveDate() by first as.character() all dates.
  • fix scrapeData() using strsplit(fixed = TRUE).
  • pass 'f' argument, lowess() smoother span value, to rPlot().

Function Changes

  • add add.legend argument to plot.cranFilterCounts().
  • add cumsum to cranDownloads() for cumulative counts and growth curves.
  • add dataset argument to plotTopCountryCodes().
  • add packageLog(clean.out = FALSE).
  • add population.seed argument to populationPlot().
  • add second.place argument to plotTopCountryCodes().
  • add subtitle argument to inflationPlot2().
  • add wed (Wednesday) argument to inflationPlot2().
  • change default orientation of ggplot2 facets in plot.cranDownalods().
  • note packageArchive() fix for 'testthat' filename typo/duplicate.
  • set geom_point(size = 1.5) for single day, multiple package plot in
    singlePlot()
  • use alpha transparency in plot.packageRank() labels.
  • use "crandb_file_date" instead of "Date/Publication" in packageHistory().
  • use sugrrants::facet_calendar() with packageVersionPercent(),
    plotTopCountryCodes(), and plotDownloadsCountry

New Functions

  • countryDistribution()
  • cranMirrors()
  • cranPackages()
  • cranPackageSize()
  • downloadsCountry()
  • filteredDownloads()
  • ipCount()
  • ipDownloads()
  • ipPackage()
  • packageMRAN()
  • topCountryCodes()

New Filter Functions

  • ipFilter()
  • sequenceFilter()
  • sizeFilter()
  • smallFilter()
  • tripletFilter()

New Helper Functions

  • checkPackage()
  • cleanLog()
  • dateTime()
  • packageSample()
  • validatePackage()

New Time/Time Zone Functions

  • currentTime()
  • utc()
  • utc0()
  • localTime()
  • logDate()
  • logPostInfo()

New/Amended Blog specific Functions

  • countsRanks()
  • cranPlot()
  • inflationPlot2()
  • monthlyLog()
  • packageVersionPercent()
  • versionsPlot()

packageRank v0.3.5

08 May 16:56
Compare
Choose a tag to compare

Blog specific functions

  • countsRanks()
  • inflationPlot()

Data Changes

  • add blog.data

Fixes

  • fixDate_2012() for packageLog()
    Correct mislabeled filenames for 2012 logs RStudio's CRAN download logs at
    http://cran-logs.rstudio.com/.

  • fix "geom_smooth() using formula 'y ~ x'" warning for 'ggplot2' v3.3.0.

Function Change

  • enable arbitrary "to" argument without "from" in cranDownloads()
    e.g., cranDownloads(from = NULL, to = "2020-01-01").
  • add/amend plot.cranDownloads(package.version = FALSE, r.version = FALSE).
  • set plot.cranDownloads(points = "auto") for <= 45 days.
  • "spell check" package names via "check.package" argument
    cranDownload(), packageDistribution(), packageRank()
  • deprecate packageRankTime() -> plot.cranDownloads(population.plot = TRUE)
  • use packageLog(packages = NULL) to view a day's log.
  • enable negative filter values in packageLog() and packageRank().

New Functions

  • archivePackages()
  • countryPackage()
  • packageArchive()
  • packageCountry()
  • packageDistribution()
  • packageHistory() uses 'pkgsearch'; packageHistory0() scrapes CRAN.
  • packageInfo()
  • validatePackage() uses 'pkgsearch'; validatePackage0() scrapes CRAN.

packageRank v0.3.0

21 Oct 20:01
Compare
Choose a tag to compare
  • add cranDownloads().
    • enable "yyyy-mm-dd", "yyyy-mm" or "yyyy" in cranDownloads(from, to).
    • add plot.cran_downloads(points = "auto").
    • add plot.cran_downloads(r.version).
  • deprecate cran_downloads2().
  • add bioconductorDownloads().
  • add bioconductorRank().

packageRank v0.2.0

11 Jul 17:30
Compare
Choose a tag to compare

Changes

  • implement minor parallelization for packageRankTime().
  • base graphics for single package/date; ggplot2 for multiple packages/dates.
  • fix smooth argument in plot.package_rank_time(graphics_pkg = "base").

packageRank v0.1.1

16 May 14:23
Compare
Choose a tag to compare

Changes

  • amend README/documentation of first CRAN release v0.1.0.