example.R

Execution end time

2024-12-17T13:30:30 Coordinated Universal Time

Path to script

/tmp/RtmpRo1Unc/file21ebc7946ee/example.R

Summary

success

Input

time file
2024-12-17 13:30:21 /dev/urandom
2024-12-17 13:30:22 /home/runner/.Rprofile
2024-12-17 13:30:23 /tmp/RtmpRo1Unc/file21ebc7946ee/example.R

Output

time file
2024-12-17 13:30:21 /dev/null
2024-12-17 13:30:24 /tmp/RtmpRo1Unc/file21ebc7946ee/plot1.png

Removed

file
No files

Script

Setup

library(dplyr)
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':

    filter, lag
The following objects are masked from 'package:base':

    intersect, setdiff, setequal, union
library(ggplot2)

Prepare data

x <- mtcars |>
  as_tibble(rownames = "car")

print(x)
# A tibble: 32 × 12
   car           mpg   cyl  disp    hp  drat    wt  qsec    vs    am  gear  carb
   <chr>       <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
 1 Mazda RX4    21       6  160    110  3.9   2.62  16.5     0     1     4     4
 2 Mazda RX4 …  21       6  160    110  3.9   2.88  17.0     0     1     4     4
 3 Datsun 710   22.8     4  108     93  3.85  2.32  18.6     1     1     4     1
 4 Hornet 4 D…  21.4     6  258    110  3.08  3.22  19.4     1     0     3     1
 5 Hornet Spo…  18.7     8  360    175  3.15  3.44  17.0     0     0     3     2
 6 Valiant      18.1     6  225    105  2.76  3.46  20.2     1     0     3     1
 7 Duster 360   14.3     8  360    245  3.21  3.57  15.8     0     0     3     4
 8 Merc 240D    24.4     4  147.    62  3.69  3.19  20       1     0     4     2
 9 Merc 230     22.8     4  141.    95  3.92  3.15  22.9     1     0     4     2
10 Merc 280     19.2     6  168.   123  3.92  3.44  18.3     1     0     4     4
# ℹ 22 more rows

Create and save plot

ggplot(data = x) +
  geom_point(mapping = aes(x = mpg, y = hp, size = wt, colour = as.factor(am)))

ggsave("plot1.png")
Saving 7 x 5 in image

Session info

Platform

Setting Value
version R version 4.4.2 (2024-10-31)
os Ubuntu 24.04.1 LTS
system x86_64, linux-gnu
ui X11
language en
collate C.UTF-8
ctype C.UTF-8
tz UTC
date 2024-12-17
pandoc 3.1.11 @ /opt/hostedtoolcache/pandoc/3.1.11/x64/ (via rmarkdown)
quarto 1.6.39 @ /opt/quarto/bin/quarto

R Packages

Package Version Date (UTC) Source
callr 3.7.6 2024-03-25 RSPM
cli 3.6.3 2024-06-21 RSPM
colorspace 2.1-1 2024-07-26 RSPM
digest 0.6.37 2024-08-19 RSPM
dplyr 1.1.4 2023-11-17 RSPM
evaluate 1.0.1 2024-10-10 RSPM
fansi 1.0.6 2023-12-08 RSPM
farver 2.1.2 2024-05-13 RSPM
fastmap 1.2.0 2024-05-15 RSPM
generics 0.1.3 2022-07-05 RSPM
ggplot2 3.5.1 2024-04-23 RSPM
glue 1.8.0 2024-09-30 RSPM
gtable 0.3.6 2024-10-25 RSPM
htmltools 0.5.8.1 2024-04-04 RSPM
jsonlite 1.8.9 2024-09-20 RSPM
knitr 1.49 2024-11-08 RSPM
labeling 0.4.3 2023-08-29 RSPM
lattice 0.22-6 2024-03-20 CRAN (R 4.4.2)
lifecycle 1.0.4 2023-11-07 RSPM
magrittr 2.0.3 2022-03-30 RSPM
Matrix 1.7-1 2024-10-18 CRAN (R 4.4.2)
munsell 0.5.1 2024-04-01 RSPM
pillar 1.9.0 2023-03-22 RSPM
pkgconfig 2.0.3 2019-09-22 RSPM
png 0.1-8 2022-11-29 RSPM
processx 3.8.4 2024-03-16 RSPM
ps 1.8.1 2024-10-28 RSPM
R6 2.5.1 2021-08-19 RSPM
ragg 1.3.3 2024-09-11 RSPM
Rcpp 1.0.13-1 2024-11-02 RSPM
reticulate 1.40.0 2024-11-15 RSPM
rlang 1.1.4 2024-06-04 RSPM
rmarkdown 2.29 2024-11-04 RSPM
scales 1.3.0 2023-11-28 RSPM
sessioninfo 1.2.2 2021-12-06 RSPM
systemfonts 1.1.0 2024-05-15 RSPM
textshaping 0.4.1 2024-12-06 RSPM
tibble 3.2.1 2023-03-20 RSPM
tidyselect 1.2.1 2024-03-11 RSPM
utf8 1.2.4 2023-10-22 RSPM
vctrs 0.6.5 2023-12-01 RSPM
whirl 0.1.7 2024-12-17 local
withr 3.0.2 2024-10-28 RSPM
xfun 0.49 2024-10-31 RSPM
yaml 2.3.10 2024-07-26 RSPM

