Skip to content

Commit

Permalink
Merge branch 'gitpod' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
mdsumner committed Dec 21, 2022
2 parents 0d51b90 + 9c77b9e commit 952c9b0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitpod.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM rocker/r-bspm:20.04
RUN apt update -y && apt upgrade -y && apt install -y \
libxml2-dev
libxml2-dev git
RUN install.r languageserver httpgd plumber shiny rlog remotes testthat cpp11
##RUN installGithub.r analythium/rconfig
1 change: 1 addition & 0 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ knitr::opts_chunk$set(
library(anglr)
```


# quad

<!-- badges: start -->
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ fast.
##previous we might have used anglr
system.time(anglr::as.mesh3d(elev))
#> user system elapsed
#> 0.029 0.028 0.059
#> 0.040 0.012 0.051

## what if it was much bigger
el <- elev[seq(1, nrow(elev), length.out = 3600), seq(1, ncol(elev), length.out = 1800)]
system.time(m3d <- anglr::as.mesh3d(el))
#> user system elapsed
#> 6.336 2.052 8.390
#> 6.706 1.940 8.645
str(m3d)
#> List of 6
#> $ vb : num [1:4, 1:6485401] 0 0 -3522 1 1 ...
Expand Down Expand Up @@ -92,7 +92,7 @@ system.time({

})
#> user system elapsed
#> 0.470 0.462 0.931
#> 0.535 0.433 0.968

str(vb)
#> num [1:4, 1:6485401] -180 180 -180 180 -90 ...
Expand Down

0 comments on commit 952c9b0

Please sign in to comment.