-
Notifications
You must be signed in to change notification settings - Fork 22
Final checks / modifications before submitting to CRAN #74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,16 +1,20 @@ | ||
| FROM ghcr.io/rocker-org/devcontainer/tidyverse:4.5 | ||
| FROM ghcr.io/rocker-org/devcontainer/r-ver:4.5 | ||
|
|
||
| # RUN \ | ||
| # echo 'options(repos=c(CRAN="https://packagemanager.posit.co/cran/__linux__/bookworm/latest"))' >> ~/.Rprofile && \ | ||
| # Rscript --vanilla -e 'getOption("repos")' | ||
| # Architecture-specific variable (built in Docker BuildKit) | ||
| ARG TARGETARCH | ||
|
|
||
| RUN install2.r --error languageserver && installGithub.r nx10/httpgd | ||
| # Install quarto-cli and the orange-book extension | ||
| RUN wget https://github.com/quarto-dev/quarto-cli/releases/download/v1.9.35/quarto-1.9.35-linux-${TARGETARCH}.deb && \ | ||
| dpkg -i quarto-1.9.35-linux-${TARGETARCH}.deb && \ | ||
| rm quarto-1.9.35-linux-${TARGETARCH}.deb | ||
|
|
||
| RUN apt-get update && apt-get install --no-install-recommends -y valgrind gdb \ | ||
| libglpk-dev | ||
|
|
||
| # Adding R packages | ||
| RUN install2.r --error Rcpp sna network networkDynamic Matrix MASS MatchIt SparseM igraph \ | ||
| viridisLite covr testthat knitr rmarkdown ape RSiena survival RcppArmadillo | ||
| RUN install2.r --error -n4 Rcpp sna network networkDynamic Matrix MASS \ | ||
| MatchIt SparseM igraph \ | ||
| viridisLite covr testthat knitr rmarkdown ape RSiena survival \ | ||
| RcppArmadillo | ||
|
|
||
| CMD ["bash"] | ||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -9,7 +9,7 @@ help: | |||||
| @echo " make docs - Generate documentation" | ||||||
|
|
||||||
| install: | ||||||
| Rscript --vanilla -e 'devtools::install()' | ||||||
| Rscript -e 'devtools::install()' | ||||||
|
|
||||||
| build: | ||||||
| R CMD build . | ||||||
|
|
@@ -18,7 +18,7 @@ README.md: README.qmd | |||||
| quarto render README.qmd | ||||||
|
|
||||||
| check: | ||||||
| Rscript --vanilla -e 'devtools::check()' | ||||||
| Rscript -e 'devtools::check()' | ||||||
|
|
||||||
| checkv: netdiffuseR_$(VERSION).tar.gz | ||||||
| R CMD check --as-cran --use-valgrind netdiffuseR_$(VERSION).tar.gz | ||||||
|
|
@@ -27,6 +27,6 @@ clean: | |||||
| rm -rf netdiffuseR.Rcheck src/*.so src/*.o | ||||||
|
|
||||||
| docs: | ||||||
| Rscript --vanilla -e 'devtools::document()' | ||||||
| Rscript -e 'devtools::document()' | ||||||
|
||||||
| Rscript -e 'devtools::document()' | |
| Rscript --vanilla -e 'devtools::document()' |
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The devcontainer downloads and installs the Quarto .deb directly via
wgetwithout any integrity verification (checksum/signature). Even though this is “dev-only”, it’s still a supply-chain risk; consider verifying a published SHA256 (or using a package manager / pinned digest) before installing.