Environment variables

Setting Value
_R_CHECK_SYSTEM_CLOCK_ FALSE
ACCEPT_EULA Y
ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE /opt/actionarchivecache
AGENT_TOOLSDIRECTORY /opt/hostedtoolcache
ANDROID_HOME /usr/local/lib/android/sdk
ANDROID_NDK /usr/local/lib/android/sdk/ndk/27.2.12479018
ANDROID_NDK_HOME /usr/local/lib/android/sdk/ndk/27.2.12479018
ANDROID_NDK_LATEST_HOME /usr/local/lib/android/sdk/ndk/27.2.12479018
ANDROID_NDK_ROOT /usr/local/lib/android/sdk/ndk/27.2.12479018
ANDROID_SDK_ROOT /usr/local/lib/android/sdk
ANT_HOME /usr/share/ant
AZURE_EXTENSION_DIR /opt/az/azcliextensions
BIBINPUTS ::/home/runner/work/whirl/whirl/vignettes/ar<br>ticles:/opt/R/4.4.2/lib/R/share/texmf/tex/lat<br>ex
BOOTSTRAP_HASKELL_NONINTERACTIVE 1
BSTINPUTS :/home/runner/work/whirl/whirl/vignettes/art<br>icles:/opt/R/4.4.2/lib/R/share/texmf/bibtex/b<br>st
BUNDLE_EXT linux-amd64.deb
CALLR_IS_RUNNING true
CHROME_BIN /usr/bin/google-chrome
CHROMEWEBDRIVER /usr/local/share/chromedriver-linux64
CI true
CONDA /usr/share/miniconda
CYGWIN nodosfilewarning
DEBIAN_FRONTEND noninteractive
DENO_DOM_PLUGIN /opt/quarto/bin/tools/x86_64/deno_dom/libplu<br>gin.so
DENO_NO_UPDATE_CHECK 1
DENO_TLS_CA_STORE system,mozilla
DEPLOYMENT_BASEPATH /opt/runner
DOTNET_MULTILEVEL_LOOKUP 0
DOTNET_NOLOGO 1
DOTNET_SKIP_FIRST_TIME_EXPERIENCE 1
EDGEWEBDRIVER /usr/local/share/edge_driver
EDITOR vi
GECKOWEBDRIVER /usr/local/share/gecko_driver
GHCUP_INSTALL_BASE_PREFIX /usr/local
GITHUB_ACTION __run
GITHUB_ACTION_REF
GITHUB_ACTION_REPOSITORY
GITHUB_ACTIONS true
GITHUB_ACTOR akselthomsen
GITHUB_ACTOR_ID 14150030
GITHUB_API_URL https://api.github.com
GITHUB_BASE_REF
GITHUB_ENV /home/runner/work/_temp/_runner_file_command<br>s/set_env_4a7c7563-e3b9-4b8e-b252-f75629b77fd<br>7
GITHUB_EVENT_NAME push
GITHUB_EVENT_PATH /home/runner/work/_temp/_github_workflow/eve<br>nt.json
GITHUB_GRAPHQL_URL https://api.github.com/graphql
GITHUB_HEAD_REF
GITHUB_JOB pkgdown
GITHUB_OUTPUT /home/runner/work/_temp/_runner_file_command<br>s/set_output_4a7c7563-e3b9-4b8e-b252-f75629b7<br>7fd7
GITHUB_PATH /home/runner/work/_temp/_runner_file_command<br>s/add_path_4a7c7563-e3b9-4b8e-b252-f75629b77f<br>d7
GITHUB_REF refs/heads/main
GITHUB_REF_NAME main
GITHUB_REF_PROTECTED true
GITHUB_REF_TYPE branch
GITHUB_REPOSITORY NovoNordisk-OpenSource/whirl
GITHUB_REPOSITORY_ID 865991741
GITHUB_REPOSITORY_OWNER NovoNordisk-OpenSource
GITHUB_REPOSITORY_OWNER_ID 129066790
GITHUB_RETENTION_DAYS 90
GITHUB_RUN_ATTEMPT 1
GITHUB_RUN_ID 12373975363
GITHUB_RUN_NUMBER 127
GITHUB_SERVER_URL https://github.com
GITHUB_SHA 81e06116326dd1ccf145b3acfc688c2cbe0a075b
GITHUB_STATE /home/runner/work/_temp/_runner_file_command<br>s/save_state_4a7c7563-e3b9-4b8e-b252-f75629b7<br>7fd7
GITHUB_STEP_SUMMARY /home/runner/work/_temp/_runner_file_command<br>s/step_summary_4a7c7563-e3b9-4b8e-b252-f75629<br>b77fd7
GITHUB_TRIGGERING_ACTOR akselthomsen
GITHUB_WORKFLOW All actions
GITHUB_WORKFLOW_REF NovoNordisk-OpenSource/whirl/.github/workflo<br>ws/check_and_co.yaml@refs/heads/main
GITHUB_WORKFLOW_SHA 81e06116326dd1ccf145b3acfc688c2cbe0a075b
GITHUB_WORKSPACE /home/runner/work/whirl/whirl
GOROOT_1_21_X64 /opt/hostedtoolcache/go/1.21.13/x64
GOROOT_1_22_X64 /opt/hostedtoolcache/go/1.22.10/x64
GOROOT_1_23_X64 /opt/hostedtoolcache/go/1.23.4/x64
GRADLE_HOME /usr/share/gradle-8.11.1
HOME /home/runner
HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS 3650
HOMEBREW_NO_AUTO_UPDATE 1
ImageOS ubuntu24
ImageVersion 20241215.1.0
IN_PKGDOWN true
INVOCATION_ID 7b46bab7c6cf49aba247c71b53f8423a
JAVA_HOME /usr/lib/jvm/temurin-17-jdk-amd64
JAVA_HOME_11_X64 /usr/lib/jvm/temurin-11-jdk-amd64
JAVA_HOME_17_X64 /usr/lib/jvm/temurin-17-jdk-amd64
JAVA_HOME_21_X64 /usr/lib/jvm/temurin-21-jdk-amd64
JAVA_HOME_8_X64 /usr/lib/jvm/temurin-8-jdk-amd64
JOURNAL_STREAM 8:7492
LANG C.UTF-8
LANGUAGE en
LD_LIBRARY_PATH /opt/R/4.4.2/lib/R/lib:/usr/local/lib:/usr/l<br>ib/x86_64-linux-gnu:/usr/lib/jvm/temurin-17-j<br>dk-amd64/lib/server:/opt/R/4.4.2/lib/R/lib:/u<br>sr/local/lib:/usr/lib/x86_64-linux-gnu:/usr/l<br>ib/jvm/temurin-17-jdk-amd64/lib/server:/opt/R<br>/4.4.2/lib/R/lib:/usr/local/lib:/usr/lib/x86_<br>64-linux-gnu:/usr/lib/jvm/temurin-17-jdk-amd6<br>4/lib/server:/opt/R/4.4.2/lib/R/lib:/usr/loca<br>l/lib:/usr/lib/x86_64-linux-gnu:/usr/lib/jvm/<br>temurin-17-jdk-amd64/lib/server
LN_S ln -s
MAKE make
MEMORY_PRESSURE_WATCH /sys/fs/cgroup/system.slice/runner-provision<br>er.service/memory.pressure
MEMORY_PRESSURE_WRITE c29tZSAyMDAwMDAgMjAwMDAwMAA=
NOT_CRAN true
NVM_DIR /home/runner/.nvm
PAGER /usr/bin/pager
PATH /opt/hostedtoolcache/pandoc/3.1.11/x64:/snap<br>/bin:/home/runner/.local/bin:/opt/pipx_bin:/h<br>ome/runner/.cargo/bin:/home/runner/.config/co<br>mposer/vendor/bin:/usr/local/.ghcup/bin:/home<br>/runner/.dotnet/tools:/usr/local/sbin:/usr/lo<br>cal/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/ga<br>mes:/usr/local/games:/snap/bin
PERFLOG_LOCATION_SETTING RUNNER_PERFLOG
PIPX_BIN_DIR /opt/pipx_bin
PIPX_HOME /opt/pipx
PKGCACHE_HTTP_VERSION 2
POWERSHELL_DISTRIBUTION_CHANNEL GitHub-Actions-ubuntu24
PROCESSX_PS5EK69GWX7H_1734442219 YES
PROCESSX_PSDIK6HO6GB3_1734442221 YES
PROCESSX_PSWL4DIEEXOM_1734442221 YES
PWD /tmp/RtmpRo1Unc/file21eb67a9b8f1
QUARTO_BIN_PATH /opt/quarto/bin
QUARTO_DENO /opt/quarto/bin/tools/x86_64/deno
QUARTO_DOCUMENT_PATH /tmp/RtmpRo1Unc/file21eb67a9b8f1
QUARTO_PROFILE
QUARTO_PROJECT_DIR /tmp/RtmpRo1Unc/file21eb67a9b8f1
QUARTO_PROJECT_ROOT /tmp/RtmpRo1Unc/file21eb67a9b8f1
QUARTO_ROOT /
QUARTO_SHARE_PATH /opt/quarto/share
R_ARCH
R_BROWSER false
R_BZIPCMD /usr/bin/bzip2
R_CLI_NUM_COLORS 256
R_DOC_DIR /opt/R/4.4.2/lib/R/doc
R_GZIPCMD /usr/bin/gzip
R_HOME /opt/R/4.4.2/lib/R
R_INCLUDE_DIR /opt/R/4.4.2/lib/R/include
R_LIB_FOR_PAK /opt/R/4.4.2/lib/R/site-library
R_LIBS_SITE /opt/R/4.4.2/lib/R/site-library
R_LIBS_USER /home/runner/work/_temp/Library
R_PAPERSIZE letter
R_PAPERSIZE_USER letter
R_PDFVIEWER false
R_PLATFORM x86_64-pc-linux-gnu
R_PRINTCMD /usr/bin/lpr
R_RD4PDF times,inconsolata,hyper
R_SESSION_TMPDIR /tmp/Rtmpsq5Ffc
R_SHARE_DIR /opt/R/4.4.2/lib/R/share
R_STRIP_SHARED_LIB strip --strip-unneeded
R_STRIP_STATIC_LIB strip --strip-debug
R_TESTS
R_TEXI2DVICMD /usr/bin/texi2dvi
R_UNZIPCMD /usr/bin/unzip
R_ZIPCMD /usr/bin/zip
RENV_CONFIG_REPOS_OVERRIDE https://packagemanager.posit.co/cran/__linux<br>__/noble/latest
RSPM https://packagemanager.posit.co/cran/__linux<br>__/noble/latest
RUNNER_ARCH X64
RUNNER_ENVIRONMENT github-hosted
RUNNER_NAME GitHub Actions 11
RUNNER_OS Linux
RUNNER_PERFLOG /home/runner/perflog
RUNNER_TEMP /home/runner/work/_temp
RUNNER_TOOL_CACHE /opt/hostedtoolcache
RUNNER_TRACKING_ID github_fd484d07-f4b1-4c61-bafc-3d552a38fb76
RUNNER_USER runner
RUNNER_WORKSPACE /home/runner/work/whirl
SED /usr/bin/sed
SELENIUM_JAR_PATH /usr/share/java/selenium-server.jar
SGX_AESM_ADDR 1
SHLVL 1
STATS_D true
STATS_D_D true
STATS_D_TC true
STATS_EXT true
STATS_EXTP https://provjobdprod.z13.web.core.windows.ne<br>t/settings/provjobdsettings-latest/provjobd.d<br>ata
STATS_PIP false
STATS_RDCL true
STATS_TRP true
STATS_UE true
STATS_V3PS true
STATS_VMD true
STATS_VMFE true
SWIFT_PATH /usr/share/swift/usr/bin
SYSTEMD_EXEC_PID 836
TAR /usr/bin/tar
TERM dumb
TEXINPUTS :/home/runner/work/whirl/whirl/vignettes/art<br>icles:/opt/R/4.4.2/lib/R/share/texmf/tex/late<br>x
TZ UTC
USER runner
VCPKG_INSTALLATION_ROOT /usr/local/share/vcpkg
WHIRL_LOG_MSG /tmp/RtmpRo1Unc/file21eb67a9b8f1/log_msg.jso<br>n
XDG_CONFIG_HOME /home/runner/.config
XDG_RUNTIME_DIR /run/user/1001

