Skip to content

Commit

Permalink
🐛 📝 nl_to_raster bugfix and pkg site update
Browse files Browse the repository at this point in the history
  • Loading branch information
nldoc committed Mar 28, 2019
1 parent 3fc93b8 commit beedd3a
Show file tree
Hide file tree
Showing 107 changed files with 1,461 additions and 1,640 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
@@ -1,7 +1,7 @@
Package: nlrx
Type: Package
Title: Setup, Run and Analyze 'NetLogo' Model Simulations from 'R' via 'XML'
Version: 0.1.0
Version: 0.2.0
Authors@R: c(person("Jan", "Salecker", email = "jsaleck@gwdg.de",
role = c("aut", "cre"), comment = c(ORCID = '0000-0002-9000-4229')),
person("Marco", "Sciaini", email = "sciaini.marco@gmail.com", role = c("aut"), comment = c(ORCID = '0000-0002-3042-5435')),
Expand Down
6 changes: 5 additions & 1 deletion NEWS.md
@@ -1,3 +1,7 @@
# nlrx 0.1.0
## nlrx 0.2.0

* nl_to_raster() hotfix

## nlrx 0.1.0

* First release to CRAN.
2 changes: 1 addition & 1 deletion R/nl_to_raster.R
Expand Up @@ -51,7 +51,7 @@ nl_to_raster <- function(nl){

patches_dat <- patches %>%
dplyr::select(patch.metrics) %>%
split(., patches[,c("siminputrow", "[step]", "random-seed")]) %>%
split(., patches[,c("siminputrow", "[step]", "random-seed")], lex.order=TRUE) %>%
purrr::map(., function(x){
raster::rasterFromXYZ(x[, c("pxcor",
"pycor",
Expand Down
8 changes: 5 additions & 3 deletions README.Rmd
Expand Up @@ -49,9 +49,11 @@ While the nlrx package might work without setting the Java system path explicitl

## Installation

~~You can install the released version of nlrx from~~
~~[CRAN](https://CRAN.R-project.org) with:~~
~~install.packages("nlrx")~~
You can install the released version of nlrx from
[CRAN](https://CRAN.R-project.org) with:
``` r
install.packages("nlrx")
```

And the development version from [GitHub](https://github.com/) with:

Expand Down
185 changes: 41 additions & 144 deletions README.md

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion cran-comments.md
@@ -1,6 +1,7 @@
# Resubmission

We replaced \dontrun with \donttest for examples that are executable but run longer then 5 sec per Rd-file.
Hotfix for nl_to_raster() function.
In the previous package version, under some circumstances the raster column was reported in wrong order.

## Test environments
* Windows 10, R 3.5.2
Expand Down
23 changes: 11 additions & 12 deletions docs/CODE_OF_CONDUCT.html

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

23 changes: 11 additions & 12 deletions docs/CONTRIBUTING.html

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

23 changes: 11 additions & 12 deletions docs/LICENSE.html

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

0 comments on commit beedd3a

Please sign in to comment.