Skip to content

Commit

Permalink
maj site
Browse files Browse the repository at this point in the history
  • Loading branch information
pydemull committed Jan 28, 2024
1 parent 699920a commit b4ec528
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 15 deletions.
4 changes: 2 additions & 2 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ activAnalyzer is a Shiny app that has been developed to analyze daily physical b
There are three different ways to use the activAnalyzer app:

* [On the web via a shinyapps.io platform](https://pydemull.shinyapps.io/activAnalyzer/) (stable version). For information, as indicated by [RStudio](https://www.shinyapps.io/), "*shinyapps.io is secure-by-design. Each Shiny application runs in its own protected environment and access is always SSL encrypted*". Importantly, the app is hosted using a free account that allows to run apps for 25 hours per month. Thus, the availability of the app on the web is very dependent on the number of users as well as the time spent by each user on the app. Moreover, as computations when using the app can be quite intensive, it is possible that speed and stability of this online version of the app become sometimes compromised. For these reasons, this option should be considered as a way to have a quick look at how the app works. The other available options (please see below) will be more appropriate for working with the app on a regular basis. Of note, Google Chrome and Microsoft Edge browsers allow the app to work as expected but Mozilla Firefox does not seem to allow resetting all the inputs when required.
* [On your machine via a standalone desktop app](https://sourceforge.net/projects/activanalyzer) that is downloadable from the SourceForge website (stable version, for Windows machines only). The standalone app has been developed using the framework *DesktopDeployR* made available by [W. Lee Pang](https://github.com/wleepang). Explanations related to this framework can be retrieved from [a dedicated GitHub repository](https://github.com/wleepang/DesktopDeployR). Once the app is installed on your PC, you will have to double-click on the desktop app icon (if you chose this option during the installation process), which will run the R-portable version embedded in the app and then will launch the app in your default web browser with 127.0.0.1 as the value for the host parameter. This means that only your current machine will can access the app. You will can open only one session at a time. As written above, Google Chrome and Microsoft Edge browsers allow the app to work as expected but Mozilla Firefox does not seem to allow resetting all the inputs when required.
* On your machine via [R software](https://CRAN.R-project.org/) (version: $\ge$ 3.4.0), the [RStudio environment](https://posit.co/) (recommended version: Prairie Trillium [2022.02]; **Elsbeth Geranium [2022-12] and newer releases of RStudio do not allow to correctly quit the app from the RStudio window**), and the [activAnalyzer package](https://github.com/pydemull/activAnalyzer) installable from CRAN (stable version) or from GitHub (development version). To be able to generate a .pdf report, you will have to install the [TinyTeX distribution](https://yihui.org/tinytex/). The first time you will generate a .pdf report, you will have to wait some time so that the required packages are installed on your machine. In short, after installing R and RStudio, you can run the following command lines in the RStudio console:
* [On your machine via a standalone desktop app](https://sourceforge.net/projects/activanalyzer) that is downloadable from the SourceForge website (stable version, for Windows machines only). The standalone app has been developed using the framework *DesktopDeployR* made available by [W. Lee Pang](https://github.com/wleepang). Explanations related to this framework can be retrieved from [a dedicated GitHub repository](https://github.com/wleepang/DesktopDeployR). Once the app is installed on your PC, you will have to double-click on the desktop app icon (if you chose this option during the installation process), which will run the R-portable version embedded in the app and then will launch the app in your default web browser with 127.0.0.1 as the value for the host parameter. This means that only your current machine will can access the app. You will can open only one session at a time. As written above, Google Chrome and Microsoft Edge browsers allow the app to work as expected but Mozilla Firefox does not seem to allow resetting all the inputs when required. Due to the extra work required to maintain such a format of the app up to date, it is not planned for the moment to provide updates for version 2.0.2 and newer versions.
* On your machine via [R software](https://CRAN.R-project.org/) (version: $\ge$ 3.4.0), the [RStudio environment](https://posit.co/), and the [activAnalyzer package](https://github.com/pydemull/activAnalyzer) installable from CRAN (stable version) or from GitHub (development version). With version 2.0.1 and former versions, the app is launched in the RStudio window by default. For these versions, unfortunately only the RStudio version called Prairie Trillium [2022.02] and former versions allow to correctly quit the app from the RStudio window. Since version 2.0.2, the app is launched in the default web browser by default and could be used with the latest RStudio version (hopefully) without problems. Whatever the version used, to be able to generate a .pdf report, you will have to install the [TinyTeX distribution](https://yihui.org/tinytex/). The first time you will generate a .pdf report, you will have to wait some time so that the required packages are installed on your machine. In short, after installing R and RStudio, you can run the following command lines in the RStudio console:

``` {r, eval=FALSE}
# For CRAN version:
Expand Down
22 changes: 15 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,23 @@ There are three different ways to use the activAnalyzer app:
machine will can access the app. You will can open only one session at
a time. As written above, Google Chrome and Microsoft Edge browsers
allow the app to work as expected but Mozilla Firefox does not seem to
allow resetting all the inputs when required.
allow resetting all the inputs when required. Due to the extra work
required to maintain such a format of the app up to date, it is not
planned for the moment to provide updates for version 2.0.2 and newer
versions.
- On your machine via [R software](https://CRAN.R-project.org/)
(version: $\ge$ 3.4.0), the [RStudio environment](https://posit.co/)
(recommended version: Prairie Trillium \[2022.02\]; **Elsbeth Geranium
\[2022-12\] and newer releases of RStudio do not allow to correctly
quit the app from the RStudio window**), and the [activAnalyzer
(version: $\ge$ 3.4.0), the [RStudio environment](https://posit.co/),
and the [activAnalyzer
package](https://github.com/pydemull/activAnalyzer) installable from
CRAN (stable version) or from GitHub (development version). To be able
to generate a .pdf report, you will have to install the [TinyTeX
CRAN (stable version) or from GitHub (development version). With
version 2.0.1 and former versions, the app is launched in the RStudio
window by default. For these versions, unfortunately only the RStudio
version called Prairie Trillium \[2022.02\] and former versions allow
to correctly quit the app from the RStudio window. Since version
2.0.2, the app is launched in the default web browser by default and
could be used with the latest RStudio version (hopefully) without
problems. Whatever the version used, to be able to generate a .pdf
report, you will have to install the [TinyTeX
distribution](https://yihui.org/tinytex/). The first time you will
generate a .pdf report, you will have to wait some time so that the
required packages are installed on your machine. In short, after
Expand Down
12 changes: 6 additions & 6 deletions renv.lock
Original file line number Diff line number Diff line change
Expand Up @@ -994,9 +994,9 @@
},
"patchwork": {
"Package": "patchwork",
"Version": "1.1.3",
"Version": "1.2.0",
"Source": "Repository",
"Repository": "CRAN",
"Repository": "RSPM",
"Requirements": [
"cli",
"ggplot2",
Expand All @@ -1008,7 +1008,7 @@
"stats",
"utils"
],
"Hash": "c5754106c02e8e019941100c81149431"
"Hash": "9c8ab14c00ac07e9e04d1664c0b74486"
},
"pillar": {
"Package": "pillar",
Expand Down Expand Up @@ -1144,14 +1144,14 @@
},
"rlang": {
"Package": "rlang",
"Version": "1.1.2",
"Version": "1.1.3",
"Source": "Repository",
"Repository": "CRAN",
"Repository": "RSPM",
"Requirements": [
"R",
"utils"
],
"Hash": "50a6dbdc522936ca35afc5e2082ea91b"
"Hash": "42548638fae05fd9a9b5f3f437fbbbe2"
},
"rmarkdown": {
"Package": "rmarkdown",
Expand Down

0 comments on commit b4ec528

Please sign in to comment.