Option settings

Setting Value
add.smooth TRUE
ambiguousMethodSelection function (cond) , NULL
bitmapType cairo
browser false
browserNLdisabled FALSE
callr.condition_handler_cli_message function (msg) , {, custom_handler <- getOption("cli.default_handler"), if (is.function(custom_handler)) {, custom_handler(msg), }, else {, cli_server_default(msg), }, }
catch.script.errors FALSE
CBoundsCheck FALSE
check.bounds FALSE
citation.bibtex.max 1
continue +
contrasts.unordered contr.treatment
contrasts.ordered contr.poly
defaultPackages1 datasets
defaultPackages2 utils
defaultPackages3 grDevices
defaultPackages4 graphics
defaultPackages5 stats
defaultPackages6 methods
demo.ask default
deparse.cutoff 60
device function (width = 7, height = 7, ...) , {, grDevices::pdf(NULL, width, height, ...), }
device.ask.default FALSE
digits 7
dplyr.show_progress TRUE
dvipscmd dvips
echo FALSE
editor vi
encoding native.enc
example.ask default
expressions 5000
help.search.types1 vignette
help.search.types2 demo
help.search.types3 help
help.try.all.packages FALSE
htmltools.preserve.raw TRUE
HTTPUserAgent R/4.4.2 R (4.4.2 x86_64-pc-linux-gnu x86_64 linux-gnu) on GitHub Actions
internet.info 2
keep.parse.data TRUE
keep.parse.data.pkgs FALSE
keep.source FALSE
keep.source.pkgs FALSE
knitr.in.progress TRUE
locatorBell TRUE
mailer mailto
matprod default
max.contour.segments 25000
max.print 99999
menu.graphics TRUE
na.action na.omit
Ncpus 1
nwarnings 50
OutDec .
pager /opt/R/4.4.2/lib/R/bin/pager
papersize letter
PCRE_limit_recursion NA
PCRE_study FALSE
PCRE_use_JIT TRUE
pdfviewer false
pkgType source
printcmd /usr/bin/lpr
prompt >
repos.RSPM https://packagemanager.posit.co/cran/__linux__/noble/latest
repos.CRAN https://cran.rstudio.com
scipen 0
show.coef.Pvalues TRUE
show.error.messages TRUE
show.signif.stars TRUE
showErrorCalls TRUE
showNCalls 50
showWarnCalls FALSE
str.strict.width no
str.digits.d 3
str.vec.len 4
str.list.len 99
str.drop.deparse.attr TRUE
str.formatNum function (x, ...) , format(x, trim = TRUE, drop0trailing = TRUE, ...)
str.dendrogram.last `
texi2dvi /usr/bin/texi2dvi
tikzMetricsDictionary dummy-tikzDictionary
timeout 60
try.outFile 3
ts.eps 1e-05
ts.S.compat FALSE
unzip /usr/bin/unzip
useFancyQuotes FALSE
verbose FALSE
warn 0
warning.length 1000
warnPartialMatchArgs FALSE
warnPartialMatchAttr FALSE
warnPartialMatchDollar FALSE
width 80