Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Feret Jean-Baptiste
biodivMapR
Commits
d533a015
Commit
d533a015
authored
Jul 06, 2019
by
De Boissieu Florian
Browse files
fix bug in list.shp
parent
cc836494
Changes
1
Hide whitespace changes
Inline
Side-by-side
R/Lib_Validation_biodivMapR.R
View file @
d533a015
...
...
@@ -43,8 +43,8 @@ list.shp <- function(x){
ii
=
ii
+1
List.Shp
[
ii
]
=
dir
(
shp
,
pattern
=
'.shp$'
,
full.names
=
TRUE
,
ignore.case
=
FALSE
,
include.dirs
=
FALSE
)
}
}
else
if
(
typeof
(
Path.Shp
)
==
'character'
){
List.Shp
=
dir
(
Path.Shp
,
pattern
=
'.shp'
,
full.names
=
TRUE
,
ignore.case
=
FALSE
,
include.dirs
=
FALSE
)
}
else
if
(
typeof
(
x
)
==
'character'
){
List.Shp
=
dir
(
x
,
pattern
=
'.shp
$
'
,
full.names
=
TRUE
,
ignore.case
=
FALSE
,
include.dirs
=
FALSE
)
}
return
(
List.Shp
)
}
...
...
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