Skip to content

Commit

Permalink
remove deprecated function
Browse files Browse the repository at this point in the history
  • Loading branch information
shikokuchuo committed Dec 4, 2023
1 parent 9c0acfa commit 74a423e
Show file tree
Hide file tree
Showing 12 changed files with 20 additions and 51 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: nanonext
Type: Package
Title: NNG (Nanomsg Next Gen) Lightweight Messaging Library
Version: 0.11.0
Version: 0.11.0.9000
Description: R binding for NNG (Nanomsg Next Gen), a successor to ZeroMQ. NNG is
a socket library implementing 'Scalability Protocols', a reliable,
high-performance standard for common communications patterns including
Expand Down
1 change: 0 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ export("%~>%")
export("opt<-")
export(.context)
export(.unresolved)
export(.until)
export(base64dec)
export(base64enc)
export(call_aio)
Expand Down
6 changes: 6 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# nanonext 0.11.0.9000 (development)

#### Updates

* Deprecated function `.until()` is removed.

# nanonext 0.11.0

*This is a major stability release bundling the 'libnng' v1.6.0 source code.*
Expand Down
2 changes: 1 addition & 1 deletion R/sendrecv.R
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
#'
#' Mode 'next' sends serialised R objects, with native extensions enabled by
#' \code{\link{next_config}}. This configures custom serialization and
#' unserialization functions for external pointer type objects. When
#' unserialization functions for external pointer reference objects. When
#' receiving, mode 'serial' should be used as 'next' sends are fully
#' compatible.
#'
Expand Down
13 changes: 0 additions & 13 deletions R/sync.R
Original file line number Diff line number Diff line change
Expand Up @@ -159,19 +159,6 @@ cv_reset <- function(cv) invisible(.Call(rnng_cv_reset, cv))
#'
cv_signal <- function(cv) invisible(.Call(rnng_cv_signal, cv))

#' Condition Variables - Until
#'
#' This function is identical to \code{\link{until}} and deprecated.
#'
#' @inheritParams until
#'
#' @return (invisibly) logical TRUE if signalled, or else FALSE if the timeout
#' was reached.
#'
#' @export
#'
.until <- until

#' Pipe Notify
#'
#' Signals a 'conditionVariable' whenever pipes (individual connections) are
Expand Down
9 changes: 4 additions & 5 deletions R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,8 @@ strcat <- function(a, b) .Call(rnng_strcat, a, b)
#' Configure Next Mode
#'
#' Configures send mode 'next' by registering functions for custom serialization
#' and unserialization of external pointer objects, allowing these to be
#' sent and received between different R sessions.
#' and unserialization of external pointer reference objects, allowing these
#' to be sent and received between different R sessions.
#'
#' @param refhook \strong{either} a list of two functions: the signature for the
#' first must accept a list of external pointer objects and return a raw
Expand All @@ -295,10 +295,9 @@ strcat <- function(a, b) .Call(rnng_strcat, a, b)
#' currently-registered 'refhook' functions (and resets 'mark' to FALSE).
#'
#' @examples
#' g <- next_config(refhook = list(function(x) serialize(x, NULL), unserialize),
#' mark = TRUE)
#' g <- next_config(refhook = list(function(x) serialize(x, NULL), unserialize))
#' next_config()
#' next_config(g)
#' next_config(g, mark = TRUE)
#'
#' next_config(NULL)
#' next_config()
Expand Down
21 changes: 0 additions & 21 deletions man/dot-until.Rd

This file was deleted.

9 changes: 4 additions & 5 deletions man/next_config.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/reply.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/request.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/send.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/send_aio.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 74a423e

Please sign in to comment.