Skip to content

Commit

Permalink
spell check fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
pinduzera committed Jan 27, 2023
1 parent b07904d commit 9178cb1
Show file tree
Hide file tree
Showing 11 changed files with 20 additions and 20 deletions.
6 changes: 3 additions & 3 deletions R/core.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#' @param auth_code logical, if TRUE will open a browser with the user and request the authentication code to continue the authentication process. Viya 2022+ only.
#' @param authinfo A `character` string that specifies an alternative path to a `.authinfo` file that is used for authentication. By default, `~/.authinfo` is used on Linux and `%HOMEDRIVE%` or `\%HOMEPATH%\_authinfo` is used on Windows.
#' @param verbose logical, return print API call information
#' @param cacert ca certificat list
#' @param cacert ca certificate list
#' @param platform logical, make a get call to get platform information (release, OS, siteName)
#'
#' @return `viya_connection` class object
Expand Down Expand Up @@ -392,8 +392,8 @@ vGET <- function(session,
#' @param path character, path to the GET api endpoint
#' @param payload list or json string, if it is a list, will be transformed in a json string using `jsonlite::toJSON`
#' @param ... additional parameters to be passed to `httr::POST` such as `httr::add_headers`
#' @param query list, additional URL query paramenters
#' @param fragment string, additional URL fragment paramenter `url.com?query#fragment`
#' @param query list, additional URL query parameters
#' @param fragment string, additional URL fragment parameter `url.com?query#fragment`
#' @param encode payload encoding type, to be passed to `httr::POST`.
#' @param verbose logical, return print API call information
#' @param output string, if `output = "json"` will return `httr::fromJSON(httr::content(response, as = "text"))`,
Expand Down
6 changes: 3 additions & 3 deletions R/json_files.R
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ calculateFitStat <- function(validadedf,
#' Write dmcas_roc Json
#'
#' Calculates the ROC curve from user data and writes it to a JSON file for
#' importing into the common model repository. Binary reponse only.
#' importing into the common model repository. Binary response only.
#'
#' @param validadedf `data.frame` where the first column in the yActual (labels/value) and the second is yPrediction (target probability)
#' @param testdf `data.frame` where the first column in the yActual (labels/value) and the second is yPrediction (target probability)
Expand Down Expand Up @@ -831,7 +831,7 @@ calculateROCStat <- function(validadedf,
#' Write dmcas_lift Json
#'
#' Calculates the lift curves from user data and writes to a JSON file for
#' importing into the common model repository. Binary reponse only.
#' importing into the common model repository. Binary response only.
#'
#' @param validadedf `data.frame` where the first column in the yActual (labels/value) and the second is yPrediction (target probability)
#' @param testdf `data.frame` where the first column in the yActual (labels/value) and the second is yPrediction (target probability)
Expand Down Expand Up @@ -1115,7 +1115,7 @@ compute_lift_coordinates <- function(DepVar,
#'
#' @seealso
#'
#' All parameters are passed to [sasctl::calculateLiftStat()], [sasctl::calculateLiftStat()] and [sasctl::calculateLiftStat()] for matching paramentes.
#' All parameters are passed to [sasctl::calculateLiftStat()], [sasctl::calculateLiftStat()] and [sasctl::calculateLiftStat()] for matching parameters.
#'
#' @examples
#'
Expand Down
8 changes: 4 additions & 4 deletions R/model_repository.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#' Register a zip file inside model manager
#'
#' Registers a zip formated model in sas Model Manager.
#' Registers a zip formatted model in SAS Model Manager.
#'
#' @param session viya_connection object, obtained through `session` function
#' @param file path to file
Expand Down Expand Up @@ -1022,7 +1022,7 @@ delete_model_contents <- function(session, model, content, exact = TRUE){
#' @param start the index of the first content to return
#' @param exact boolean, If the filter query should use "contains" for partial match or "eq" for exact match
#' @param ... additional parameters to be passed to `httr::GET` such as `httr::add_headers`
#' @return A `MMmodelContentList` list with the list of contets
#' @return A `MMmodelContentList` list with the list of contents
#' @examples
#'
#' \dontrun{
Expand Down Expand Up @@ -1326,7 +1326,7 @@ add_model_content <- function(session, file,
#'
#' - The file should start with a function with all the input variables which SAS Viya will use to insert data
#'
#' - Then it is followed by a comment line `#output: outvar1, outvar2` which is case sensitve annd must follow that
#' - Then it is followed by a comment line `#output: outvar1, outvar2` which is case sensitive and must follow that
#' structure so SAS can receive the function output properly.
#'
#' - If you are using a previously created model, it should be read, we recommend `.rda` format, but could be
Expand All @@ -1335,7 +1335,7 @@ add_model_content <- function(session, file,
#'
#' - You then can use any logic to score the model or just an arbitrary R code.
#'
#' - To pass the information back to SAS it must return a list of the variables defined at the beggining of the
#' - To pass the information back to SAS it must return a list of the variables defined at the beginning of the
#' script.
#'
#' @param path path to create file, default current working directory
Expand Down
2 changes: 1 addition & 1 deletion man/calculateLiftStat.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/calculateROCStat.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/create_scoreSample.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/diagnosticsJson.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/list_model_contents.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/register_model.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/session.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/vPOST.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9178cb1

Please sign in to comment.