Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
sima-njf committed Dec 10, 2024
1 parent 035f693 commit 320606b
Show file tree
Hide file tree
Showing 8 changed files with 34 additions and 9 deletions.
1 change: 1 addition & 0 deletions .github/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.html
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export(filter_non_null)
export(filter_non_null_infected)
export(generate_theta)
export(plot_results)
export(prepare_data)
export(prepare_data_for_tensorflow)
export(prepare_data_infected)
export(preprocessing_data)
Expand Down
19 changes: 19 additions & 0 deletions man/prepare_data.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/run_simulations.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/simulate_calibrate_sir.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/train_model.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions tests/testthat.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
# * https://testthat.r-lib.org/articles/special-files.html

library(testthat)
library(myfirst.package)
library(epiworldRcalibrate)

test_check("myfirst.package")
test_check("epiworldRcalibrate")
12 changes: 8 additions & 4 deletions vignettes/calibrate.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,23 @@ The vignette guides you through the different stages of the function, including
## Prerequisites

Ensure that the following libraries are installed and loaded:

```{r}
library(epiworldRcalibrate)
```{r setup, include = FALSE}
knitr::opts_chunk$set(
eval = FALSE, # Globally disables evaluation of all chunks
echo = TRUE # Shows code in the vignette but does not run it
)
```



```{r}
library(epiworldR)
library(epiworldRcalibrate)
library(keras3)
library(data.table)
library(tensorflow)
library(reticulate)
reticulate::import("numpy")
library(epiworldRcalibrate)
```

# Function Overview
Expand Down

0 comments on commit 320606b

Please sign in to comment.