moj-analytical-services / s3tools

Interact with files in s3 on the Analytical Platform
8 stars 2 forks source link

Namespace issue means that `s3tools::s3_path_to_df()` is exposed to users but doesn't work #24

Closed RobinL closed 6 years ago

RobinL commented 6 years ago

See here for description of problem.

In summary

> s3tools::s3_path_to_df("alpha-everyone/iris.csv")
Error in UseMethod("s3_path_to_df", path) : 
  no applicable method for 's3_path_to_df' applied to an object of class "csv"

Investigation shows that this is because s3_path_to_df is incorrectly exposed in the namespace, but e.g. s3_path_to_df.csv is not.