You may want to try devtools::install_github("vbonhomme/Momocs") instead. As stated before, you need devtools to make it work.

Also, Momocs 1.0.0 is on CRAN so you can simply: install.packages("Momocs").

Have a look to the vignette for a nice entry point into the package. And I'm here to help if required.

Answer from Vincent Bonhomme on Stack Overflow
🌐
Displayr
displayr.com › home › blog › how to install r packages from github (step-by-step guide)
How to Install R Packages from GitHub (Step-by-Step Guide)
September 17, 2025 - 1. How do I install an R package from GitHub in RStudio? Open the Console and run the same commands as in base R: install.packages("devtools") devtools::install_github("user/repo")
🌐
GitHub
github.com › r-lib › devtools
GitHub - r-lib/devtools: Tools to make an R developer's life easier · GitHub
All devtools functions accept a path as an argument, e.g. load_all("path/to/mypkg"). If you don't specify a path, devtools will look in the current working directory - this is a recommended practice. load_all() simulates installing and reloading ...
People also ask

How do I install an R package from GitHub in RStudio?
Open the Console and run the same commands as in base R: install.packages("devtools") devtools::install_github("user/repo") No special RStudio steps are required.
🌐
displayr.com
displayr.com › home › blog › how to install r packages from github (step-by-step guide)
How to Install R Packages from GitHub (Step-by-Step Guide)
How do I update a package installed from GitHub?
Re-run install_github("user/repo") to get the latest, or use remotes::update_packages().
🌐
displayr.com
displayr.com › home › blog › how to install r packages from github (step-by-step guide)
How to Install R Packages from GitHub (Step-by-Step Guide)
Do I need to install devtools every time?
No—install it once. In future sessions either run library(devtools) or use the prefix devtools::install_github().
🌐
displayr.com
displayr.com › home › blog › how to install r packages from github (step-by-step guide)
How to Install R Packages from GitHub (Step-by-Step Guide)
🌐
Kbroman
kbroman.org › pkg_primer › pages › github.html
Putting your R package on GitHub
Invoke R and then type ... Load the devtools package. ... In most cases, you just use install_github("author/package").
🌐
DigitalOcean
digitalocean.com › community › tutorials › how-to-install-r-packages-using-devtools-on-ubuntu-18-04
How to Install R Packages using devtools on Ubuntu 18.04 | DigitalOcean
July 16, 2018 - In this step, we’re going to install the latest development build of Shiny, a web application framework for R, directly from GitHub. We’ll do this using the install_github function provided by devtools. A GitHub package is defined by its author (rstudio) and its name (shiny) which you can ...
🌐
RCODER
r-coder.com › home › r introduction › how to install packages in r?
How to Install R Packages: CRAN, GitHub and Bioconductor
March 15, 2020 - Then you can call the install_github function with "account_name/repository_name" as argument to install the R package from GitHub. # Installing ggplot2 from GitHub install_github("tidyverse/ggplot2") It is worth mentioning that if you don’t ...
Find elsewhere
🌐
R-lib
devtools.r-lib.org
Tools to Make Developing R Packages Easier • devtools
# Install devtools from CRAN install.packages("devtools") # Or the development version from GitHub: # install.packages("pak") pak::pak("r-lib/devtools")
🌐
GitHub
github.com › r-lib › remotes
GitHub - r-lib/remotes: Install R packages from GitHub, GitLab, Bitbucket, git, svn repositories, URLs · GitHub
Install R Packages from remote or local repositories, including GitHub, GitLab, Bitbucket, and Bioconductor · Download and install R packages stored in GitHub, GitLab, Bitbucket, Bioconductor, or plain subversion or git repositories. This package is a lightweight replacement of the install_* functions in devtools...
🌐
GeeksforGeeks
geeksforgeeks.org › r language › how-to-install-an-r-package-from-source
How to Install an R Package from Source? - GeeksforGeeks
July 23, 2025 - Use the install_github() function from the devtools package to install the dplyr package directly from the GitHub repository tidyverse/dplyr.
🌐
RDocumentation
rdocumentation.org › packages › devtools › versions › 1.13.6 › topics › install_github
install_github function - RDocumentation
Other package installation: install_bioc, install_bitbucket, install_cran, install_git, install_svn, install_url, install_version, install, uninstall ... # NOT RUN { install_github("klutometis/roxygen") install_github("wch/ggplot2") install_github(c("rstudio/httpuv", "rstudio/shiny")) install_github(c("hadley/[email protected]", "klutometis/roxygen#142", "mfrasca/r-logging/pkg")) install_github("r-lib/devtools") # To install from a private repo, use auth_token with a token # from https://github.com/settings/tokens.
🌐
GitHub
github.com › hoxo-m › githubinstall
GitHub - hoxo-m/githubinstall: A Helpful Way to Install R Packages Hosted on GitHub · GitHub
There is an install_github function to install R packages hosted on GitHub in the devtools package.
Author: hoxo-m
🌐
The Carpentries
carpentries-incubator.github.io › lesson-R-packaging › accessing.html
R Packaging: Accessing packages
5 days ago - We can use GitHub to find packages or to make our own packages publicly available. Contrary to CRAN, packages in GitHub are not reviewed. This has an advantage: you can have your package published there immediately. To install a package from GitHub, we need the package devtools, which we have just installed.
🌐
ListenData
listendata.com › home › r
Install R Package Directly From GitHub
Start>control panel>Network and ... install_github("tomasgreif/woe") Important Note : If you want to build R package, you need to install Rtools along with devtools package....
🌐
Hoxo-m
hoxo-m.github.io › githubinstall
A Helpful Way to Install R Packages Hosted on GitHub • githubinstall
Therefore, developers can distribute R packages that are developing on GitHub. Besides, there are some developers that they have no intention to submit to CRAN. For instance, Twitter, Inc. provides AnomalyDetection package on GitHub, but they won’t submit to CRAN [3]. You can install such packages easily using devtools. library(devtools) install_github("twitter/AnomalyDetection")
🌐
pygot
pygot.wordpress.com › 2017 › 09 › 09 › r-package-install-from-github-with-devtools
R Package Install from GitHub with DevTools | pygot
September 11, 2017 - In this example for Windows 7 I am installing the IRkernel package (IRKernel enables R in Jupyter notebooks). The instructions here: https://irkernel.github.io/installation/#binary-panel failed for me with various path and file missing errors. ... Downloading GitHub repo IRkernel/IRkernel@master from URL https://api.github.com/repos/IRkernel/IRkernel/zipball/master Installation failed: cannot open file 'C:/Users/*****/AppData/Local/Temp/RtmpiENbnG/devtools3bf01a168e4/IRkernel-IRkernel-5b9efc8/R/class_unions.r': No such file or directory Warning message: GitHub repo contains submodules, may not function as expected!
🌐
Nyu
research.stern.nyu.edu › tutorials › install-local-r-packages
research.stern.nyu.edu - Install Local R Packages
install.packages("vioplot", repo = "https://lib.ugent.be/CRAN/") Detailed instructions can be found at the official site here. First, we install basic functions needed to install Bioconductor packages. Execute the following script: ... Get a list of available software packages here. To check available packages programmatically, use the following command: ... After devtools is installed, you will be able to use the utility functions to install another packages.
🌐
Combine-australia
combine-australia.github.io › r-pkg-dev › building-installing-and-releasing.html
10 Building, installing and releasing | R package workshop
Now that your package is on the internet anyone can install it using the install_github() function in the remotes package (which you should already have installed as a dependency of devtools). All you need to give it is the name of the user and repository. ... If you are familiar with git you ...
🌐
DataCamp
datacamp.com › home › tutorials › r › r packages tutorial: install, load, and manage r packages
R Packages Tutorial: How to Download & Install R Packages | DataCamp
May 22, 2026 - As you have read above, each repository has its own way of installing a package from them, so in the case that you are regularly using packages from different sources, this behavior can be a bit frustrating. A more efficient way is probably to use the devtools package to simplify this process because it contains specific functions for each repository, including CRAN.