Update build.sh as well from skeleton helper
#!/bin/bash
-
set -o errexit -o pipefail
-
if [[ ${target_platform} =~ linux.* ]] || [[ ${target_platform} == win-32 ]] || [[ ${target_platform} == win-64 ]] || [[ ${target_platform} == osx-64 ]]; then
export DISABLE_AUTOBREW=1
- mv DESCRIPTION DESCRIPTION.old
- grep -va '^Priority: ' DESCRIPTION.old > DESCRIPTION
${R} CMD INSTALL --build .
else
mkdir -p "${PREFIX}"/lib/R/library/PLNmodels
mv ./* "${PREFIX}"/lib/R/library/PLNmodels
-
if [[ ${target_platform} == osx-64 ]]; then
pushd "${PREFIX}"
for libdir in lib/R/lib lib/R/modules lib/R/library lib/R/bin/exec sysroot/usr/lib; do
