Skip to content

Commit

Permalink
VIGNETTE: typos
Browse files Browse the repository at this point in the history
  • Loading branch information
HenrikBengtsson committed Mar 6, 2024
1 parent 09f6cd2 commit 67c7906
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: future
Version: 1.33.1-9008
Version: 1.33.1-9009
Title: Unified Parallel and Distributed Processing in R for Everyone
Imports:
digest,
Expand Down
4 changes: 2 additions & 2 deletions vignettes/future-4-non-exportable-objects.md.rsp
Original file line number Diff line number Diff line change
Expand Up @@ -736,15 +736,15 @@ train <- xgb.DMatrix(agaricus.train$data, label = agaricus.train$label)
class(train)
## [1] "xgb.DMatrix"

d <- dim(dtrain)
d <- dim(train)
d
## [1] 6513 126
```

works just fine but if we attempt to pass on the 'xgb.DMatrix' object `train` to an external worker, we silently get a incorrect value:

```r
f <- future(dim(dtrain))
f <- future(dim(train))
d <- value(f)
d
## NULL
Expand Down

0 comments on commit 67c7906

Please sign in to comment.