Skip to content

Commit

Permalink
fix: cran
Browse files Browse the repository at this point in the history
  • Loading branch information
be-marc committed Jun 18, 2024
1 parent fa2ae59 commit 0eda49b
Show file tree
Hide file tree
Showing 25 changed files with 44 additions and 4 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ Description: Parallel computing with a network of local and remote
workers. Fast exchange of results between the workers through a
'Redis' database. Key features include task queues, local caching, and
sophisticated error handling.
License: MIT + file LICENSE
URL: https://github.com/mlr-org/rush
BugReports: https://github.com/mlr-org/rush/issues
Depends:
Expand All @@ -33,3 +32,4 @@ Config/testthat/parallel: false
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.1
License: MIT + file LICENSE
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
YEAR: 2024
COPYRIGHT HOLDER: 2024 mlr-org
COPYRIGHT HOLDER: rush authors
1 change: 0 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Generated by roxygen2: do not edit by hand

export(AppenderRedis)
export(Rush)
export(RushWorker)
export(assert_rush)
export(assert_rush_worker)
Expand Down
2 changes: 2 additions & 0 deletions R/AppenderRedis.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@
#' @param filters (`list`)\cr
#' List of filters.
#'
#' @return Object of class [R6::R6Class] and `AppenderRedis` with methods for writing log events to Redis data bases.
#' @export
#' @examples
#' # This example is not executed since Redis must be installed
#' \donttest{
#' config_local = redux::redis_config()
#'
Expand Down
3 changes: 2 additions & 1 deletion R/Rush.R
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,9 @@
#' @template param_seed
#' @template param_data_format
#'
#' @export
#' @return Object of class [R6::R6Class] and `Rush` with controller methods.
#' @examples
#' # This example is not executed since Redis must be installed
#' \donttest{
#' config_local = redux::redis_config()
#' rush = rsh(network_id = "test_network", config = config_local)
Expand Down
2 changes: 2 additions & 0 deletions R/RushWorker.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@
#' @template param_lgr_buffer_size
#' @template param_seed
#'
#' @return Object of class [R6::R6Class] and `RushWorker` with worker methods.
#' @export
#' @examples
#' # This example is not executed since Redis must be installed
#' \donttest{
#' config_local = redux::redis_config()
#' rush = rsh(network_id = "test_network", config = config_local)
Expand Down
1 change: 1 addition & 0 deletions R/assertions.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#' @name rush_assertions
#' @keywords internal
#' @examples
#' # This example is not executed since Redis must be installed
#' \donttest{
#' config_local = redux::redis_config()
#' rush = rsh(network_id = "test_network", config = config_local)
Expand Down
1 change: 1 addition & 0 deletions R/heartbeat_loops.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#' @keywords internal
#' @export
#' @examples
#' # This example is not executed since Redis must be installed
#' \donttest{
#' config_local = redux::redis_config()
#'
Expand Down
5 changes: 5 additions & 0 deletions R/rush_plan.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#' @return `list()` with the stored configuration.
#' @export
#' @examples
#' # This example is not executed since Redis must be installed
#' \donttest{
#' config_local = redux::redis_config()
#' rush_plan(config = config_local, n_workers = 2)
Expand Down Expand Up @@ -59,6 +60,7 @@ rush_plan = function(
#'
#' @export
#' @examples
#' # This example is not executed since Redis must be installed
#' \donttest{
#' config_local = redux::redis_config()
#' rush_plan(config = config_local, n_workers = 2)
Expand All @@ -78,8 +80,10 @@ rush_config = function() {
#' @description
#' Removes the rush plan that was set by [rush_plan()].
#'
#' @return Invisible `TRUE`. Function called for side effects.
#' @export
#' @examples
#' # This example is not executed since Redis must be installed
#' \donttest{
#' config_local = redux::redis_config()
#' rush_plan(config = config_local, n_workers = 2)
Expand All @@ -99,6 +103,7 @@ remove_rush_plan = function() {
#'
#' @export
#' @examples
#' # This example is not executed since Redis must be installed
#' \donttest{
#' config_local = redux::redis_config()
#' rush_plan(config = config_local, n_workers = 2)
Expand Down
1 change: 1 addition & 0 deletions R/start_worker.R
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#' @return `NULL`
#' @export
#' @examples
#' # This example is not executed since Redis must be installed
#' \dontrun{
#' rush::start_worker(
#' network_id = 'test-rush',
Expand Down
1 change: 1 addition & 0 deletions R/sugar.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#' @return [Rush] controller.
#' @export
#' @examples
#' # This example is not executed since Redis must be installed
#' \donttest{
#' config_local = redux::redis_config()
#' rush = rsh(network_id = "test_network", config = config_local)
Expand Down
2 changes: 2 additions & 0 deletions R/worker_loops.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#' @return `NULL`
#' @export
#' @examples
#' # This example is not executed since Redis must be installed
#' \donttest{
#' config_local = redux::redis_config()
#' rush = rsh(network_id = "test_network", config = config_local)
Expand Down Expand Up @@ -63,6 +64,7 @@ worker_loop_default = function(fun, constants = NULL, rush) {
#' @return `NULL`
#' @export
#' @examples
#' # This example is not executed since Redis must be installed
#' \donttest{
#' config_local = redux::redis_config()
#' rush = rsh(network_id = "test_network", config = config_local)
Expand Down
4 changes: 4 additions & 0 deletions man/AppenderRedis.Rd

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

4 changes: 4 additions & 0 deletions man/Rush.Rd

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

4 changes: 4 additions & 0 deletions man/RushWorker.Rd

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

1 change: 1 addition & 0 deletions man/heartbeat.Rd

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

4 changes: 4 additions & 0 deletions man/remove_rush_plan.Rd

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

1 change: 1 addition & 0 deletions man/rsh.Rd

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

1 change: 1 addition & 0 deletions man/rush_assertions.Rd

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

1 change: 1 addition & 0 deletions man/rush_available.Rd

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

1 change: 1 addition & 0 deletions man/rush_config.Rd

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

1 change: 1 addition & 0 deletions man/rush_plan.Rd

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

1 change: 1 addition & 0 deletions man/start_worker.Rd

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

1 change: 1 addition & 0 deletions man/worker_loop_callr.Rd

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

1 change: 1 addition & 0 deletions man/worker_loop_default.Rd

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

0 comments on commit 0eda49b

Please sign in to comment.