Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
UMR-ASTRE
mapMCDA
Commits
e24dc9e9
Commit
e24dc9e9
authored
Aug 27, 2020
by
Facundo Muñoz
®️
Browse files
Bugfix: finding home path in non-UTF8 Windows with accented characters in user-name
https://github.com/r-lib/fs/issues/291
parent
716aace1
Changes
2
Show whitespace changes
Inline
Side-by-side
DESCRIPTION
View file @
e24dc9e9
Package: mapMCDA
Title: Produce an epidemiological risk map by weighting multiple risk
factors
Version: 0.4.5
2
Version: 0.4.5
3
Date: 2020-05-23
Authors@R: c( person("Andrea", "Apolloni", email =
"andrea.apolloni@cirad.fr", role = c("ctb"), comment = "Animal
...
...
inst/interface/server.R
View file @
e24dc9e9
...
...
@@ -25,7 +25,7 @@ server <- function(input, output, session) {
# For shinyFiles package
volumes
<-
c
(
Home
=
fs
::
path_home
(
),
"R Installation"
=
R.home
(),
getVolumes
()())
volumes
<-
c
(
Home
=
normalizePath
(
path.expand
(
"~/"
)
),
"R Installation"
=
R.home
(),
getVolumes
()())
shinyFileChoose
(
input
,
"file"
,
roots
=
volumes
,
session
=
session
)
# use after input$file
...
...
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