-
Notifications
You must be signed in to change notification settings - Fork 15
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
helper functions to bootstrap from renv.lock 2 #356
base: main
Are you sure you want to change the base?
Commits on Oct 11, 2024
-
* add
renv_lock_pkgs()
function--- `renv_lock_pkgs()` provides the basic functionality of getting the list of R packages present in an renv.lock file. It does NOT handle the versions of those packages or transitive dependencies not directly used in the project.
Configuration menu - View commit details
-
Copy full SHA for 7061274 - Browse repository at this point
Copy the full SHA 7061274View commit details -
Configuration menu - View commit details
-
Copy full SHA for 803bfd7 - Browse repository at this point
Copy the full SHA 803bfd7View commit details -
* add
renv_lock_r_ver()
function--- `renv_lock_r_ver()` retrieves the R version from an renv.lock file.
Configuration menu - View commit details
-
Copy full SHA for 8387137 - Browse repository at this point
Copy the full SHA 8387137View commit details -
* add simple non-standard repo filtering to
renv_lock_pkgs()
function--- adds the `exclude_other_sources` option to `renv_lock_pkgs()` and defaults it to TRUE. This excludes packages from being returned if the do not have "Repository" as their value for "Source" in renv.lock the and throws a warning listing the excluded packages. This should exclude packages from sources like github which are not presently like to be packaged in nix.
Configuration menu - View commit details
-
Copy full SHA for 701eafa - Browse repository at this point
Copy the full SHA 701eafaView commit details -
--- add `renv2nix()` wraps `rix()` and populates `r_ver`, `r_pkgs`, `git_pkgs`, and `local_r_pkgs` based on an `renv.lock` file.
Configuration menu - View commit details
-
Copy full SHA for 2e74fcd - Browse repository at this point
Copy the full SHA 2e74fcdView commit details -
* add
return_rix_call
argument torenv2nix()
function--- The `return_rix_call` argument allows `renv2rix()` to return the call to the rix function instead of evaluating it, this allows or debugging the call.
Configuration menu - View commit details
-
Copy full SHA for 8e4e0a2 - Browse repository at this point
Copy the full SHA 8e4e0a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 926102f - Browse repository at this point
Copy the full SHA 926102fView commit details
Commits on Oct 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 700e014 - Browse repository at this point
Copy the full SHA 700e014View commit details -
* add
renv_remote_pkgs()
function, factors out generating `git_pkgs……` information --- The `renv_remote_pkgs()` function takes a single renv.lock package entry as an argument, infers it's remote type and extracts the informaton necesary for `rix()`'s `git_pkgs` argument. This functionality was factored out of the `renv2nix()`, and the `method` argument added `renv2nix()` to allow for a future implementation of exact package version matching.
Configuration menu - View commit details
-
Copy full SHA for eed8e9a - Browse repository at this point
Copy the full SHA eed8e9aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e4b86ef - Browse repository at this point
Copy the full SHA e4b86efView commit details
Commits on Oct 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for be0ffa2 - Browse repository at this point
Copy the full SHA be0ffa2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c108be - Browse repository at this point
Copy the full SHA 7c108beView commit details -
Configuration menu - View commit details
-
Copy full SHA for c34d908 - Browse repository at this point
Copy the full SHA c34d908View commit details -
Configuration menu - View commit details
-
Copy full SHA for d75319d - Browse repository at this point
Copy the full SHA d75319dView commit details -
Configuration menu - View commit details
-
Copy full SHA for bd52c7d - Browse repository at this point
Copy the full SHA bd52c7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 72f930e - Browse repository at this point
Copy the full SHA 72f930eView commit details -
Configuration menu - View commit details
-
Copy full SHA for de7dfb2 - Browse repository at this point
Copy the full SHA de7dfb2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 730bad1 - Browse repository at this point
Copy the full SHA 730bad1View commit details
Commits on Oct 14, 2024
-
update
renv2nix()
documentation with the return type when `return_r……ix_call = TRUE`
Configuration menu - View commit details
-
Copy full SHA for e7a5d08 - Browse repository at this point
Copy the full SHA e7a5d08View commit details -
Configuration menu - View commit details
-
Copy full SHA for ebb17b3 - Browse repository at this point
Copy the full SHA ebb17b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for f717e9a - Browse repository at this point
Copy the full SHA f717e9aView commit details
Commits on Oct 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0f9de72 - Browse repository at this point
Copy the full SHA 0f9de72View commit details -
--- Returns a list of package information suitable to supply to the `git_pkgs` argument of `rix()`
Configuration menu - View commit details
-
Copy full SHA for 68ebf8a - Browse repository at this point
Copy the full SHA 68ebf8aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 43137b9 - Browse repository at this point
Copy the full SHA 43137b9View commit details
Commits on Oct 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7bd3d50 - Browse repository at this point
Copy the full SHA 7bd3d50View commit details -
* remove
renv_remote_pkg()
refactoring intorenv_remote_pkgs()
, w……ith type assertion handling --- Ability to allow remote type inference with error for unsupported types as well as to assert a remote type expected for all pkgs
Configuration menu - View commit details
-
Copy full SHA for d24730d - Browse repository at this point
Copy the full SHA d24730dView commit details
Commits on Oct 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 753c30b - Browse repository at this point
Copy the full SHA 753c30bView commit details -
switch to building lists of remote and repo packages
simpler to work with than using logicals approach and fixes bug with NAs in `r_pkgs` in the previous approach.
Configuration menu - View commit details
-
Copy full SHA for 1fa96f3 - Browse repository at this point
Copy the full SHA 1fa96f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for c8d2cb5 - Browse repository at this point
Copy the full SHA c8d2cb5View commit details -
Configuration menu - View commit details
-
Copy full SHA for d54e044 - Browse repository at this point
Copy the full SHA d54e044View commit details -
Configuration menu - View commit details
-
Copy full SHA for dc168a1 - Browse repository at this point
Copy the full SHA dc168a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for d953b4b - Browse repository at this point
Copy the full SHA d953b4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3bda5ea - Browse repository at this point
Copy the full SHA 3bda5eaView commit details
Commits on Oct 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4ef5f97 - Browse repository at this point
Copy the full SHA 4ef5f97View commit details -
Configuration menu - View commit details
-
Copy full SHA for 05cbf6b - Browse repository at this point
Copy the full SHA 05cbf6bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ff69fe2 - Browse repository at this point
Copy the full SHA ff69fe2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c1f539 - Browse repository at this point
Copy the full SHA 9c1f539View commit details
Commits on Oct 29, 2024
-
add some example 'real world' renv.lock files for use in testing
These files come from some random projects of mine sampled from those generated with a few different versions of renv, and one which is a snapshot of the current rix package.
Configuration menu - View commit details
-
Copy full SHA for 1fb1e48 - Browse repository at this point
Copy the full SHA 1fb1e48View commit details -
fix bug where bioconductor is the source
if source was not "Repository" `renv2nix()` looked for a remote, source can also be "Bioconductor" and not have a remote which resulted in an error as remote was empty when source was "Bioconductor"
Configuration menu - View commit details
-
Copy full SHA for adcb182 - Browse repository at this point
Copy the full SHA adcb182View commit details -
Configuration menu - View commit details
-
Copy full SHA for c0c7b3c - Browse repository at this point
Copy the full SHA c0c7b3cView commit details -
removing packages from renv example which appear to have build errors…
… in nix at this version
Configuration menu - View commit details
-
Copy full SHA for 41343f3 - Browse repository at this point
Copy the full SHA 41343f3View commit details
Commits on Nov 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 62d19ba - Browse repository at this point
Copy the full SHA 62d19baView commit details
Commits on Nov 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 078ac16 - Browse repository at this point
Copy the full SHA 078ac16View commit details