brew_analytics: Retrieve analytics data for a formula or cask

Description Usage Arguments Examples

View source: R/brew_analytics.R

Description

Retrieve analytics data for a formula or cask

Usage

1
2
3
4
5
6
brew_analytics(
  package,
  days = 30,
  category = c("install", "install-on-request", "build-error"),
  ...
)

Arguments

package

Name of one or more formulae or casks

days

Number of days' worth of analytics data to retrieve. One of 30 (default), 90, or 365.

category

Type of analytics data to retrieve. One of "install" (default), "install-on-request", or "build-error".

...

Arguments passed on to brew_cmd

cmd

The command to run (e.g., install)

args

Additional arguments for the command

brew_cmd

Optional: Location of brew command.

echo

Whether to print output and error messages to the screen. Defaults to TRUE for interactive sessions.

Examples

1
2
3
4
5
## Not run: 
# Retrieve 90-day install data for unixodbc
brew_analytics("unixodbc", days = 90)

## End(Not run)

briandconnelly/homebrew documentation built on Dec. 19, 2021, 11:43 a.m.