You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: NEWS.md
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,10 +3,12 @@
3
3
*`resources()` is soft-deprecated, please use `resource_names()` instead (#282).
4
4
*`get_schema()` is soft-deprecated, please use `schema()` instead (#282).
5
5
* Internal properties (`package$directory` and `resource$read_from`) are now attributes rather than properties. This keeps them clearly separated from public Data Package properties. `read_from` is also renamed to `data_location` (#289).
6
+
*`read_resource()` now supports reading from remote zip files, thanks to support in {vroom} (1.3.0) (#291).
7
+
* frictionless now relies on R >= 4.1.0 (because of an indirect {vroom} dependency) (#291).
6
8
7
9
# frictionless 1.2.1
8
10
9
-
***frictionless now relies on R version 3.6.0 or higher**. Originally it stated version 3.5.0 or higher, but this was not tested and likely not true (#238).
11
+
* frictionless now relies on R version 3.6.0 or higher. Originally it stated version 3.5.0 or higher, but this was not tested and likely not true (#238).
10
12
*`read_package()` now returns a warning rather than an error when a `datapackage.json` contains no resources. This allows use to create the JSON and then add resources with frictionless (#265).
11
13
*`example_package()` now has a `version` parameter, allowing to load the example Data Package following the Data Package [v1](https://specs.frictionlessdata.io/) or [v2](https://datapackage.org/) specification (#249).
12
14
@@ -50,9 +52,9 @@
50
52
*`cli::cli_abort()`, `cli::cli_warn()` and `cli::cli_inform()` are used for all errors, warnings, and messages (#163). This has several advantages:
51
53
* Messages use semantic colours for variables, parameters, fields, etc.
52
54
* Messages and warnings can be silenced with a global or local option, see [this blog post](https://ropensci.org/blog/2024/02/06/verbosity-control-packages/).
53
-
* Each call has an [rlang](https://cran.r-project.org/package=rlang) class, e.g. `frictionless_error_fields_without_name`, making it easier to test for specific errors.
54
-
*[glue](https://cran.r-project.org/package=glue) and [assertthat](https://cran.r-project.org/package=assertthat) are removed as dependencies (#163). The functionality of glue is replaced by cli, while `assertthat::assert()` calls are now `if ()` statements.
55
-
*[rlang](https://cran.r-project.org/package=rlang) is added as dependency (#192). It is already used by other dependencies.
55
+
* Each call has an `{rlang}` class, e.g. `frictionless_error_fields_without_name`, making it easier to test for specific errors.
56
+
*`{glue}` and `{assertthat}` are removed as dependencies (#163). The functionality of glue is replaced by cli, while `assertthat::assert()` calls are now `if ()` statements.
57
+
*`{rlang}` is added as dependency (#192). It is already used by other dependencies.
56
58
* frictionless now depends on R >= 3.5.0.
57
59
58
60
## Other changes
@@ -62,7 +64,7 @@
62
64
63
65
# frictionless 1.0.3
64
66
65
-
* Add [stringi](https://cran.r-project.org/package=stringi) to `Suggests`. It was removed as a dependency from [rmarkdown](https://cran.r-project.org/package=rmarkdown) 2.26, resulting in "stringi package required for encoding operations" build errors on CRAN (#176).
67
+
* Add `{stringi}` to `Suggests`. It was removed as a dependency from `{rmarkdown}` 2.26, resulting in "stringi package required for encoding operations" build errors on CRAN (#176).
[`compression`](https://specs.frictionlessdata.io/patterns/#specification-3) (a recipe) is ignored by `read_resource()` and not set by `add_resource()`.
241
241
242
-
Compression is derived from the provided `path` instead. If the `path` ends in `.gz`, `.bz2`, `.xz`, or `.zip`, the files are automatically decompressed by `read_resource()` (using default `readr::read_delim()` functionality). Only `.gz` files can be read directly from URL `path`s.
242
+
Compression is derived from the provided `path` instead. If the `path` ends in `.gz`, `.bz2`, `.xz`, or `.zip`, the files are automatically decompressed by `read_resource()` (using default `readr::read_delim()` functionality).
Copy file name to clipboardExpand all lines: vignettes/table-schema.Rmd
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -208,7 +208,7 @@ any other type | `any`
208
208
209
209
### integer
210
210
211
-
[`integer`](https://specs.frictionlessdata.io/table-schema/#integer) is interpreted as `double` (to avoid issues with big numbers). Or `factor` when `constraints$enum` is defined.
211
+
[`integer`](https://specs.frictionlessdata.io/table-schema/#integer) is interpreted as `double` (to support big integers, + signs and `bareNumber`). Or `factor` when `constraints$enum` is defined.
212
212
213
213
-`bareNumber` is supported. If `false`, whitespace and non-numeric characters are ignored.
0 commit comments