Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
brivas
ICOADS R HOSTACE
Commits
c47aef94
Commit
c47aef94
authored
3 years ago
by
Richard Cornes
Browse files
Options
Download
Email Patches
Plain Diff
Added directory creation if missing
parent
3acaa6be
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
rscripts/nrt_dup.R
rscripts/nrt_dup.R
+5
-0
No files found.
rscripts/nrt_dup.R
View file @
c47aef94
...
...
@@ -22,6 +22,11 @@ writeOutText = FALSE
config
<-
config
::
get
(
file
=
"config.yml"
)
odirs
<-
list
(
file.path
(
config
$
output_dir
,
"PAIR_DUPFILES"
),
file.path
(
config
$
output_dir
,
"MFILES_SHIP_FINAL"
))
imake.dirs
<-
lapply
(
odirs
,
function
(
D
){
if
(
!
dir.exists
(
D
))
dir.create
(
D
)
})
if
(
length
(
my_args
)
<
2
)
my_args
<-
my_args2
year
<-
my_args
[
1
]
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment