diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index e7e3bc86..3aa08d35 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -1,4 +1,10 @@ -on: [push, pull_request] +on: + push: + branches: + - master + pull_request: + schedule: + - cron: '0 1 * * *' name: R-CMD-check diff --git a/DESCRIPTION b/DESCRIPTION index fbbc137a..ad437f0c 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -51,7 +51,7 @@ Suggests: keras, tfestimators, callr -RoxygenNote: 7.0.2 +RoxygenNote: 7.1.1 Config/reticulate: list( packages = list( diff --git a/R/install.R b/R/install.R index 50a2ff57..366f811c 100644 --- a/R/install.R +++ b/R/install.R @@ -44,7 +44,7 @@ install_tensorflow <- function(method = c("auto", "virtualenv", "conda"), envname = NULL, extra_packages = NULL, restart_session = TRUE, - conda_python_version = "3.6", + conda_python_version = "3.7", ...) { # verify 64-bit @@ -84,7 +84,7 @@ install_tensorflow <- function(method = c("auto", "virtualenv", "conda"), parse_tensorflow_version <- function(version) { - default_version <- "2.2.0" + default_version <- "2.4" ver <- list( version = default_version, diff --git a/man/install_tensorflow.Rd b/man/install_tensorflow.Rd index 832fe2d8..a8606c55 100644 --- a/man/install_tensorflow.Rd +++ b/man/install_tensorflow.Rd @@ -11,7 +11,7 @@ install_tensorflow( envname = NULL, extra_packages = NULL, restart_session = TRUE, - conda_python_version = "3.6", + conda_python_version = "3.7", ... ) } @@ -49,8 +49,8 @@ only occur within RStudio).} \item{conda_python_version}{the python version installed in the created conda environment. Python 3.6 is installed by default.} -\item{...}{other arguments passed to \code{\link[reticulate:conda_install]{reticulate::conda_install()}} or -\code{\link[reticulate:virtualenv_install]{reticulate::virtualenv_install()}}.} +\item{...}{other arguments passed to \code{\link[reticulate:conda-tools]{reticulate::conda_install()}} or +\code{\link[reticulate:virtualenv-tools]{reticulate::virtualenv_install()}}.} } \description{ Install TensorFlow and its dependencies diff --git a/man/reexports.Rd b/man/reexports.Rd index ef58fc30..83fc2ec3 100644 --- a/man/reexports.Rd +++ b/man/reexports.Rd @@ -26,8 +26,8 @@ These objects are imported from other packages. Follow the links below to see their documentation. \describe{ - \item{reticulate}{\code{\link[reticulate]{\%as\%}}, \code{\link[reticulate]{array_reshape}}, \code{\link[reticulate]{dict}}, \code{\link[reticulate]{import}}, \code{\link[reticulate]{iterate}}, \code{\link[reticulate]{np_array}}, \code{\link[reticulate]{tuple}}, \code{\link[reticulate]{use_condaenv}}, \code{\link[reticulate]{use_python}}, \code{\link[reticulate]{use_virtualenv}}} + \item{reticulate}{\code{\link[reticulate:with-as-operator]{\%as\%}}, \code{\link[reticulate]{array_reshape}}, \code{\link[reticulate]{dict}}, \code{\link[reticulate]{import}}, \code{\link[reticulate]{iterate}}, \code{\link[reticulate]{np_array}}, \code{\link[reticulate]{tuple}}, \code{\link[reticulate:use_python]{use_condaenv}}, \code{\link[reticulate]{use_python}}, \code{\link[reticulate:use_python]{use_virtualenv}}} - \item{tfruns}{\code{\link[tfruns]{flag_boolean}}, \code{\link[tfruns]{flag_integer}}, \code{\link[tfruns]{flag_numeric}}, \code{\link[tfruns]{flag_string}}, \code{\link[tfruns]{flags}}, \code{\link[tfruns]{run_dir}}} + \item{tfruns}{\code{\link[tfruns:flags]{flag_boolean}}, \code{\link[tfruns:flags]{flag_integer}}, \code{\link[tfruns:flags]{flag_numeric}}, \code{\link[tfruns:flags]{flag_string}}, \code{\link[tfruns]{flags}}, \code{\link[tfruns]{run_dir}}} }} diff --git a/man/tf.Rd b/man/tf.Rd index f11eadef..9427e7de 100644 --- a/man/tf.Rd +++ b/man/tf.Rd @@ -4,7 +4,9 @@ \name{tf} \alias{tf} \title{Main TensorFlow module} -\format{TensorFlow module} +\format{ +TensorFlow module +} \usage{ tf } diff --git a/man/tf_extract_opts.Rd b/man/tf_extract_opts.Rd index 35ef365e..2da5b7d7 100644 --- a/man/tf_extract_opts.Rd +++ b/man/tf_extract_opts.Rd @@ -9,7 +9,8 @@ tf_extract_opts( ..., one_based = getOption("tensorflow.extract.one_based", TRUE), inclusive_stop = getOption("tensorflow.extract.inclusive_stop", TRUE), - disallow_out_of_bounds = getOption("tensorflow.extract.dissallow_out_of_bounds", TRUE), + disallow_out_of_bounds = getOption("tensorflow.extract.dissallow_out_of_bounds", + TRUE), warn_tensors_passed_asis = getOption("tensorflow.extract.warn_tensors_passed_asis", TRUE), warn_negatives_pythonic = getOption("tensorflow.extract.warn_negatives_pythonic",