NCEAS / recordr

Provenance tracking for R.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Include local file and DataONE object info in view() output

gothub opened this issue · comments

Reviewing the output of viewRuns(), it may be confusing to put the local file and D1 URL under
viewRuns() "generated" section. The D1 "createObject" function essentially copies a file from
the local file system to a D1 MN. The local file may have been created manually or from a previous script, but we are listing it as an "output" of this script execution. The D1 URL is indeed an output of the script and so should be listed as such. I'm proposing that the viewRuns() listing be changed from

[generated]: 2 items generated by this run
-----------------------------------------
Location                                                     Size (kb)    Modified time      
/private/var/folders/zb/y107...mpgwQtAt/file71a86c167125.csv 59           2016-02-21 11:19:53
https://mn-stage-ucsb-2.test...3-e814-4cbd-b331-a3e157c02f11 59           2016-02-21 11:19:53

If it is necessary to show the user the local file associated with a D1 upload, then maybe we can
put that into the "viewObject()" function that will be available in a future release.

Updated [generated], [used] output in commit 55889a1