Skip to content
This repository was archived by the owner on Oct 28, 2019. It is now read-only.
This repository was archived by the owner on Oct 28, 2019. It is now read-only.

testAllowedTypes function - Error : missing value where TRUE/FALSE needed #133

@ksasso

Description

@ksasso

Reproducible Example Duplicated error below. Fix for issue at Columbus Collaborators Github

Reproducible Example

azure_fxn <- function(input_thing){
  output_thing <- input_thing[input_thing$mpg > 30,]
  return(output_thing)
}

inputMTCars <- mtcars
inputMTCars$carnames <- rownames(mtcars)

#removing rowname col from mtcars. This produces an error on the Consume function, with table column count being 1 more than expected

rownames(inputMTCars) <- NULL

api <- publishWebService(
  ws,
  fun = azure_fxn,
  name = "AzureML-vignette-silly-function",
  inputSchema = inputMTCars
)
output <- consume(api, inputMTCars)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions