rworkflows
package versioning with
rworkflows
action Release versioning.use_vignette_docker
/use_vignette_getstarted
package
arg if not provided.construct_cont
, as not
everyone will have rworkfows
installed on the machine where
the vignette is being rendered.gha_python_versions()
within
construct_runners
miniforge_variant
miniforge_version
activate_environment
environment_file
channels
construct_conda_yml
construct_conda_yml
and building
conda envs from the generated yamls.fill_yaml
is_default
force=TRUE
to the
remotes::install_local
steps. #86runforesight/workflow-telemetry-action
step.rspm
explicitly by default.construct_cont
:
default_registry
check_registry
docker_registry
arg to let users choose which
registry to push to. Defaults to “ghcr.io” instead of “docker.io” so
that no additional credentials are needed.
use_workflow
get_github_url_desc
free_diskspace
use_workflow
use_workflow
template
arg can now be “rworkflows_static:dev” to use
the “dev” branch’s version of action.yml as a workflow
template.use_vignette_docker
infer_docker_org
no visible global function definition for internal function check_miniconda_args
check_miniconda_args
was clearly defined in its
own file. The only way to fix it was copying the function into the same
one where it was called fill_yaml
.echo "GITHUB_TOKEN=${{ inputs.GITHUB_TOKEN }}" >> $GITHUB_ENV
runforesight/workflow-telemetry-action
step and
move to top.infer_deps
infer_deps
the DESCRIPTION path directly
within the fill_description
func.conda_*
setup-miniconda
.use_codespace
run_vignettes
.tinytex_installer
,
tinytex_version
, pandoc_version
tinytex
R package.construct_runners
bioc
is of length one, the same value
is automatically applied across all 3 OS.use_workflow
name
arg into two args: name
+
template
, so that you can create multiple separate workflow
files using the same template.tinytex_installer
,
tinytex_version
, pandoc_version
save_yaml
check_bioc_version
check_r_version
construct_cont
BiocPkgTools
+ biocViews
to
Suggests
fill_yaml
omit_if_default
to omit tinytex args
from yaml.is_rstudio
: new interal helper function.github_token
parameter docs between
action.yml and use_workflow
.BiocPkgTools
/biocViews
to
Suggests to compensate for issues with the CRAN server: #65fill_yaml
:
template="rworkflows_static"
, prevent
with2
from simplifying to vector.construct_runners
rspm
wasn’t getting added.get_github_url_db
docs
size by rendering PNG instead of html in
depgraph
vignette.get_hex
and get_description
get_description
use_repos
arg.@returns
in
Roxygen notes.action.yml
repos
before it was defined.bibentry
for CITATION.To compensate for this had to modify
test-bioc_r_versions
.
use_workflow
branch
to align
with Bioc’s
recent changes to their standards.get_description
unit tests.construct_authors
unit tests.infer_biocviews
tests.codecov_graphs
: Fix link with redirect.timeout
arg to R package installation steps
too.AnVIL
usage, as the URLs are now
deprecated and BiocManager
uses the pre-compiled binaries
by default.get_description
description
obj directly to any argument
returns that obj.refs
at onceget_hex
output
style arg to vignette functions.use_vignette_docker
port_in
and port_out
port_out=8900
to align with the available
Imperial Private Cloud ports (8900-9000).fill_description
infer_deps
infer_biocviews
is_gha
BiocCheck
in rworkflow yamls.require()
calls in action.yml
quiet.use_badges
add_codecov_graphs
codecov_graphs
bioc_r_version
:
depth
and internal func
parse_version
get_hex
/ use_badges
add_hex
is a character string, interpret it as the
hex path instead.use_badges
add_lifecycle
:
badger::badge_lifecycle()
biocViews: WorkflowManagement
get_hex
: Remove extra breaksif
statements when
rworkflows_static gets saved.is_default
as it is never used. Document in gist
for later use:
https://gist.github.com/bschilder/f02a5b564977f52fd665728a22c0d005use_badges
:
pkg
arg for explicit package
specification.get_description
use_badges
:
ref
and pkg
explicitly in relevant
functions to avoid inference.r-lib/setup-r-dependencies
r-lib/setup-tinytex
grimbough/bioc-actions/setup-bioc
timeout
r-lib/setup-r-dependencies
node_modules$
package-lock\.json$
package\.json$
no-check-CRAN
arg to BiocCheck
step to
allow using bioc checks for packages already on CRAN.get_hex
in cases where multiple links in
DESCRIPTION URL.use_issue_template
rvest
UpSetR
githubinstall
BiocManager
bioc_r_versions
construct_runners
rcmdcheck
\link
with
\href
use_badges
: remove unnecessary ref
arg.has_latex
use_workflow
rworkflow
action.add_badges
use_readme
use_vignette_docker
use_vignettte_getstarted
|>
was introduced.badger
a Importvignette
field in use_vignette_*
functions.run_crancheck
–> run_rcmdcheck
DOCKER_ORG
–> docker_org
DOCKER_USERNAME
–> docker_user
as_cran
: separate from run_rcmdcheck
tag
: specify action version.use_workflow(run_docker=FALSE)
repository
badge
NEWS.md
file to track changes to the
package.