End-to-end-provenance / RDataTracker

An R library to collect provenance from R scripts.
http://end-to-end-provenance.github.io/
GNU General Public License v3.0
39 stars 6 forks source link

Provenance directory should be normalized to use Unix-style paths when prov.dir option is used #648

Closed erboose closed 4 years ago

erboose commented 4 years ago

If the prov.dir option is used, the provenance directory is not normalized to use Unix-style paths. In Windows, for example, the provenance directory may appear as c:\prov instead of c:/prov in the JSON file. This could be addressed by adding winslash="/" in line 175 of API_core.R: base.dir <- normalizePath(getOption("prov.dir"), winslash=”/”, mustWork=FALSE).

blernermhc commented 4 years ago

Implemented in https://github.com/End-to-end-provenance/RDataTracker/commit/1f10c61e99510afd19fe1a3d847c80c3b03681ab