Joe-Heffer-Shef / FAIR4RS-Documentation

This is a course on software documentation for researchers developed by the Research Software Engineering team and IT Services at the University of Sheffield.
https://joe-heffer-shef.github.io/FAIR4RS-Documentation/
Other
0 stars 1 forks source link

attempt to concatenate a nil value (field '?') #7

Closed Joe-Heffer-Shef closed 1 month ago

Joe-Heffer-Shef commented 1 month ago

https://github.com/Joe-Heffer-Shef/FAIR4RS-Documentation/actions/runs/9304403534/job/25608881297

related to #3

Run reset <- "" == "true"
  reset <- "" == "true"
  sandpaper::package_cache_trigger(TRUE)
  sandpaper:::ci_deploy(reset = reset)
  shell: /usr/bin/Rscript {0}
  env:
    GITHUB_PAT: ***
    RENV_PATHS_ROOT: ~/.local/share/renv/
    R_LIBS_USER: /home/runner/work/_temp/Library
    TZ: UTC
    _R_CHECK_SYSTEM_CLOCK_: FALSE
    NOT_CRAN: true
    RSPM: https://packagemanager.posit.co/cran/__linux__/jammy/latest
    RENV_CONFIG_REPOS_OVERRIDE: https://packagemanager.posit.co/cran/__linux__/jammy/latest
[1] TRUE
── Validating Fenced Divs ──────────────────────────────────────────────────────
── Validating Internal Links and Images ────────────────────────────────────────
! There were errors in 1/69 links
◌ Some linked internal files do not exist <https://carpentries.github.io/sandpaper/articles/include-child-documents.html#workspace-consideration>

