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

Compile and install zint during zintr installation #5

Open
kmezhoud opened this issue Jun 22, 2021 · 0 comments
Open

Compile and install zint during zintr installation #5

kmezhoud opened this issue Jun 22, 2021 · 0 comments

Comments

@kmezhoud
Copy link

Hi,
I am using zintr in shiny app. I would link zint during installing my app that depends on zintr.

I added the zint clone folder in /src/ at the same level then ui.R and server.R and global.R

and a executable configure file at the same level with :

# terminate on failure
set -e
set -x

if [ -x "$(command -v cmake)" ]; then

 echo "-- Trying to build zint via cmake ..."
 cd src/zint  
 mkdir -p build
 cd build
  cmake ..
  make
  sudo make install
  sudo cp /usr/local/lib/libzint.* /usr/lib
  su - -c "R -e \"devtools::install_github('CannaData/zintr'))\""

else
	echo "-- cmake is not installed on this system. zint library is failed ..."
fi

But it seems not working and zintr can not be installing during shiny app deployment.

In other hand , is it possible to link zint library to zintr package?
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant