Skip to content

Commit 4c32d21

Browse files
authored
Merge pull request #1490 from rstudio/reexport-dotty
import and reexport `dotty::.`
2 parents 2f5a8aa + 1a8234c commit 4c32d21

File tree

4 files changed

+16
-6
lines changed

4 files changed

+16
-6
lines changed

DESCRIPTION

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ Imports:
3737
fastmap,
3838
glue,
3939
cli,
40-
rlang
40+
rlang,
41+
dotty
4142
Suggests:
4243
ggplot2,
4344
testthat (>= 2.1.0),
@@ -54,5 +55,5 @@ Suggests:
5455
jpeg
5556
RoxygenNote: 7.3.2
5657
VignetteBuilder: knitr
57-
Remotes:
58+
Remotes:
5859
rstudio/reticulate

NAMESPACE

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ export("%<-active%")
5252
export("%<>%")
5353
export("%>%")
5454
export("%py_class%")
55+
export(.)
5556
export(Callback)
5657
export(Constraint)
5758
export(Layer)
@@ -786,6 +787,7 @@ export(use_virtualenv)
786787
export(with_custom_object_scope)
787788
export(zip_lists)
788789
import(reticulate)
790+
importFrom(dotty,.)
789791
importFrom(generics,compile)
790792
importFrom(generics,fit)
791793
importFrom(glue,trim)

NEWS.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,15 @@
22

33
- Keras now uses `reticulate::py_require()` to resolve Python dependencies.
44
Calling `install_keras()` is no longer required (but is still supported).
5-
6-
- `use_backend()` gains a `gpu` argument, to specify if a GPU-capable set of
7-
dependencies should be resolved by `py_require()`.
85

9-
- The progress bar in `fit()`, `evaluate()` and `predict()` now
6+
- `use_backend()` gains a `gpu` argument, to specify if a GPU-capable set of
7+
dependencies should be resolved by `py_require()`.
8+
9+
- The progress bar in `fit()`, `evaluate()` and `predict()` now
1010
defaults to not presenting during testthat tests.
1111

12+
- `dotty::.` is now reexported.
13+
1214
## Added compatibility with Keras v3.8.0. User-facing changes:
1315

1416
- New symbols:

R/reexports.R

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,3 +122,8 @@ generics::compile
122122
#' @importFrom tensorflow evaluate
123123
#' @export
124124
tensorflow::evaluate
125+
126+
127+
#' @importFrom dotty .
128+
#' @export
129+
dotty::.

0 commit comments

Comments
 (0)