Skip to content
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

v1.2.2 release candidate #948

Merged
merged 15 commits into from
Sep 4, 2024
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Encoding: UTF-8
Package: plumber
Type: Package
Title: An API Generator for R
Version: 1.2.1.9000
Version: 1.2.2
Roxygen: list(markdown = TRUE)
Authors@R: c(
person("Barret", "Schloerke", role = c("cre", "aut"), email = "[email protected]", comment = c(ORCID = "0000-0001-9986-114X")),
Expand Down Expand Up @@ -54,7 +54,7 @@ Suggests:
redoc,
rapidoc,
sf
RoxygenNote: 7.2.3
RoxygenNote: 7.3.1
Collate:
'async.R'
'content-types.R'
Expand Down
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# plumber (development version)
# plumber 1.2.2

* Allow to set plumber options using environment variables `?options_plumber`. (@meztez #934)
* Add support for quoted boundary for multipart request parsing. (@meztez #924)
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[![](https://www.r-pkg.org/badges/version/plumber)](https://www.r-pkg.org/pkg/plumber)
[![CRAN RStudio mirror downloads](https://cranlogs.r-pkg.org/badges/plumber?color=brightgreen)](https://www.r-pkg.org/pkg/plumber)
[![codecov](https://app.codecov.io/gh/rstudio/plumber/branch/main/graph/badge.svg)](https://app.codecov.io/gh/rstudio/plumber)
[![RStudio community](https://img.shields.io/badge/community-plumber-blue?style=social&logo=rstudio&logoColor=75AADB)](https://community.rstudio.com/tag/plumber)
[![RStudio community](https://img.shields.io/badge/community-plumber-blue?style=social&logo=rstudio&logoColor=75AADB)](https://forum.posit.co/tag/plumber)
<!-- badges: end -->

Plumber allows you to create a web API by merely decorating your existing R
Expand Down Expand Up @@ -107,7 +107,7 @@ will be the best way to get started. You'll be able to get a server hosting your
custom API in just two R commands. To deploy to DigitalOcean, check out the
`plumber` companion package [`plumberDeploy`](https://github.com/meztez/plumberDeploy).

[RStudio Connect](https://www.rstudio.com/products/connect/) is a commercial
[RStudio Connect](https://posit.co/products/enterprise/connect/) is a commercial
publishing platform that enables R developers to easily publish a variety of R
content types, including Plumber APIs. Additional documentation is available at
https://www.rplumber.io/articles/hosting.html#rstudio-connect-1.
Expand Down
1 change: 1 addition & 0 deletions revdep/.gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
checks
library
cloud.noindex
checks.noindex
library.noindex
data.sqlite
Expand Down
45 changes: 0 additions & 45 deletions revdep/README.md
Original file line number Diff line number Diff line change
@@ -1,47 +1,2 @@
# Platform

|field |value |
|:--------|:------------------------------|
|version |R version 4.1.3 (2022-03-10) |
|os |macOS Big Sur/Monterey 10.16 |
|system |x86_64, darwin17.0 |
|ui |X11 |
|language |(EN) |
|collate |en_US.UTF-8 |
|ctype |en_US.UTF-8 |
|tz |America/New_York |
|date |2022-09-06 |
|pandoc |2.19.2 @ /usr/local/bin/pandoc |

# Dependencies

|package |old |new |Δ |
|:-------|:-----|:-----|:--|
|plumber |1.2.0 |1.2.1 |* |
|sodium |NA |1.2.1 |* |

# Revdeps

## All (18)

|package |version |error |warning |note |
|:-----------------|:--------|:-----|:-------|:----|
|[arenar](problems.md#arenar)|0.2.0 | | |1 |
|[AzureContainers](problems.md#azurecontainers)|1.3.2 | | |1 |
|bayesAB |1.1.3 | | | |
|googleCloudRunner |0.5.0 | | | |
|[gqlr](problems.md#gqlr)|0.0.2 | | |1 |
|[log](problems.md#log)|1.1.1 | | |1 |
|MicroMoB |0.1.0 | | | |
|[microservices](problems.md#microservices)|0.1.2 |1 | |1 |
|[openmetrics](problems.md#openmetrics)|0.3.0 | | |2 |
|[plumbertableau](problems.md#plumbertableau)|0.1.0 | | |1 |
|[rapidoc](problems.md#rapidoc)|8.4.3 | | |2 |
|[redoc](problems.md#redoc)|2.0.0.49 | | |1 |
|[rjsonapi](problems.md#rjsonapi)|0.1.0 | | |1 |
|rsconnect |0.8.27 | | | |
|starsTileServer |0.1.1 | | | |
|[swagger](problems.md#swagger)|3.33.1 | | |1 |
|tgver |0.2.0 | | | |
|vetiver |0.1.7 | | | |

2 changes: 1 addition & 1 deletion revdep/cran.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## revdepcheck results

We checked 18 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package.
We checked 21 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package.

* We saw 0 new problems
* We failed to check 0 packages
Expand Down
273 changes: 1 addition & 272 deletions revdep/problems.md
Original file line number Diff line number Diff line change
@@ -1,272 +1 @@
# arenar

<details>

* Version: 0.2.0
* GitHub: https://github.com/ModelOriented/ArenaR
* Source code: https://github.com/cran/arenar
* Date/Publication: 2020-10-01 08:00:06 UTC
* Number of recursive dependencies: 109

Run `revdep_details(, "arenar")` for more info

</details>

## In both

* checking LazyData ... NOTE
```
'LazyData' is specified without a 'data' directory
```

# AzureContainers

<details>

* Version: 1.3.2
* GitHub: https://github.com/Azure/AzureContainers
* Source code: https://github.com/cran/AzureContainers
* Date/Publication: 2021-07-09 06:00:02 UTC
* Number of recursive dependencies: 75

Run `revdep_details(, "AzureContainers")` for more info

</details>

## In both

* checking dependencies in R code ... NOTE
```
Namespace in Imports field not imported from: ‘openssl’
All declared Imports should be used.
```

# gqlr

<details>

* Version: 0.0.2
* GitHub: https://github.com/schloerke/gqlr
* Source code: https://github.com/cran/gqlr
* Date/Publication: 2019-12-02 16:20:03 UTC
* Number of recursive dependencies: 58

Run `revdep_details(, "gqlr")` for more info

</details>

## In both

* checking LazyData ... NOTE
```
'LazyData' is specified without a 'data' directory
```

# log

<details>

* Version: 1.1.1
* GitHub: https://github.com/devOpifex/log
* Source code: https://github.com/cran/log
* Date/Publication: 2022-02-24 19:40:02 UTC
* Number of recursive dependencies: 64

Run `revdep_details(, "log")` for more info

</details>

## In both

* checking dependencies in R code ... NOTE
```
Namespace in Imports field not imported from: ‘R6’
All declared Imports should be used.
```

# microservices

<details>

* Version: 0.1.2
* GitHub: https://github.com/tidylab/microservices
* Source code: https://github.com/cran/microservices
* Date/Publication: 2021-06-12 06:10:02 UTC
* Number of recursive dependencies: 69

Run `revdep_details(, "microservices")` for more info

</details>

## In both

* checking tests ...
```
Running ‘testthat.R’
ERROR
Running the tests in ‘tests/testthat.R’ failed.
Last 13 lines of output:

══ Failed tests ════════════════════════════════════════════════════════════════
── Error (test-endpoint-plumber-{route_name}.R:2:1): (code run outside of `test_that()`) ──
Error in `system.file("configurations", "plumber.yml", package = pkg_name(),
mustWork = TRUE)`: no file found
Backtrace:
1. ├─config::get(...) at test-endpoint-plumber-{route_name}.R:2:0
2. │ └─base::normalizePath(file, mustWork = FALSE)
3. │ └─base::path.expand(path)
4. └─base::system.file(...)

[ FAIL 1 | WARN 0 | SKIP 0 | PASS 12 ]
Error: Test failures
Execution halted
```

* checking dependencies in R code ... NOTE
```
Namespaces in Imports field not imported from:
‘config’ ‘desc’ ‘dplyr’ ‘glue’ ‘withr’
All declared Imports should be used.
```

# openmetrics

<details>

* Version: 0.3.0
* GitHub: https://github.com/atheriel/openmetrics
* Source code: https://github.com/cran/openmetrics
* Date/Publication: 2020-11-09 21:20:02 UTC
* Number of recursive dependencies: 60

Run `revdep_details(, "openmetrics")` for more info

</details>

## In both

* checking dependencies in R code ... NOTE
```
Namespace in Imports field not imported from: ‘R6’
All declared Imports should be used.
```

* checking LazyData ... NOTE
```
'LazyData' is specified without a 'data' directory
```

# plumbertableau

<details>

* Version: 0.1.0
* GitHub: https://github.com/rstudio/plumbertableau
* Source code: https://github.com/cran/plumbertableau
* Date/Publication: 2021-08-06 08:00:02 UTC
* Number of recursive dependencies: 69

Run `revdep_details(, "plumbertableau")` for more info

</details>

## In both

* checking dependencies in R code ... NOTE
```
Namespace in Imports field not imported from: ‘glue’
All declared Imports should be used.
```

# rapidoc

<details>

* Version: 8.4.3
* GitHub: https://github.com/meztez/rapidoc
* Source code: https://github.com/cran/rapidoc
* Date/Publication: 2021-02-05 10:30:05 UTC
* Number of recursive dependencies: 19

Run `revdep_details(, "rapidoc")` for more info

</details>

## In both

* checking dependencies in R code ... NOTE
```
Namespace in Imports field not imported from: ‘jsonlite’
All declared Imports should be used.
```

* checking LazyData ... NOTE
```
'LazyData' is specified without a 'data' directory
```

# redoc

<details>

* Version: 2.0.0.49
* GitHub: https://github.com/meztez/redoc
* Source code: https://github.com/cran/redoc
* Date/Publication: 2021-02-05 10:30:02 UTC
* Number of recursive dependencies: 19

Run `revdep_details(, "redoc")` for more info

</details>

## In both

* checking LazyData ... NOTE
```
'LazyData' is specified without a 'data' directory
```

# rjsonapi

<details>

* Version: 0.1.0
* GitHub: https://github.com/ropensci/rjsonapi
* Source code: https://github.com/cran/rjsonapi
* Date/Publication: 2017-01-09 01:47:26
* Number of recursive dependencies: 54

Run `revdep_details(, "rjsonapi")` for more info

</details>

## In both

* checking dependencies in R code ... NOTE
```
Namespace in Imports field not imported from: ‘crul’
All declared Imports should be used.
```

# swagger

<details>

* Version: 3.33.1
* GitHub: https://github.com/rstudio/swagger
* Source code: https://github.com/cran/swagger
* Date/Publication: 2020-10-02 21:10:02 UTC
* Number of recursive dependencies: 41

Run `revdep_details(, "swagger")` for more info

</details>

## In both

* checking LazyData ... NOTE
```
'LazyData' is specified without a 'data' directory
```

*Wow, no problems at all. :)*
2 changes: 1 addition & 1 deletion tests/testthat/test-parse-block.R
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ test_that("@json parameters work", {
expect_block_fn("#' @serializer json list ( auto_unbox = TRUE , na = 'string' ) ", serializer_json(auto_unbox = TRUE, na = 'string'))


expect_block_error("#' @serializer json list(na = 'string'", "unexpected end of input")
expect_block_error("#' @serializer json list(na = 'string'")
expect_block_error("#' @json(na = 'string'", "must be surrounded by parentheses")
expect_block_error("#' @json (na = 'string'", "must be surrounded by parentheses")
expect_block_error("#' @json ( na = 'string'", "must be surrounded by parentheses")
Expand Down
Loading
Loading