Hi,

sometimes packages (in this case "pbv") can't be installed on my linux
system because in the tarball in src/Makevars there is a line like

PKG_LIBS = `$(R_HOME)/bin/Rscript -e "Rcpp:::LdFlags()"` $(LAPACK_LIBS)…

The command within the backticks doesn't return anything (i.e, no
additional c++ libraries are needed) but because of the backticks an
empty argument is passed to the linker which makes it fail. Using $()
instead of the backticks solves the problem. Should this be reported to
the package author or is it a problem common enough so that developer's
guidelines should address this?

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide https://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to