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

Commit

Permalink
Fix #44
Browse files Browse the repository at this point in the history
  • Loading branch information
Viet Thanh Le authored and Viet Thanh Le committed May 10, 2016
1 parent 4561bfc commit 183cf10
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 183cf10

Please sign in to comment.