Skip to content

Commit

Permalink
correct install instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
calderonsamuel committed Jan 8, 2024
1 parent b4ada10 commit 1b74f7f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ The goal of SSEparser is to provide robust functionality to parse Server-Sent Ev
You can install `SEEparser` from CRAN like so:

```r
install.packages("gptstudio")
install.packages("SSEparser")
```

Alternatively, you can install the development version like so:
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Server-Sent Events and to build on top of it.
You can install `SEEparser` from CRAN like so:

``` r
install.packages("gptstudio")
install.packages("SSEparser")
```

Alternatively, you can install the development version like so:
Expand Down Expand Up @@ -96,7 +96,7 @@ str(parser$events)
#> ..$ data : chr "{\"event\":\"message\",\"request\":\"POST\"}"
#> ..$ id : chr "1"
#> $ :List of 3
#> ..$ event: chr "message"
#> ..$ event: chr "notification"
#> ..$ data : chr "{\"event\":\"message\",\"request\":\"POST\"}"
#> ..$ id : chr "2"
#> $ :List of 3
Expand Down Expand Up @@ -140,7 +140,7 @@ SSEparser$public_methods$append_parsed_sse
#> self$events <- c(self$events, list(parsed_event))
#> invisible(self)
#> }
#> <bytecode: 0x000001d822070e00>
#> <bytecode: 0x00000147d67ed9b8>
#> <environment: namespace:SSEparser>
```

Expand All @@ -164,7 +164,7 @@ response <- httr2::request("https://postman-echo.com/server-events/3") %>%
str(parser$events)
#> List of 3
#> $ :List of 3
#> ..$ event: chr "notification"
#> ..$ event: chr "ping"
#> ..$ data :List of 2
#> .. ..$ event : chr "message"
#> .. ..$ request: chr "POST"
Expand Down

0 comments on commit 1b74f7f

Please sign in to comment.