Skip to content

Commit 651d03d

Browse files
committed
CRAN release 0.9.0
1 parent 28aaf07 commit 651d03d

File tree

4 files changed

+18
-18
lines changed

4 files changed

+18
-18
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: nanonext
22
Type: Package
33
Title: NNG (Nanomsg Next Gen) Lightweight Messaging Library
4-
Version: 0.8.3.9021
4+
Version: 0.9.0
55
Description: R binding for NNG (Nanomsg Next Gen), a successor to ZeroMQ. NNG is
66
a socket library providing high-performance scalability protocols, a
77
cross-platform standard for messaging and communications. Serves as a

NEWS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# nanonext 0.8.3.9021 (development)
1+
# nanonext 0.9.0
22

33
*The package is now compatible (again) with currently released 'libnng' versions. It will attempt to use system 'libnng' versions >= 1.5 where detected, and only compile the bundled library where necessary.*
44

README.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@ stat(s, "pipes")
655655

656656
Installation from source requires 'libnng' >= v1.5.0 and 'libmbedtls' >= 2 (suitable installations are automatically detected), or else 'cmake' to compile 'libnng' v1.6.0 pre-release (8e1836f) and 'libmbedtls' v3.4.0 included within the package sources.
657657

658-
**It is recommended for stability and performance reasons to let the package automatically compile bundled versions of 'libmbedtls' and 'libnng' during installation.** To always compile the libraries from source even if system installations exist, set the `NANONEXT_LIBS` environment variable prior to installation e.g. by `Sys.setenv(NANONEXT_LIBS = 1)`.
658+
**It is recommended for optimal performance and stability to let the package automatically compile bundled versions of 'libmbedtls' and 'libnng' during installation.** To always compile the libraries from source even if system installations exist, set the `NANONEXT_LIBS` environment variable prior to installation e.g. by `Sys.setenv(NANONEXT_LIBS = 1)`.
659659

660660
It is not necessary / recommended to install system libraries, but 'libnng' is available as libnng-dev (deb) or nng-devel (rpm), and 'libmbedtls' is available as libmbedtls-dev (deb) or libmbedtls-devel (rpm). The `INCLUDE_DIR` and `LIB_DIR` environment variables may be set prior to package installation to specify a custom location for 'libmbedtls' or 'libnng' other than the standard filesystem locations.
661661

README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ aio
369369
#> < recvAio >
370370
#> - $data for message data
371371
aio$data |> str()
372-
#> num [1:100000000] 0.5315 -1.3045 0.0247 -1.4468 -0.6919 ...
372+
#> num [1:100000000] 0.821 -0.28 -0.7501 -0.0818 -0.1577 ...
373373
```
374374

375375
As `call_aio()` is blocking and will wait for completion, an alternative
@@ -650,11 +650,11 @@ ncurl("https://httpbin.org/headers")
650650
#> [1] 7b 0a 20 20 22 68 65 61 64 65 72 73 22 3a 20 7b 0a 20 20 20 20 22 48 6f 73
651651
#> [26] 74 22 3a 20 22 68 74 74 70 62 69 6e 2e 6f 72 67 22 2c 20 0a 20 20 20 20 22
652652
#> [51] 58 2d 41 6d 7a 6e 2d 54 72 61 63 65 2d 49 64 22 3a 20 22 52 6f 6f 74 3d 31
653-
#> [76] 2d 36 34 36 66 38 30 33 36 2d 36 61 37 30 31 32 65 34 34 63 62 38 62 30 30
654-
#> [101] 31 32 33 35 62 30 35 38 37 22 0a 20 20 7d 0a 7d 0a
653+
#> [76] 2d 36 34 37 33 61 33 38 65 2d 33 66 61 31 39 62 33 34 31 64 62 38 30 63 32
654+
#> [101] 66 33 34 30 37 30 32 34 37 22 0a 20 20 7d 0a 7d 0a
655655
#>
656656
#> $data
657-
#> [1] "{\n \"headers\": {\n \"Host\": \"httpbin.org\", \n \"X-Amzn-Trace-Id\": \"Root=1-646f8036-6a7012e44cb8b001235b0587\"\n }\n}\n"
657+
#> [1] "{\n \"headers\": {\n \"Host\": \"httpbin.org\", \n \"X-Amzn-Trace-Id\": \"Root=1-6473a38e-3fa19b341db80c2f34070247\"\n }\n}\n"
658658
```
659659

660660
For advanced use, supports additional HTTP methods such as POST or PUT.
@@ -675,13 +675,13 @@ res
675675

676676
call_aio(res)$headers
677677
#> $Date
678-
#> [1] "Thu, 25 May 2023 15:35:24 GMT"
678+
#> [1] "Sun, 28 May 2023 18:55:10 GMT"
679679
#>
680680
#> $Server
681681
#> [1] "gunicorn/19.9.0"
682682

