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

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

Open
ksasso opened this issue Jun 1, 2018 · 0 comments
Open

Comments

@ksasso
Copy link

ksasso commented Jun 1, 2018

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)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant