Questions tagged [remotes]
27 questions
2
votes
0 answers
What is the correct way to handle Remote dependencies for R CMD check?
I'm trying to check a package with a dependency on a private repo stored on github that I'm specifying as a Remotes in the DESCRIPTION file. E.g.:
Imports:
dplyr,
....
Remotes:
geebioso/rpackage
I've already set the appropriate…

geebioso
- 21
- 1
2
votes
2 answers
Install package from github private repo without personal access token
I am trying to install an R package from a GitHub account I currently own and operate. I want to be able to share this R package with other users (i.e. allow them to download) but I want to constrain it to people I approve of.
I could do this by…

JFG123
- 577
- 5
- 13
1
vote
0 answers
Unable to install mimix package on my windows laptop
I am trying to install mimix package by simply typing:
install.packages("remotes")
remotes::install_github("UCL/mimix")
I got this instruction from https://rdrr.io/github/UCL/mimix/.
My problem is I get this error message:
Error in parse(outFile)…

Tafadzwa
- 11
- 2
1
vote
1 answer
remotes::install_bitbucket() stopped working
For many months now, I've been using remotes::install_bitbucket() from a Docker container to download a private Bitbucket repo and install an R package. March 10, it seems to have stopped working with the error:
Error : Failed to install 'unknown…

josephD
- 142
- 7
1
vote
2 answers
How to use `remotes::install_gitlab` to install from a branch?
I wanted to install the interp package from the "spline" branch in the Gitlab repository at https://gitlab.aau.at/agebhard/interp . When I select that branch on the web page, the URL changes to https://gitlab.aau.at/agebhard/interp/-/tree/spline . …

user2554330
- 37,248
- 4
- 43
- 90
1
vote
0 answers
Use `remotes::install_gitlab()` to install custom RMarkdown template package from company hosted GitLab
my company has hosted a private GitLab server, which I'm accessing via VPN from my laptop.
I am currently working on some technical reports (repository 1) using RMarkdown and decided to create a template package for my RMarkdown HTML template files…

jakoberr
- 43
- 4
1
vote
1 answer
install_github(): "system error 267, The directory name is invalid"
I am trying to install package performance development version with devtools but am getting this error:
> devtools::install_github("easystats/performance")
Downloading GitHub repo easystats/performance@HEAD
Error: Failed to install 'performance'…

rempsyc
- 785
- 5
- 24
1
vote
1 answer
remotes::install_github can't find a dependency that is present
Inspired by Miles McBain's drake video, I want to install the fnmate package/RStudio add-in. But remotes::install_github insists that I don't have magrittr, when in fact I do.
I use a site library configured in an environment variable, and, to try…

Gregor Thomas
- 136,190
- 20
- 167
- 294
1
vote
1 answer
Git: Difficulty Getting Existing Git Repository to Track New Bare Remote Repository
Summary:
I'm having difficulty getting an existing local repository to track a new bare remote repository.
What I've tried:
I've attempted to push my local repo to the new bare repo while setting upstream tracking. Git tells me upstream tracking is…

David Mays
- 466
- 4
- 14
1
vote
2 answers
Getting tracking information for a Git branch
How can I get tracking information (i.e. remote and branch name) about a specific local Git branch, preferably in one command? There seem to be many ways to do this, e.g.
git rev-parse --abbrev-ref --symbolic-full-name…

planetp
- 14,248
- 20
- 86
- 160
1
vote
1 answer
remotes::install_github Error: HTTP error 422. No commit found for SHA: rc-0.3.1
I'm not able to install any package from github. When I tried the following code
remotes::install_github('yihui/xaringan', upgrade = TRUE)
I got the following message
Downloading GitHub repo yihui/xaringan@master
Error: HTTP error 422.
No commit…

MYaseen208
- 22,666
- 37
- 165
- 309
0
votes
1 answer
Installing package dependencies only from binary (not source) using remotes::install_deps or devtools::install_deps
I'm running a Github actions workflow that installs dependencies using remotes::install_deps. However, one of the dependencies was recently updated (curl 5.0.1 -> 5.0.2), and the workflow now fails.
The root cause of this is that there is not a…

mikeblazanin
- 85
- 5
0
votes
0 answers
Connect to WSL running on Win11 VM via Visual Studio Code tunnel
I have VSCode running on a remote Windows VM, that I use for developing on WSL.
When I connect via RDP to the VM, I switch to WSL by choosing it as a remote.
I now started using the Tunnel remotes and I set up a tunnel to connect to VSCode on the VM…

Andrea Spadaccini
- 12,378
- 5
- 40
- 54
0
votes
1 answer
Error: cannot open URL when installing private R package which depends on second private R package
i have two r packages pkg1 and pkg2 hosted on a self-hosted gitlab instance. The packages are located in group1/r-packages. Group1 is a project group.
pkg2 depends on pkg1.
I want to install pkg2 via devtools::install_gitlab(repo =…
0
votes
0 answers
Issue getting rsDriver to work using RSelenium
I am having an issue with getting a server connection using the rsDriver function using this code:
driver <- rsDriver(browser = "chrome", chromever = "111.0.5563.19", port=free_port(),check=F, verbose=T)
I get this error:
Warning: Could not…

sk21
- 1
- 1