683683
res$data
684-
#> [1] "{\n \"args\": {}, \n \"data\": \"{\\\"key\\\": \\\"value\\\"}\", \n \"files\": {}, \n \"form\": {}, \n \"headers\": {\n \"Authorization\": \"Bearer APIKEY\", \n \"Content-Length\": \"16\", \n \"Content-Type\": \"application/json\", \n \"Host\": \"httpbin.org\", \n \"X-Amzn-Trace-Id\": \"Root=1-646f8037-556f240669ed94606fc5726f\"\n }, \n \"json\": {\n \"key\": \"value\"\n }, \n \"origin\": \"131.111.5.14\", \n \"url\": \"http://httpbin.org/post\"\n}\n"
684+
#> [1] "{\n \"args\": {}, \n \"data\": \"{\\\"key\\\": \\\"value\\\"}\", \n \"files\": {}, \n \"form\": {}, \n \"headers\": {\n \"Authorization\": \"Bearer APIKEY\", \n \"Content-Length\": \"16\", \n \"Content-Type\": \"application/json\", \n \"Host\": \"httpbin.org\", \n \"X-Amzn-Trace-Id\": \"Root=1-6473a38e-6d36a8dd29a484e23ae028be\"\n }, \n \"json\": {\n \"key\": \"value\"\n }, \n \"origin\": \"131.111.5.14\", \n \"url\": \"http://httpbin.org/post\"\n}\n"
685685
```
686686

687687
In this respect, it may be used as a performant and lightweight method
@@ -707,7 +707,7 @@ transact(sess)
707707
#>
708708
#> $headers
709709
#> $headers$date
710-
#> [1] "Thu, 25 May 2023 15:35:50 GMT"
710+
#> [1] "Sun, 28 May 2023 18:55:10 GMT"
711711
#>
712712
#>
713713
#> $raw
@@ -717,15 +717,15 @@ transact(sess)
717717
#> [76] 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 3a 20 22 61 70 70 6c 69 63 61 74
718718
#> [101] 69 6f 6e 2f 6a 73 6f 6e 22 2c 20 0a 20 20 20 20 22 48 6f 73 74 22 3a 20 22
719719
#> [126] 68 74 74 70 62 69 6e 2e 6f 72 67 22 2c 20 0a 20 20 20 20 22 58 2d 41 6d 7a
720-
#> [151] 6e 2d 54 72 61 63 65 2d 49 64 22 3a 20 22 52 6f 6f 74 3d 31 2d 36 34 36 66
721-
#> [176] 38 30 33 63 2d 36 61 33 66 38 38 36 63 36 33 62 36 37 35 35 38 30 61 63 38
722-
#> [201] 36 30 65 63 22 0a 20 20 7d 2c 20 0a 20 20 22 6f 72 69 67 69 6e 22 3a 20 22
723-
#> [226] 37 39 2e 31 37 33 2e 31 32 39 2e 32 22 2c 20 0a 20 20 22 75 72 6c 22 3a 20
724-
#> [251] 22 68 74 74 70 73 3a 2f 2f 68 74 74 70 62 69 6e 2e 6f 72 67 2f 67 65 74 22
725-
#> [276] 0a 7d 0a
720+
#> [151] 6e 2d 54 72 61 63 65 2d 49 64 22 3a 20 22 52 6f 6f 74 3d 31 2d 36 34 37 33
721+
#> [176] 61 33 38 65 2d 30 61 38 39 33 65 34 34 33 30 66 30 39 36 34 39 35 65 65 32
722+
#> [201] 37 63 32 65 22 0a 20 20 7d 2c 20 0a 20 20 22 6f 72 69 67 69 6e 22 3a 20 22
723+
#> [226] 38 38 2e 32 30 32 2e 31 33 36 2e 38 33 22 2c 20 0a 20 20 22 75 72 6c 22 3a
724+
#> [251] 20 22 68 74 74 70 73 3a 2f 2f 68 74 74 70 62 69 6e 2e 6f 72 67 2f 67 65 74
725+
#> [276] 22 0a 7d 0a
726726
#>
727727
#> $data
728-
#> [1] "{\n \"args\": {}, \n \"headers\": {\n \"Authorization\": \"Bearer APIKEY\", \n \"Content-Type\": \"application/json\", \n \"Host\": \"httpbin.org\", \n \"X-Amzn-Trace-Id\": \"Root=1-646f803c-6a3f886c63b675580ac860ec\"\n }, \n \"origin\": \"131.111.5.14\", \n \"url\": \"https://httpbin.org/get\"\n}\n"
728+
#> [1] "{\n \"args\": {}, \n \"headers\": {\n \"Authorization\": \"Bearer APIKEY\", \n \"Content-Type\": \"application/json\", \n \"Host\": \"httpbin.org\", \n \"X-Amzn-Trace-Id\": \"Root=1-6473a38e-0a893e4430f096495ee27c2e\"\n }, \n \"origin\": \"131.111.5.14\", \n \"url\": \"https://httpbin.org/get\"\n}\n"
729729
```
730730

731731
[« Back to ToC](#table-of-contents)
@@ -887,7 +887,7 @@ Installation from source requires ‘libnng’ \>= v1.5.0 and ‘libmbedtls’
887887
‘cmake’ to compile ‘libnng’ v1.6.0 pre-release (8e1836f) and
888888
‘libmbedtls’ v3.4.0 included within the package sources.
889889

890-
**It is recommended for stability and performance reasons to let the
890+
**It is recommended for optimal performance and stability to let the
891891
package automatically compile bundled versions of ‘libmbedtls’ and
892892
‘libnng’ during installation.** To always compile the libraries from
893893
source even if system installations exist, set the `NANONEXT_LIBS`

0 commit comments

Comments
 (0)