Skip to content
This repository has been archived by the owner on May 10, 2022. It is now read-only.

Commit

Permalink
Merge pull request #48 from thanhleviet/master
Browse files Browse the repository at this point in the history
Fix #44
  • Loading branch information
sckott committed May 10, 2016
2 parents 4561bfc + 183cf10 commit b9884a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/random.R
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ lawn_random <- function(type = "points", n = 10, bbox = NULL,
num_vertices = NULL, max_radial_length = NULL) {

jj <- jsonlite::toJSON(cmp(list(bbox = bbox, num_vertices = num_vertices,
max_radial_length = max_radial_length)))
max_radial_length = max_radial_length)), auto_unbox = TRUE)
ct$eval(sprintf("var rnd = turf.random('%s', %s, %s);", type, n, jj))
as.fc(ct$get("rnd"))
}

0 comments on commit b9884a5

Please sign in to comment.