diff --git a/.Rbuildignore b/.Rbuildignore index fed55cd0..ae214709 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -23,3 +23,4 @@ vignettes/ inst/user2025 #inst/tinytest/ Makefile +^.devcontainer diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 00000000..5f39cf91 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,24 @@ +{ + "name": "tinyplot devcontainer", + "image": "rocker/r2u:24.04", + + "containerEnv": { + "NOT_CRAN": "true" + }, + + "postCreateCommand": "R -e \"install.packages(c('devtools', 'tinytest', 'tinysnapshot'))\" && R -e \"install.packages('httpgd', repos = c('https://community.r-multiverse.org', 'https://cloud.r-project.org'))\" && Rscript -e 'read.dcf(\"DESCRIPTION\", c(\"Imports\", \"Suggests\")) |> tools:::.split_dependencies() |> names() |> setdiff(tools:::.get_standard_package_names()$base) |> install.packages()'", + + "customizations": { + "vscode": { + "extensions": [ + "REditorSupport.r", + "quarto.quarto" + ], + "settings": { + "r.plot.useHttpgd": true + } + } + }, + + "remoteUser": "root" +} \ No newline at end of file diff --git a/NEWS.md b/NEWS.md index 699a17e4..bd9b7710 100644 --- a/NEWS.md +++ b/NEWS.md @@ -10,7 +10,7 @@ where the formatting is also better._ - Added support for "bubble" scatter plots, allowing for point size scaling via an appropriate `cex` argument (e.g., a continuous variable from your dataset). - The updated `?type_point` helpfile contains several examples. Simultaneously + The updated `?type_points` helpfile contains several examples. Simultaneously enables dual-legend support for combined size + color mappings. (#433 @grantmcdermott) - Improved horizontal legend spacing, as well as multicolumn legend support. A @@ -49,6 +49,7 @@ where the formatting is also better._ - Move `altdoc` from `Suggests` to `Config/Needs/website`. Thanks to @etiennebacher for the suggestion and to @eddelbuettel for help with the CI implementation. +- Add a `devcontainer.json` file for remote testing. (#480 @grantmcdermott) ## 0.4.2