Skip to content

Commit

Permalink
Merge pull request #48 from cffdrs/BadgerOnABike/issue40
Browse files Browse the repository at this point in the history
Badger on a bike/issue40
  • Loading branch information
BadgerOnABike authored Sep 18, 2024
2 parents 0d2ae9d + 2975dc8 commit 7c7c335
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@
dev/*
revdep/
CRAN-SUBMISSION
cffdrs_r.Rproj
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ Description: This project provides a group of new functions to calculate
<https://cfs.nrcan.gc.ca/pubwarehouse/pdfs/10068.pdf>. Some functions
have two versions, table and raster based.
License: GPL-2
URL: https://r-forge.r-project.org/projects/cffdrs/
URL: https://github.com/cffdrs/cffdrs_r
BugReports:
https://r-forge.r-project.org/tracker/?func=browse&group_id=1970&atid=5372
https://github.com/cffdrs/cffdrs_r/issues/new/choose
Depends:
data.table,
foreach,
Expand Down
3 changes: 2 additions & 1 deletion R/fire_behaviour_prediction.r
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ fire_behaviour_prediction <- function(
# set local scope variables from the parameters for simpler to referencing
names(input) <- toupper(names(input))
ID <- input$ID
FUELTYPE <- toupper(input$FUELTYPE)
FUELTYPE <- input$FUELTYPE
FFMC <- input$FFMC
BUI <- input$BUI
WS <- input$WS
Expand Down Expand Up @@ -84,6 +84,7 @@ fire_behaviour_prediction <- function(
)
FUELTYPE <- rep("C2", n0)
}
FUELTYPE <- toupper(FUELTYPE)
if (!exists("FFMC") | is.null(FFMC)) {
warning(
paste0(
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,6 @@ You are able to install directly from the remote.

```
remotes::install_github("cffdrs/cffdrs_r")
## For Dev version
## remotes::install_github("cffdrs/cffdrs_r", ref="dev")
```

0 comments on commit 7c7c335

Please sign in to comment.