-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Remove references to RasterAPI in the non-expression-based R methods - Fix and simplify the R package build automation, including updating failing tests. The R packages will now appear with our release artefacts 👍 - Added caching and use of Posit public package manager in Github actions to avoid downloading Spark source every time and building R package dependencies from source - Skip coverage checks if being run _outside_ of the main build workflow
- Loading branch information
Showing
11 changed files
with
68 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
**/.Rhistory | ||
**/*.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
spark_location <- "/usr/spark-download/unzipped/spark-3.2.1-bin-hadoop2.7" | ||
Sys.setenv(SPARK_HOME = spark_location) | ||
|
||
library(SparkR, lib.loc = c(file.path(spark_location, "R", "lib"))) | ||
library(roxygen2) | ||
|
||
build_mosaic_docs <- function(){ | ||
# build doc | ||
roxygen2::roxygenize("sparkR-mosaic/sparkrMosaic") | ||
roxygen2::roxygenize("sparklyr-mosaic/sparklyrMosaic") | ||
|
||
} | ||
|
||
build_mosaic_docs() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
options(repos = c(CRAN = "https://packagemanager.posit.co/cran/__linux__/focal/latest")) | ||
|
||
install.packages("pkgbuild") | ||
install.packages("roxygen2") | ||
install.packages("sparklyr") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters