R/browse_cloud.R

Defines functions browse_cloud

Documented in browse_cloud

#' Open learning materials in RStudio Cloud
#'
#' `browse_cloud()` will open an RStudio Cloud version of a given learning
#' module in your browser. The cloud version will have the packages and
#' materials pre-installed.
#'
#' @param module The name of the module
#' @param open Logical. Open the URL in the browser? Default is `TRUE`. If
#'   `FALSE`, `browse_cloud()` just provides the URL for you to open yourself.
#'
#' @export
browse_cloud <- function(module, open = interactive()) {
  emptyfield::browse_cloud(module = module, open = open)
}
emptyfield-ds/rpkg.workshop documentation built on Jan. 6, 2022, 5:51 a.m.