Skip to content

Unable to install npci package #3

@elelmokao

Description

@elelmokao

Hi, there!

First, thanks for sharing the package for us!
I would have this package to have several simulations for IHDP. But when I was trying to install this package, it gave me the error message below:

* installing *source* package ‘npci’ ...
** using staged installation
** libs
clang -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/Library/Frameworks/R.framework/Resources/lib -L/usr/local/lib -o npci.so npci.o -L/Library/Frameworks/R.framework/Resources/lib -lRblas -L/usr/local/gfortran/lib/gcc/x86_64-apple-darwin18/8.2.0 -L/usr/local/gfortran/lib -lgfortran -lquadmath -lm -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
ld: warning: directory not found for option '-L/usr/local/gfortran/lib/gcc/x86_64-apple-darwin18/8.2.0'
ld: warning: directory not found for option '-L/usr/local/gfortran/lib'
ld: library not found for -lgfortran
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [npci.so] Error 1
ERROR: compilation failed for package ‘npci’
* removing ‘/Library/Frameworks/R.framework/Versions/4.1/Resources/library/npci’

I have tried many ways like searching the problem, changing R version to 3.1.1, and even switching from Windows to MacOS to solve this issue but all failed.
Would you have any suggestion for this?

Thanks a lot!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions