You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 28, 2019. It is now read-only.
* dev:
Bump version number to 0.2.12
Fail immediately in consume() if error code is 400. #57
Remove importFrom(utils, data)
Remove vignette artefacts
Rebuild vignettes
Implement workarounds to pass R CMD check in wrapper.R
Suppress warnings in download.datasets() to deal with some csv samples containing missing final line, i.e. missing line break. #115
Rebuild documentation using roxygen2 v5
Document how to use different regions. #105
Rename arguments from tries to .retry #116
Fixed typo in URL. #105
Update date
Refactor, and catch error with NA values. #115
Copy file name to clipboardExpand all lines: R/consume.R
+6-5Lines changed: 6 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,7 @@
29
29
#' @export
30
30
#'
31
31
#' @inheritParams refresh
32
+
#' @inheritParams publishWebService
32
33
#' @param endpoint Either an AzureML web service endpoint returned by \code{\link{publishWebService}}, \code{\link{endpoints}}, or simply an AzureML web service from \code{\link{services}}; in the latter case the default endpoint for the service will be used.
33
34
#' @param ... variable number of requests entered as lists in key-value format; optionally a single data frame argument.
34
35
#' @param globalParam global parameters entered as a list, default value is an empty list
Copy file name to clipboardExpand all lines: R/publish.R
+9-17Lines changed: 9 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,7 @@
29
29
#' @export
30
30
#'
31
31
#' @inheritParams refresh
32
+
#' @inheritParams workspace
32
33
#' @param fun a function to publish; the function must have at least one argument.
33
34
#' @param name name of the new web service; ignored when \code{serviceId} is specified (when updating an existing web service).
34
35
#'
@@ -43,6 +44,7 @@
43
44
#' @param serviceId optional Azure web service ID; use to update an existing service (see Note below).
44
45
#' @param host optional Azure regional host, defaulting to the global \code{management_endpoint} set in \code{\link{workspace}}
45
46
#' @param data.frame \code{TRUE} indicates that the function \code{fun} accepts a data frame as input and returns a data frame output; automatically set to \code{TRUE} when \code{inputSchema} is a data frame.
47
+
#' @param .retry number of tries before failing
46
48
#'
47
49
#' @return A data.frame describing the new service endpoints, cf. \code{\link{endpoints}}. The output can be directly used by the \code{\link{consume}} function.
#' If any of the \code{id}, \code{auth}, \code{api_endpoint} or \code{management_endpoint} arguments are missing, the function attempts to read values from the \code{config} file with JSON format:
78
79
#' \preformatted{
79
80
#' {"workspace":{
80
81
#' "id": "enter your AzureML workspace id here",
81
82
#' "authorization_token": "enter your AzureML authorization token here",
#' @section Using a workspace in different Azure Machine Learning regions:
98
+
#'
99
+
#' By default, the Azure Machine Learning workspace is located in US South Central, but it is possible to create a workspace in different regions, including Europe West and Asia Southeast.
100
+
#'
101
+
#' To use a workspace in Asia Southeast, you can modify the api endpoint line in the JSON file:
#' @param id Optional workspace id from ML studio -> settings -> WORKSPACE ID. See the section "Finding your AzureML credentials" for more details.
90
119
#' @param auth Optional authorization token from ML studio -> settings -> AUTHORIZATION TOKENS. See the section "Finding your AzureML credentials" for more details.
91
-
#' @param api_endpoint Optional AzureML API web service URI. Defaults to \code{https://studioap.azureml.net} if not provided and not specified in config. See note.
120
+
#' @param api_endpoint Optional AzureML API web service URI. Defaults to \code{https://studioapi.azureml.net} if not provided and not specified in config. See note.
92
121
#' @param management_endpoint Optional AzureML management web service URI. Defaults to \code{https://management.azureml.net} if not provided and not specified in config. See note.
93
122
#' @param config Optional settings file containing id and authorization info. Used if any of the other arguments are missing. The default config file is \code{~/.azureml/settings.json}, but you can change this location by setting \code{options(AzureML.config = "newlocation")}. See the section "Using a settings.json file" for more details.
0 commit comments