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

Problem whit the install #6

Open
Mariodocumentologia opened this issue May 29, 2020 · 3 comments
Open

Problem whit the install #6

Mariodocumentologia opened this issue May 29, 2020 · 3 comments

Comments

@Mariodocumentologia
Copy link

Dear James: I am typeing to you from Argentina. I am very interested in using handwired master, but I have a problem with the install. I attach picture. I request your help please. Thanks a lot

20200529_033626

@Jamesetay1
Copy link
Collaborator

@Mariodocumentologia Hello, sorry it took so long to respond. I had forgotten a few steps in my instructions - please try this slightly modified set of instructions: https://csafe-isu.github.io/handwriter/howto. In this case, I forgot to include install.packages("devtools") in the instructions. Let me know if there are any more issues and I'll be quicker to respond!

@ex-tag
Copy link

ex-tag commented Feb 21, 2024

The development installation instructions are incomplete

  1. Install libgit2
  2. Then in R
# install.packages("devtools")
devtools::install_github("CSAFE-ISU/handwriter")

Not installing libgit2 throws an error

You must install libgit2, or else there is an error.

----------------------------- ANTICONF -------------------------------
Configuration failed to find libgit2 library. Try installing:
 * brew: libgit2 (MacOS)
 * deb: libgit2-dev (Debian, Ubuntu, etc)
 * rpm: libgit2-devel (Fedora, CentOS, RHEL)
If libgit2 is already installed, check that 'pkg-config' is in your
PATH and PKG_CONFIG_PATH contains a libgit2.pc file. If pkg-config
is unavailable you can set INCLUDE_DIR and LIB_DIR manually via:
R CMD INSTALL --configure-vars='INCLUDE_DIR=... LIB_DIR=...'
-------------------------- [ERROR MESSAGE] ---------------------------
<stdin>:1:10: fatal error: 'git2.h' file not found
#include <git2.h>
         ^~~~~~~~
1 error generated.
----------------------------------------------------------------------
ERROR: configuration failed for package ‘gert’
* removing ‘/opt/homebrew/lib/R/4.3/site-library/gert’
ERROR: dependency ‘gert’ is not available for package ‘usethis’
* removing ‘/opt/homebrew/lib/R/4.3/site-library/usethis’
ERROR: dependency ‘usethis’ is not available for package ‘devtools’
* removing ‘/opt/homebrew/lib/R/4.3/site-library/devtools’

@Jamesetay1
Copy link
Collaborator

Tagging @stephaniereinders to make sure you see this :)

@Jamesetay1 Jamesetay1 reopened this Feb 21, 2024
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

3 participants