From 6848c6ca7efa584453ac493005c200ac2bcbc3cd Mon Sep 17 00:00:00 2001 From: Andrew Stryker Date: Tue, 24 Mar 2026 22:04:30 -0700 Subject: [PATCH] Pin R environment with statdown and depkit via renv - Add DESCRIPTION with explicit dependencies and GitHub remotes for statdown and depkit - Switch renv snapshot type from "implicit" to "explicit" so dependencies are declared, not scanned from source files - Regenerate renv.lock: adds statdown, depkit, httr2, svglite; bumps 9 CRAN packages; pins GitHub SHAs for custom packages - Rename scripts/renv.lock to scripts/install-packages.R (it was an R install script, not a lockfile) - Bump renv 1.1.7 -> 1.1.8 Co-Authored-By: Claude Opus 4.6 (1M context) --- DESCRIPTION | 13 ++ renv.lock | 232 +++++++++++++++++++--- renv/activate.R | 4 +- renv/settings.json | 2 +- scripts/{renv.lock => install-packages.R} | 0 5 files changed, 223 insertions(+), 28 deletions(-) create mode 100644 DESCRIPTION rename scripts/{renv.lock => install-packages.R} (100%) diff --git a/DESCRIPTION b/DESCRIPTION new file mode 100644 index 0000000..1ac7ca3 --- /dev/null +++ b/DESCRIPTION @@ -0,0 +1,13 @@ +Type: project +Package: website +Title: Andrew Stryker's Hugo Blog +Version: 0.0.1 +Depends: + statdown, + knitr, + tidyverse, + reactable, + svglite +Remotes: + andrewjstryker/statdown, + andrewjstryker/depkit diff --git a/renv.lock b/renv.lock index ca90a65..60795f9 100644 --- a/renv.lock +++ b/renv.lock @@ -11,10 +11,10 @@ "Packages": { "DBI": { "Package": "DBI", - "Version": "1.2.3", + "Version": "1.3.0", "Source": "Repository", "Title": "R Database Interface", - "Date": "2024-06-02", + "Date": "2026-02-11", "Authors@R": "c( person(\"R Special Interest Group on Databases (R-SIG-DB)\", role = \"aut\"), person(\"Hadley\", \"Wickham\", role = \"aut\"), person(\"Kirill\", \"Müller\", , \"kirill@cynkra.com\", role = c(\"aut\", \"cre\"), comment = c(ORCID = \"0000-0002-1416-3412\")), person(\"R Consortium\", role = \"fnd\") )", "Description": "A database interface definition for communication between R and relational database management systems. All classes in this package are virtual and need to be extended by the various R/DBMS implementations.", "License": "LGPL (>= 2.1)", @@ -27,8 +27,9 @@ "Suggests": [ "arrow", "blob", + "callr", "covr", - "DBItest", + "DBItest (>= 1.8.2)", "dbplyr", "downlit", "dplyr", @@ -37,6 +38,8 @@ "knitr", "magrittr", "nanoarrow (>= 0.3.0.1)", + "otel", + "otelsdk", "RMariaDB", "rmarkdown", "rprojroot", @@ -49,12 +52,12 @@ "Config/autostyle/scope": "line_breaks", "Config/autostyle/strict": "false", "Config/Needs/check": "r-dbi/DBItest", - "Encoding": "UTF-8", - "RoxygenNote": "7.3.1", "Config/Needs/website": "r-dbi/DBItest, r-dbi/dbitemplate, adbi, AzureKusto, bigrquery, DatabaseConnector, dittodb, duckdb, implyr, lazysf, odbc, pool, RAthena, IMSMWU/RClickhouse, RH2, RJDBC, RMariaDB, RMySQL, RPostgres, RPostgreSQL, RPresto, RSQLite, sergeant, sparklyr, withr", "Config/testthat/edition": "3", + "Encoding": "UTF-8", + "RoxygenNote": "7.3.3.9000", "NeedsCompilation": "no", - "Author": "R Special Interest Group on Databases (R-SIG-DB) [aut], Hadley Wickham [aut], Kirill Müller [aut, cre] (), R Consortium [fnd]", + "Author": "R Special Interest Group on Databases (R-SIG-DB) [aut], Hadley Wickham [aut], Kirill Müller [aut, cre] (ORCID: ), R Consortium [fnd]", "Maintainer": "Kirill Müller ", "Repository": "CRAN" }, @@ -907,6 +910,42 @@ "Maintainer": "Hadley Wickham ", "Repository": "CRAN" }, + "depkit": { + "Package": "depkit", + "Version": "0.0.0.9000", + "Source": "GitHub", + "Title": "Build-Time HTML Dependency Kit", + "Authors@R": "person(\"Andrew\", \"Stryker\", , \"axs@sdf.org\", role = c(\"aut\", \"cre\"))", + "Description": "Provides a 'DependencyManager' for registering, deduplicating, copying, and emitting HTML assets described by 'htmltools'/'htmlwidgets' dependencies. Tracks assets as ordered unique sets, copies only newly discovered files, and emits deterministic HTML snippets.", + "License": "MIT + file LICENSE", + "Encoding": "UTF-8", + "Language": "en", + "Roxygen": "list(markdown = TRUE)", + "RoxygenNote": "7.3.3", + "Imports": [ + "base64enc", + "digest", + "htmltools", + "httr2", + "openssl" + ], + "URL": "https://andrewjstryker.github.io/depkit, https://github.com/andrewjstryker/depkit", + "Suggests": [ + "htmlwidgets", + "knitr", + "rmarkdown", + "testthat (>= 3.0.0)" + ], + "VignetteBuilder": "knitr", + "Author": "Andrew Stryker [aut, cre]", + "Maintainer": "Andrew Stryker ", + "RemoteType": "github", + "RemoteHost": "api.github.com", + "RemoteUsername": "andrewjstryker", + "RemoteRepo": "depkit", + "RemoteRef": "main", + "RemoteSha": "223dfd06908622f92512ed97e68ecd9b1112c3c2" + }, "digest": { "Package": "digest", "Version": "0.6.39", @@ -1196,16 +1235,16 @@ }, "fs": { "Package": "fs", - "Version": "1.6.6", + "Version": "2.0.1", "Source": "Repository", "Title": "Cross-Platform File System Operations Based on 'libuv'", - "Authors@R": "c( person(\"Jim\", \"Hester\", role = \"aut\"), person(\"Hadley\", \"Wickham\", , \"hadley@posit.co\", role = \"aut\"), person(\"Gábor\", \"Csárdi\", , \"csardi.gabor@gmail.com\", role = c(\"aut\", \"cre\")), person(\"libuv project contributors\", role = \"cph\", comment = \"libuv library\"), person(\"Joyent, Inc. and other Node contributors\", role = \"cph\", comment = \"libuv library\"), person(\"Posit Software, PBC\", role = c(\"cph\", \"fnd\")) )", + "Authors@R": "c( person(\"Jim\", \"Hester\", role = \"aut\"), person(\"Hadley\", \"Wickham\", role = \"aut\"), person(\"Gábor\", \"Csárdi\", role = \"aut\"), person(\"Jeroen\", \"Ooms\", , \"jeroenooms@gmail.com\", role = \"cre\"), person(\"libuv project contributors\", role = \"cph\", comment = \"libuv library\"), person(\"Joyent, Inc. and other Node contributors\", role = \"cph\", comment = \"libuv library\"), person(\"Posit Software, PBC\", role = c(\"cph\", \"fnd\"), comment = c(ROR = \"03wc8by49\")) )", "Description": "A cross-platform interface to file system operations, built on top of the 'libuv' C library.", "License": "MIT + file LICENSE", "URL": "https://fs.r-lib.org, https://github.com/r-lib/fs", "BugReports": "https://github.com/r-lib/fs/issues", "Depends": [ - "R (>= 3.6)" + "R (>= 4.1)" ], "Imports": [ "methods" @@ -1223,17 +1262,17 @@ "withr" ], "VignetteBuilder": "knitr", - "ByteCompile": "true", + "SystemRequirements": "libuv: libuv-devel (rpm) or libuv1-dev (deb). Alternatively to build the vendored libuv 'cmake' is required. GNU make.", "Config/Needs/website": "tidyverse/tidytemplate", "Config/testthat/edition": "3", + "Config/usethis/last-upkeep": "2025-04-23", "Copyright": "file COPYRIGHTS", "Encoding": "UTF-8", "Language": "en-US", - "RoxygenNote": "7.2.3", - "SystemRequirements": "GNU make", + "RoxygenNote": "7.3.3", "NeedsCompilation": "yes", - "Author": "Jim Hester [aut], Hadley Wickham [aut], Gábor Csárdi [aut, cre], libuv project contributors [cph] (libuv library), Joyent, Inc. and other Node contributors [cph] (libuv library), Posit Software, PBC [cph, fnd]", - "Maintainer": "Gábor Csárdi ", + "Author": "Jim Hester [aut], Hadley Wickham [aut], Gábor Csárdi [aut], Jeroen Ooms [cre], libuv project contributors [cph] (libuv library), Joyent, Inc. and other Node contributors [cph] (libuv library), Posit Software, PBC [cph, fnd] (ROR: )", + "Maintainer": "Jeroen Ooms ", "Repository": "CRAN" }, "gargle": { @@ -1621,7 +1660,7 @@ }, "highr": { "Package": "highr", - "Version": "0.11", + "Version": "0.12", "Source": "Repository", "Type": "Package", "Title": "Syntax Highlighting for R Source Code", @@ -1643,9 +1682,9 @@ "BugReports": "https://github.com/yihui/highr/issues", "VignetteBuilder": "knitr", "Encoding": "UTF-8", - "RoxygenNote": "7.3.1", + "RoxygenNote": "7.3.3", "NeedsCompilation": "no", - "Author": "Yihui Xie [aut, cre] (), Yixuan Qiu [aut], Christopher Gandrud [ctb], Qiang Li [ctb]", + "Author": "Yihui Xie [aut, cre] (ORCID: ), Yixuan Qiu [aut], Christopher Gandrud [ctb], Qiang Li [ctb]", "Maintainer": "Yihui Xie ", "Repository": "CRAN" }, @@ -1799,6 +1838,66 @@ "Maintainer": "Hadley Wickham ", "Repository": "CRAN" }, + "httr2": { + "Package": "httr2", + "Version": "1.2.2", + "Source": "Repository", + "Title": "Perform HTTP Requests and Process the Responses", + "Authors@R": "c( person(\"Hadley\", \"Wickham\", , \"hadley@posit.co\", role = c(\"aut\", \"cre\")), person(\"Posit Software, PBC\", role = c(\"cph\", \"fnd\")), person(\"Maximilian\", \"Girlich\", role = \"ctb\") )", + "Description": "Tools for creating and modifying HTTP requests, then performing them and processing the results. 'httr2' is a modern re-imagining of 'httr' that uses a pipe-based interface and solves more of the problems that API wrapping packages face.", + "License": "MIT + file LICENSE", + "URL": "https://httr2.r-lib.org, https://github.com/r-lib/httr2", + "BugReports": "https://github.com/r-lib/httr2/issues", + "Depends": [ + "R (>= 4.1)" + ], + "Imports": [ + "cli (>= 3.0.0)", + "curl (>= 6.4.0)", + "glue", + "lifecycle", + "magrittr", + "openssl", + "R6", + "rappdirs", + "rlang (>= 1.1.0)", + "vctrs (>= 0.6.3)", + "withr" + ], + "Suggests": [ + "askpass", + "bench", + "clipr", + "covr", + "docopt", + "httpuv", + "jose", + "jsonlite", + "knitr", + "later (>= 1.4.0)", + "nanonext", + "otel (>= 0.2.0)", + "otelsdk (>= 0.2.0)", + "paws.common (>= 0.8.0)", + "promises", + "rmarkdown", + "testthat (>= 3.1.8)", + "tibble", + "webfakes (>= 1.4.0)", + "xml2" + ], + "VignetteBuilder": "knitr", + "Config/Needs/website": "tidyverse/tidytemplate", + "Config/testthat/edition": "3", + "Config/testthat/parallel": "true", + "Config/testthat/start-first": "resp-stream, req-perform", + "Encoding": "UTF-8", + "RoxygenNote": "7.3.3", + "NeedsCompilation": "no", + "Author": "Hadley Wickham [aut, cre], Posit Software, PBC [cph, fnd], Maximilian Girlich [ctb]", + "Maintainer": "Hadley Wickham ", + "Repository": "CRAN" + }, "ids": { "Package": "ids", "Version": "1.0.1", @@ -2513,7 +2612,7 @@ }, "ragg": { "Package": "ragg", - "Version": "1.5.0", + "Version": "1.5.2", "Source": "Repository", "Type": "Package", "Title": "Graphic Devices Based on AGG", @@ -2542,7 +2641,7 @@ "Config/testthat/edition": "3", "Config/usethis/last-upkeep": "2025-04-25", "Encoding": "UTF-8", - "RoxygenNote": "7.3.2", + "RoxygenNote": "7.3.3", "SystemRequirements": "freetype2, libpng, libtiff, libjpeg, libwebp, libwebpmux", "NeedsCompilation": "yes", "Author": "Thomas Lin Pedersen [cre, aut] (ORCID: ), Maxim Shemanarev [aut, cph] (Author of AGG), Tony Juricic [ctb, cph] (Contributor to AGG), Milan Marusinec [ctb, cph] (Contributor to AGG), Spencer Garrett [ctb] (Contributor to AGG), Posit Software, PBC [cph, fnd] (ROR: )", @@ -2800,7 +2899,7 @@ }, "renv": { "Package": "renv", - "Version": "1.1.7", + "Version": "1.1.8", "Source": "Repository", "Type": "Package", "Title": "Project Environments", @@ -2844,11 +2943,11 @@ "Encoding": "UTF-8", "RoxygenNote": "7.3.3", "VignetteBuilder": "knitr", + "NeedsCompilation": "yes", "Config/Needs/website": "tidyverse/tidytemplate", "Config/testthat/edition": "3", "Config/testthat/parallel": "true", "Config/testthat/start-first": "bioconductor,python,install,restore,snapshot,retrieve,remotes", - "NeedsCompilation": "no", "Author": "Kevin Ushey [aut, cre] (ORCID: ), Hadley Wickham [aut] (ORCID: ), Posit Software, PBC [cph, fnd]", "Maintainer": "Kevin Ushey ", "Repository": "CRAN" @@ -3200,6 +3299,41 @@ "Maintainer": "Simon Potter ", "Repository": "CRAN" }, + "statdown": { + "Package": "statdown", + "Version": "0.0.0.9000", + "Source": "GitHub", + "Title": "Use R in Your Static Site Without Replacing Your Static Site Generator", + "Authors@R": "person(\"Andrew\", \"Stryker\", , \"axs@sdf.org\", role = c(\"aut\", \"cre\"))", + "Description": "Renders R Markdown files to CommonMark that any static site generator can consume directly — no Pandoc, no second HTML engine. Handles htmlwidget dependencies (deduplication, CDN delivery, SRI integrity) via 'depkit' so interactive widgets work without giving up control of your site's build pipeline.", + "License": "MIT + file LICENSE", + "URL": "https://andrewjstryker.github.io/statdown/, https://github.com/andrewjstryker/statdown", + "BugReports": "https://github.com/andrewjstryker/statdown/issues", + "Encoding": "UTF-8", + "Roxygen": "list(markdown = TRUE)", + "RoxygenNote": "7.3.3", + "Config/testthat/edition": "3", + "Imports": [ + "depkit", + "htmltools", + "knitr" + ], + "Suggests": [ + "rmarkdown", + "svglite", + "testthat (>= 3.0.0)" + ], + "VignetteBuilder": "knitr", + "Author": "Andrew Stryker [aut, cre]", + "Maintainer": "Andrew Stryker ", + "RemoteType": "github", + "RemoteHost": "api.github.com", + "RemoteUsername": "andrewjstryker", + "RemoteRepo": "statdown", + "RemoteRef": "main", + "RemoteSha": "b7b7c134b890e1acf1b92ff9418b717125fe1a9b", + "Remotes": "andrewjstryker/depkit" + }, "stringi": { "Package": "stringi", "Version": "1.8.7", @@ -3275,6 +3409,54 @@ "Maintainer": "Hadley Wickham ", "Repository": "CRAN" }, + "svglite": { + "Package": "svglite", + "Version": "2.2.2", + "Source": "Repository", + "Title": "An 'SVG' Graphics Device", + "Authors@R": "c( person(\"Hadley\", \"Wickham\", , \"hadley@posit.co\", role = \"aut\"), person(\"Lionel\", \"Henry\", , \"lionel@posit.co\", role = \"aut\"), person(\"Thomas Lin\", \"Pedersen\", , \"thomas.pedersen@posit.co\", role = c(\"cre\", \"aut\"), comment = c(ORCID = \"0000-0002-5147-4711\")), person(\"T Jake\", \"Luciani\", , \"jake@apache.org\", role = \"aut\"), person(\"Matthieu\", \"Decorde\", , \"matthieu.decorde@ens-lyon.fr\", role = \"aut\"), person(\"Vaudor\", \"Lise\", , \"lise.vaudor@ens-lyon.fr\", role = \"aut\"), person(\"Tony\", \"Plate\", role = \"ctb\", comment = \"Early line dashing code\"), person(\"David\", \"Gohel\", role = \"ctb\", comment = \"Line dashing code and early raster code\"), person(\"Yixuan\", \"Qiu\", role = \"ctb\", comment = \"Improved styles; polypath implementation\"), person(\"Håkon\", \"Malmedal\", role = \"ctb\", comment = \"Opacity code\"), person(\"Posit Software, PBC\", role = c(\"cph\", \"fnd\"), comment = c(ROR = \"03wc8by49\")) )", + "Description": "A graphics device for R that produces 'Scalable Vector Graphics'. 'svglite' is a fork of the older 'RSvgDevice' package.", + "License": "GPL (>= 2)", + "URL": "https://svglite.r-lib.org, https://github.com/r-lib/svglite", + "BugReports": "https://github.com/r-lib/svglite/issues", + "Depends": [ + "R (>= 4.1)" + ], + "Imports": [ + "base64enc", + "cli", + "lifecycle", + "rlang (>= 1.1.0)", + "systemfonts (>= 1.3.0)", + "textshaping (>= 0.3.0)" + ], + "Suggests": [ + "covr", + "fontquiver (>= 0.2.0)", + "htmltools", + "knitr", + "rmarkdown", + "testthat (>= 3.0.0)", + "xml2 (>= 1.0.0)" + ], + "LinkingTo": [ + "cpp11", + "systemfonts", + "textshaping" + ], + "VignetteBuilder": "knitr", + "Config/build/compilation-database": "true", + "Config/Needs/website": "tidyverse/tidytemplate", + "Config/testthat/edition": "3", + "Config/usethis/last-upkeep": "2025-04-25", + "Encoding": "UTF-8", + "RoxygenNote": "7.3.2", + "SystemRequirements": "libpng", + "NeedsCompilation": "yes", + "Author": "Hadley Wickham [aut], Lionel Henry [aut], Thomas Lin Pedersen [cre, aut] (ORCID: ), T Jake Luciani [aut], Matthieu Decorde [aut], Vaudor Lise [aut], Tony Plate [ctb] (Early line dashing code), David Gohel [ctb] (Line dashing code and early raster code), Yixuan Qiu [ctb] (Improved styles; polypath implementation), Håkon Malmedal [ctb] (Opacity code), Posit Software, PBC [cph, fnd] (ROR: )", + "Maintainer": "Thomas Lin Pedersen ", + "Repository": "CRAN" + }, "sys": { "Package": "sys", "Version": "3.4.3", @@ -3301,7 +3483,7 @@ }, "systemfonts": { "Package": "systemfonts", - "Version": "1.3.1", + "Version": "1.3.2", "Source": "Repository", "Type": "Package", "Title": "System Native Font Finding", @@ -3349,7 +3531,7 @@ }, "textshaping": { "Package": "textshaping", - "Version": "1.0.4", + "Version": "1.0.5", "Source": "Repository", "Title": "Bindings to the 'HarfBuzz' and 'Fribidi' Libraries for Text Shaping", "Authors@R": "c( person(\"Thomas Lin\", \"Pedersen\", , \"thomas.pedersen@posit.co\", role = c(\"cre\", \"aut\"), comment = c(ORCID = \"0000-0002-5147-4711\")), person(\"Posit Software, PBC\", role = c(\"cph\", \"fnd\"), comment = c(ROR = \"03wc8by49\")) )", @@ -3748,7 +3930,7 @@ }, "vctrs": { "Package": "vctrs", - "Version": "0.7.1", + "Version": "0.7.2", "Source": "Repository", "Title": "Vector Helpers", "Authors@R": "c( person(\"Hadley\", \"Wickham\", , \"hadley@posit.co\", role = \"aut\"), person(\"Lionel\", \"Henry\", , \"lionel@posit.co\", role = \"aut\"), person(\"Davis\", \"Vaughan\", , \"davis@posit.co\", role = c(\"aut\", \"cre\")), person(\"data.table team\", role = \"cph\", comment = \"Radix sort based on data.table's forder() and their contribution to R's order()\"), person(\"Posit Software, PBC\", role = c(\"cph\", \"fnd\")) )", @@ -3935,7 +4117,7 @@ }, "xfun": { "Package": "xfun", - "Version": "0.56", + "Version": "0.57", "Source": "Repository", "Type": "Package", "Title": "Supporting Functions for Packages Maintained by 'Yihui Xie'", diff --git a/renv/activate.R b/renv/activate.R index ef25ef8..6e94798 100644 --- a/renv/activate.R +++ b/renv/activate.R @@ -2,8 +2,8 @@ local({ # the requested version of renv - version <- "1.1.7" - attr(version, "md5") <- "dd5d60f155dadff4c88c2fc6680504b4" + version <- "1.1.8" + attr(version, "md5") <- "cbffd086c66739a0fdaac7a30b4aa65c" attr(version, "sha") <- NULL # the project directory diff --git a/renv/settings.json b/renv/settings.json index 4aa5441..f299d93 100644 --- a/renv/settings.json +++ b/renv/settings.json @@ -11,7 +11,7 @@ "ppm.ignored.urls": [], "r.version": null, "snapshot.dev": false, - "snapshot.type": "implicit", + "snapshot.type": "explicit", "use.cache": true, "vcs.ignore.cellar": true, "vcs.ignore.library": true, diff --git a/scripts/renv.lock b/scripts/install-packages.R similarity index 100% rename from scripts/renv.lock rename to scripts/install-packages.R