Description Usage Arguments Details Value Author(s) References See Also
Make an FDA-style Electronic Appendix from a Subversioned Directory.
1 2 3 4 5 6 7 8 9 10 |
x |
a Subversioned directory, e.g. a checkout of a repository or subdirectory thereof. |
as |
a file path for a directory to be created |
pattern |
passed to |
recursive |
passed to |
ignore.case |
passed to |
zip |
logical indicating whether to compress |
at |
a specific revision to export (head is exported by default, local changes preserved) |
... |
ignored |
FDA submissions may require electronic copies of file trees, where
text files must have the extension ‘txt’. This function
creates a copy of x
using svn export
(a system call).
It fixes the names of those files that Subversion considers text,
and optionally compresses the resulting directory to a zipped file
(also a system call). Not tested on all platforms, but should
work fine on most Unix-alikes.
For finer control over what is considered text, see svnMarkAsText
and svnMarkAsNonText
.
Note that non-subversioned files will not be included in the electronic appendix. An error results if any file is subversioned but missing.
as
must be specified as a directory name. If zip
is TRUE
, .zip will be added.
as
cannot pre-exist unless zip
is true, in which
case as
will be renamed temporarily while its namesake is zipped
and unlinked. By default, as
is like x
,
followed by rev
and revision number (if at
is specified) and
_EA
.
used for side effects
Tim Bergsma
http://metrumrg.googlecode.com
dir
svnIsText
svnMarkAsText
svnMarkAsNonText
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.