Skip to content

Commit

Permalink
Fix to to changed pkgdown v1.4 workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mrustl committed Sep 6, 2019
1 parent 608b193 commit 3f93882
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 158 deletions.
2 changes: 1 addition & 1 deletion .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
^.travis\.yml$
^.gitlab-ci\.yml$
^appveyor\.yml$
^index\.Rmd$
^index\.md$
^README\.md$
^.*\.Rproj$
^\.Rproj\.user$
Expand Down
152 changes: 0 additions & 152 deletions README.Rmd

This file was deleted.

10 changes: 5 additions & 5 deletions index.Rmd → index.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ computing and graphics. You can download it

Run R and install the following packages first:

```{r eval = FALSE}
```r
install.packages("remotes")
install.packages("usethis")
```

Then, install kwb.flusshygiene.app directly from [GitHub](https://github.com/)
with:

``` r
```r
remotes::install_github("KWB-R/kwb.flusshygiene.app")
```
## Giving access to the servers
Expand All @@ -55,7 +55,7 @@ We recommend to set these variables in the `.Renviron` file that is loaded
automatically when R is started. Use the function `edit_r_environ()` from
the usethis package (installed above) to open the `.Renviron` file in an editor:

```{r eval = FALSE}
```r
usethis::edit_r_environ()
```

Expand All @@ -79,7 +79,7 @@ Save and close the `.Renviron` file.

Once the environment variables are set you can run the following main script:

```{r eval = FALSE}
```r
# Set the root folder below which to expect/create the app's folder structure
kwb.flusshygiene.app::set_root("~/projekte/flusshygiene/fruehwarnsystem")

Expand All @@ -97,7 +97,7 @@ that is set to `FALSE` by default. The argument specifies whether to upload the
result of the daily prediction to the web server of Technologiestiftung Berlin
(TSB). Set this argument to `TRUE` only if you know what you are doing!

```{r eval = FALSE}
```r
kwb.flusshygiene.app::update_data_and_predict(upload = TRUE)
```

Expand Down

0 comments on commit 3f93882

Please sign in to comment.