Warning:  [missing file]: [create a new issue](../../issues/new)
Fetch origin/md-outputs
Add worktree for origin/md-outputs in site/built
Build Markdown Sources
Commit Markdown Sources
Fetch origin/gh-pages
Add worktree for origin/gh-pages in site/docs
Build Lesson Website
  ◉ pandoc found
    version : 3.1.11
    path    : '/opt/hostedtoolcache/pandoc/3.1.11/x64'
  ── Initialising site ───────────────────────────────────────────────────────────
  ── Scanning episodes to rebuild ────────────────────────────────────────────────
  Writing `instructor/CODE_OF_CONDUCT.html`
  Writing `CODE_OF_CONDUCT.html`
  ! No yaml header found in the first 10 lines of '/home/runner/work/FAIR4RS-Documentation/FAIR4RS-Documentation/site/built/LICENSE.md'
  Writing `instructor/LICENSE.html`
  Writing `LICENSE.html`
  ! No yaml header found in the first 10 lines of '/home/runner/work/FAIR4RS-Documentation/FAIR4RS-Documentation/site/built/SECURITY.md'
  Writing `instructor/SECURITY.html`
  Writing `SECURITY.html`
  Writing `instructor/introduction.html`
  Writing `introduction.html`
  Writing `instructor/readmes.html`
  Writing `readmes.html`
  Writing `instructor/docstrings.html`
  Writing `docstrings.html`
  Writing `instructor/readable.html`
  Writing `readable.html`
  Writing `instructor/pages.html`
  Writing `pages.html`
  Writing `instructor/developers.html`
  Writing `developers.html`
  Error running filter /home/runner/work/_temp/Library/sandpaper/rmarkdown/lua/lesson.lua:
  ...er/work/_temp/Library/sandpaper/rmarkdown/lua/lesson.lua:3[2](https://github.com/Joe-Heffer-Shef/FAIR4RS-Documentation/actions/runs/9304403534/job/25608881297#step:7:2)3: attempt to concatenate a nil value (field '?')
  stack traceback:
    ...er/work/_temp/Library/sandpaper/rmarkdown/lua/lesson.lua:421: in function <...er/work/_temp/Library/sandpaper/rmarkdown/lua/lesson.lua:420>
    [C]: in ?
    [C]: in function 'pandoc.walk_block'
    ...er/work/_temp/Library/sandpaper/rmarkdown/lua/lesson.lua:444: in function 'tab_block'
    ...er/work/_temp/Library/sandpaper/rmarkdown/lua/lesson.lua:6[3](https://github.com/Joe-Heffer-Shef/FAIR4RS-Documentation/actions/runs/9304403534/job/25608881297#step:7:3)6: in function 'handle_our_divs'
  stack traceback:
    ...er/work/_temp/Library/sandpaper/rmarkdown/lua/lesson.lua:[4](https://github.com/Joe-Heffer-Shef/FAIR4RS-Documentation/actions/runs/9304403534/job/25608881297#step:7:4)44: in function 'tab_block'
    ...er/work/_temp/Library/sandpaper/rmarkdown/lua/lesson.lua:636: in function 'handle_our_divs'
  Error: 
  ! in callr subprocess.
  Caused by error: 
  ! pandoc document conversion failed with error 83
  ---
  Standard error:
  Error running filter /home/runner/work/_temp/Library/sandpaper/rmarkdown/lua/lesson.lua:
  ...er/work/_temp/Library/sandpaper/rmarkdown/lua/lesson.lua:323: attempt to concatenate a nil value (field '?')
  stack traceback:
    ...er/work/_temp/Library/sandpaper/rmarkdown/lua/lesson.lua:421: in function <...er/work/_temp/Library/sandpaper/rmarkdown/lua/lesson.lua:420>
    [C]: in ?
    [C]: in function 'pandoc.walk_block'
    ...er/work/_temp/Library/sandpaper/rmarkdown/lua/lesson.lua:444: in function 'tab_block'
    ...er/work/_temp/Library/sandpaper/rmarkdown/lua/lesson.lua:636: in function 'handle_our_divs'
  stack traceback:
    ...er/work/_temp/Library/sandpaper/rmarkdown/lua/lesson.lua:444: in function 'tab_block'
    ...er/work/_temp/Library/sandpaper/rmarkdown/lua/lesson.lua:636: in function 'handle_our_divs'
  ---
  Backtrace:
   1. sandpaper:::ci_deploy(reset = reset)
   2. sandpaper:::ci_build_site(path, branch = site_branch, md = md_branch, remote = remote,…
   3. withr::with_dir(path, { …
   4. base::force(code)
   [5](https://github.com/Joe-Heffer-Shef/FAIR4RS-Documentation/actions/runs/9304403534/job/25608881297#step:7:5). sandpaper:::build_site(path = path, quiet = FALSE, preview = FALSE)
   [6](https://github.com/Joe-Heffer-Shef/FAIR4RS-Documentation/actions/runs/9304403534/job/25608881297#step:7:6). sandpaper::build_episode_html(path_md = abs_md[i], path_src = abs_src[i], …
   [7](https://github.com/Joe-Heffer-Shef/FAIR4RS-Documentation/actions/runs/9304403534/job/25608881297#step:7:7). sandpaper:::render_html(path_md, quiet = quiet)
   [8](https://github.com/Joe-Heffer-Shef/FAIR4RS-Documentation/actions/runs/9304403534/job/25608881297#step:7:8). callr::r(function(d, v, ...) { …
   [9](https://github.com/Joe-Heffer-Shef/FAIR4RS-Documentation/actions/runs/9304403534/job/25608881297#step:7:9). callr:::get_result(output = out, options)
  [10](https://github.com/Joe-Heffer-Shef/FAIR4RS-Documentation/actions/runs/9304403534/job/25608881297#step:7:10). callr:::throw(callr_remote_error(remerr, output), parent = fix_msg(remerr[[3]]))
  ---
  Subprocess backtrace:
  1. rmarkdown::pandoc_convert(...)
  2. rmarkdown:::stop2("pandoc document conversion failed with error ", result)
  3. base::stop(..., call. = FALSE)
  4. | base::.handleSimpleError(function (e) …
  5. global h(simpleError(msg, call))
  Running git worktree remove --force \
    /home/runner/work/FAIR4RS-Documentation/FAIR4RS-Documentation/site/docs
  Running git worktree remove --force \
    /home/runner/work/FAIR4RS-Documentation/FAIR4RS-Documentation/site/built
  Execution halted
  Error: Process completed with exit code 1.