Skip to content

cannot install climdex.pcic and climdex.pcic.ncdf as PCICt is ot available for this version of R #44

@devdeadhead

Description

@devdeadhead

ERROR: dependency ‘PCICt’ is not available for package ‘climdex.pcic’
Perhaps try a variation of:
install.packages('PCICt')

  • removing ‘/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/climdex.pcic’

tried all methods I know but cannot install
main problem is PCICt as following error messing is generated

remotes::install_github("pacificclimate/PCICt")
Downloading GitHub repo pacificclimate/PCICt@HEAD
── R CMD build ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
✔ checking for file ‘/private/var/folders/bs/5m6j0yqd6jz6xpbhppmjv5tm0000gn/T/RtmpaAwDPd/remotes60310f4d06d/pacificclimate-PCICt-0903c2d/DESCRIPTION’ ...
─ preparing ‘PCICt’:
✔ checking DESCRIPTION meta-information ...
─ cleaning src
─ checking for LF line-endings in source and make files and shell scripts
─ checking for empty or unneeded directories
─ building ‘PCICt_0.5-5.0.tar.gz’

  • installing source package ‘PCICt’ ...
    ** this is package ‘PCICt’ version ‘0.5-5.0’
    ** using staged installation
    ** libs
    using C compiler: ‘Apple clang version 17.0.0 (clang-1700.0.13.5)’
    using SDK: ‘MacOSX15.5.sdk’
    clang -arch arm64 -std=gnu2x -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c PCICt_init.c -o PCICt_init.o
    clang -arch arm64 -std=gnu2x -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c datetime_360.c -o datetime_360.o
    In file included from datetime_360.c:157:
    ./strptime_360.h:36:10: fatal error: 'libintl.h' file not found
    36 | #include <libintl.h>
    | ^~~~~~~~~~~
    1 error generated.
    make: *** [datetime_360.o] Error 1
    ERROR: compilation failed for package ‘PCICt’
  • removing ‘/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/PCICt’
    Warning message:
    In i.p(...) :
    installation of package ‘/var/folders/bs/5m6j0yqd6jz6xpbhppmjv5tm0000gn/T//RtmpaAwDPd/file60393e747f/PCICt_0.5-5.0.tar.gz’ had non-zero exit status

thank you in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions