Skip to content

Hard deprecate add_dockerfile() and non-renv variants - #1246

Merged
ColinFay merged 4 commits into
temp-devfrom
defunct-add-dockerfile
May 18, 2026
Merged

Hard deprecate add_dockerfile() and non-renv variants#1246
ColinFay merged 4 commits into
temp-devfrom
defunct-add-dockerfile

Conversation

@ColinFay

Copy link
Copy Markdown
Member

Summary

Closes #1244.

Replaces the soft-deprecation warnings in add_dockerfile(),
add_dockerfile_shinyproxy() and add_dockerfile_heroku() with
.Defunct() calls, so the legacy non-renv Dockerfile helpers now error
and point users at the add_dockerfile_with_renv_*() replacements. Drops
the now-unreachable internal implementations and the talk_once() /
alert_build() helpers.

NEWS.md

Hard deprecated

  • add_dockerfile(), add_dockerfile_shinyproxy(), and
    add_dockerfile_heroku() are now hard deprecated and will error when
    called; use the corresponding add_dockerfile_with_renv_*() functions
    instead (Hard deprecated add_dockerfile #1244).

Test plan

  • devtools::test() — 602 PASS / 0 FAIL
  • devtools::document() regenerates man/dockerfiles.Rd cleanly
  • expect_error() covers the three defunct entrypoints
  • devtools::check() clean on CI

🤖 Generated with Claude Code

ColinFay and others added 4 commits May 18, 2026 07:57
Batch integration: temp-dev → master (golem 0.6.0)
Replace the soft-deprecation warnings in `add_dockerfile()`,
`add_dockerfile_shinyproxy()` and `add_dockerfile_heroku()` with
`.Defunct()` calls so the legacy non-renv Dockerfile helpers now error
and point users at the `add_dockerfile_with_renv_*()` replacements.
Drops the now-unreachable internal implementations and the
`talk_once()` / `alert_build()` helpers.

Closes #1244.

## Hard deprecated

- `add_dockerfile()`, `add_dockerfile_shinyproxy()`, and
  `add_dockerfile_heroku()` are now hard deprecated and will error when
  called; use the corresponding `add_dockerfile_with_renv_*()` functions
  instead (#1244).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Removes the `output` and `build_golem_from_source` @PARAM tags from the
shared `dockerfiles` Rd page — they were leftovers from the legacy
`add_dockerfile()` signature and no longer match any function exposed on
the page, which R CMD check flagged as a documented-but-not-in-usage
warning. Also trims the `update_tar_gz` description that referenced
`build_golem_from_source`.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@ColinFay
ColinFay merged commit 4b69987 into temp-dev May 18, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant