Skip to content

Commit 55e9d12

Browse files
committed
Addressing review comments
1 parent 662305d commit 55e9d12

File tree

7 files changed

+18
-22
lines changed

7 files changed

+18
-22
lines changed

DESCRIPTION

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: RMAVIS
22
Title: Assign Vegetation Survey Data to GB NVC Communities
33
Version: 1.0
4-
Date: 2024-06-16
4+
Date: 2024-07-02
55
Authors@R: c(person(given = "Zeke",
66
family = "Marshall",
77
role = c("aut", "cre"),
@@ -56,7 +56,8 @@ Imports:
5656
vegan,
5757
writexl
5858
Suggests:
59-
testthat
59+
testthat,
60+
tinytex
6061
URL: https://github.com/NERC-CEH/RMAVIS
6162
BugReports: https://github.com/NERC-CEH/RMAVIS/issues
6263
Depends:

NEWS.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
---
2-
title: "Release notes for `RMAVIS`"
3-
output: html_document
4-
---
51

6-
# RMAVIS 1.0 (2024-06-16)
2+
# RMAVIS 1.0 (2024-07-02)
73
* Modifications:
84
- Updating README to include instructions on installing a LaTeX distribution using `{tinytex}`.
95
- Removing Dockerfile and docker-compose.yml as they are currently superfluous.
@@ -13,7 +9,7 @@ output: html_document
139
./inst/app/app.R
1410
* New Features:
1511
- Adding News section.
16-
- Adding function to run app (`RMAVIS::runApp()`).
12+
- Adding function to run app - `RMAVIS::runApp()`.
1713
- Adding contribution guidelines in CONTRIBUTING.md.
1814

1915
# RMAVIS 0.9998 (2024-05-22)

README.Rmd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ To run RMAVIS locally take the following steps.
5757
2. Install `RMAVIS` using `remotes::install_github("NERC-CEH/RMAVIS")`
5858
3. Run `install.packages("tinytex")` then `tinytex::install_tinytex()` to install a minimal LaTeX distribution.
5959
This is required to generate a pdf report.
60+
Note that this is only required if you do not have a LaTeX distribution already installed.
6061
4. From the R terminal run `RMAVIS::runApp()`.
6162

6263
If you wish to use the NVC-matching functions outside of the `RMAVIS` app,

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ To run RMAVIS locally take the following steps.
5656
2. Install `RMAVIS` using `remotes::install_github("NERC-CEH/RMAVIS")`
5757
3. Run `install.packages("tinytex")` then `tinytex::install_tinytex()`
5858
to install a minimal LaTeX distribution. This is required to
59-
generate a pdf report.
59+
generate a pdf report. Note that this is only required if you do not
60+
have a LaTeX distribution already installed.
6061
4. From the R terminal run `RMAVIS::runApp()`.
6162

6263
If you wish to use the NVC-matching functions outside of the `RMAVIS`

inst/app/NEWS.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
---
2-
title: "Release notes for `RMAVIS`"
3-
output: html_document
4-
---
51

6-
# RMAVIS 1.0 (2024-06-16)
2+
# RMAVIS 1.0 (2024-07-02)
73
* Modifications:
84
- Updating README to include instructions on installing a LaTeX distribution using `{tinytex}`.
95
- Removing Dockerfile and docker-compose.yml as they are currently superfluous.
@@ -13,7 +9,7 @@ output: html_document
139
./inst/app/app.R
1410
* New Features:
1511
- Adding News section.
16-
- Adding function to run app (`RMAVIS::runApp()`).
12+
- Adding function to run app - `RMAVIS::runApp()`.
1713
- Adding contribution guidelines in CONTRIBUTING.md.
1814

1915
# RMAVIS 0.9998 (2024-05-22)

inst/app/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ To run RMAVIS locally take the following steps.
5656
2. Install `RMAVIS` using `remotes::install_github("NERC-CEH/RMAVIS")`
5757
3. Run `install.packages("tinytex")` then `tinytex::install_tinytex()`
5858
to install a minimal LaTeX distribution. This is required to
59-
generate a pdf report.
59+
generate a pdf report. Note that this is only required if you do not
60+
have a LaTeX distribution already installed.
6061
4. From the R terminal run `RMAVIS::runApp()`.
6162

6263
If you wish to use the NVC-matching functions outside of the `RMAVIS`

inst/app/modules/surveyData_server.R

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -158,15 +158,15 @@ surveyData <- function(input, output, session, uploadDataTable, setupData, surve
158158

159159
cover_type <- "dropdown"
160160
cover_format <- NULL
161-
cover_source <- domin_options
161+
cover_source <- RMAVIS:::domin_options
162162
surveyData_reset <- surveyData_long_init |>
163163
dplyr::mutate(Cover = as.factor("+"))
164164

165165
} else if(coverScale == "braunBlanquet"){
166166

167167
cover_type <- "dropdown"
168168
cover_format <- NULL
169-
cover_source <- braunBlanquet_options
169+
cover_source <- RMAVIS:::braunBlanquet_options
170170
surveyData_reset <- surveyData_long_init |>
171171
dplyr::mutate(Cover = as.factor("+"))
172172

@@ -300,13 +300,13 @@ surveyData <- function(input, output, session, uploadDataTable, setupData, surve
300300

301301
cover_type <- "dropdown"
302302
cover_format <- NULL
303-
cover_source <- domin_options
303+
cover_source <- RMAVIS:::domin_options
304304

305305
} else if(coverScale == "braunBlanquet"){
306306

307307
cover_type <- "dropdown"
308308
cover_format <- NULL
309-
cover_source <- braunBlanquet_options
309+
cover_source <- RMAVIS:::braunBlanquet_options
310310

311311
}
312312

@@ -506,13 +506,13 @@ surveyData <- function(input, output, session, uploadDataTable, setupData, surve
506506

507507
cover_type <- "dropdown"
508508
cover_format <- NULL
509-
cover_source <- domin_options
509+
cover_source <- RMAVIS:::domin_options
510510

511511
} else if(coverScale == "braunBlanquet"){
512512

513513
cover_type <- "dropdown"
514514
cover_format <- NULL
515-
cover_source <- braunBlanquet_options
515+
cover_source <- RMAVIS:::braunBlanquet_options
516516

517517
}
518518

0 commit comments

Comments
 (0)