-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
packages
file or packages
text
#6
Comments
After typing all this out, I am understanding it as it should be an easy way for devs to declare what packages are being used. While using It still leaves the questions
|
The current one-line-per-entry text format for the I am not opposed to changing the format. In fact, I really like the idea to match The only issue I see is that I'd still like to be able to use this workflow in a kind of meta-repo, one without an R package or
I am unsure, perhaps the intended webR version or R version would be useful? In the future we could use tagged r-wasm/webr Docker containers to build packages for a specific version of webR. Note that, currently, package list entries are passed to Either way, switching to yaml would future-proof these files in a nice way for if/when we do want to track [web]R versions or other information. I would be OK with that. Right, so what do you think about the following plan? First, we switch around
The above three package lists should be combined into an character R vector and passed to In addition, we handle the case where there is no
|
For
build-wasm-packages
'spackages
input parameter, I am wondering what the underlying motivation for using a new/unfamiliar file format.I'm not against it, just want to understand it.
Currently,
r-lib/actions
'ssetup-r-dependencies
has three locations to where it will look for packages to install.It will look for
Config/Needs/<NEEDS>
via theneeds
parameter.packages
is a default that hardly anyone sets manually because in the context of checking an R package, this field should not be changed. (You will typically always want to installdeps::., any::sessioninfo
extra-packages
is used by authors who do not want to clutter their DESCRIPTION file or for one-off changes.If possible, I'd like to leverage
r-lib/actions
existing approach.If
r-wasm/actions
is to be used within R packages, then I'd like to utilize the DESCRIPTION'sConfig/Needs/wasm
field as the typical entrypoint, with a backup ofpackages
orextra-packages
.If
r-wasm/actions
is to be used within a localized wasm-friendly CRAN repo, thenpackages
file is a great choice for providing information.If using a
packages
file, should it ever contain more fields such asdescription
orR version
or any other meta data? If so, should we upgrade the file to a yaml (to support comments) or DCF file (similar to the DESCRIPTION file)?The text was updated successfully, but these errors were encountered: