Skip to content
This repository has been archived by the owner on Oct 14, 2024. It is now read-only.

Commit

Permalink
docs: make README a tad shorter
Browse files Browse the repository at this point in the history
  • Loading branch information
maelle committed Oct 8, 2024
1 parent e88e59d commit 022759a
Show file tree
Hide file tree
Showing 2 changed files with 380 additions and 3,702 deletions.
12 changes: 8 additions & 4 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -43,23 +43,27 @@ universe_ls("jeroen")
### Info on all packages in an universe

```{r}
universe_packages("jeroen", limit = 1)
universe_packages("jeroen", limit = 1) |>
str(max.level = 2)
```

### Info on a single package in an universe

```{r}
universe_package("jeroen", package = "curl")
universe_package("jeroen", package = "curl") |>
str(max.level = 2)
```

### Search within a single universe

```{r}
universe_search("ropensci", query = 'needs:httr2', limit = 1)
universe_search("ropensci", query = 'needs:httr2', limit = 1) |>
str(max.level = 2)
```

### Search among all universes

```{r}
global_search(query = '"weather data"', limit = 1)
global_search(query = '"weather data"', limit = 1) |>
str(max.level = 2)
```
Loading

0 comments on commit 022759a

Please sign in to comment.