Skip to content
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

Error: invalid version specification '<NA>' #432

Closed
kongdd opened this issue Nov 10, 2021 · 3 comments
Closed

Error: invalid version specification '<NA>' #432

kongdd opened this issue Nov 10, 2021 · 3 comments
Labels
bug an unexpected problem or unintended behavior

Comments

@kongdd
Copy link

kongdd commented Nov 10, 2021

I got the error, Error: invalid version specification '<NA>' in my package phenofit.
Few days, the same commit has been passed test. But currently failed in windows:

Run options(width = 100)
  options(width = 100)
  pkgs <- installed.packages()[, "Package"]
  sessioninfo::session_info(pkgs, include_base = TRUE)
  shell: C:\R\bin\Rscript.EXE {0}
  env:
    RSPM: 
    GITHUB_PAT: ***
    R_LIBS_USER: D:\a\_temp\Library
    TZ: UTC
    _R_CHECK_SYSTEM_CLOCK_: FALSE
    NOT_CRAN: true
Error: Error: invalid version specification '<NA>'
Execution halted
Error: Process completed with exit code 1.

https://github.com/eco-hydro/phenofit/runs/4161085636?check_suite_focus=true

Any suggestion about how to solve this issue?

@kongdd kongdd added the bug an unexpected problem or unintended behavior label Nov 10, 2021
@riccardoporreca
Copy link
Contributor

@kongdd, this might be related to what fixed in a recent CRAN release of sessioninfo 1.2.1, see the package NEWS.

However, 1.2.0 is still installed in the workflow for "windows-latest (release)", see https://github.com/eco-hydro/phenofit/runs/4161085636?check_suite_focus=true#step:8:262

v Got sessioninfo 1.2.0 (windows) (187.41 kB)

This is probably due to the Windows binary for r-release still being sessioninfo_1.2.0.zip, see https://cran.r-project.org/package=sessioninfo

Somehow, pak does not install the newer 1.2.1 from source, which it does e.g. for glue, see https://github.com/eco-hydro/phenofit/runs/4161085636?check_suite_focus=true#step:8:158

v Got glue 1.5.0 (source) (106.65 kB)

@kongdd
Copy link
Author

kongdd commented Nov 11, 2021

Got it. Thanks for your explanation. Thank u very much!

@kongdd kongdd closed this as completed Nov 11, 2021
@github-actions
Copy link

github-actions bot commented Nov 6, 2022

This issue has been automatically locked. If you believe you have found a related problem, please file a new issue and include a link to this issue

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants