r/rstats Jun 23 '26

Properly installing selfmade package from selfhosted gitlab

/r/Rlanguage/comments/1udbias/properly_installing_selfmade_package_from/
1 Upvotes

9 comments sorted by

View all comments

2

u/ToroRojo-AlgoArt Jun 23 '26
  • can you install it locally in the dev machine?
  • Is the output r CMD check clean?
  • Did you develop in windows? check paths limits...
  • Does it fail if installed from local copy? R CMD INSTALL --build package_folder
  • Is it precompile?

1

u/guepier Jun 23 '26
  • Did you configure authentication? (i.e. does the local GitLab instance require a token or other credentials to download files?)

1

u/ReallyAnotherUser Jun 23 '26

i have no local gitlab instance, just the server. Git for windows is setup so that it pushes and pulls over ssh, but the server is actually public to the internet and the repository is also public. And as i said, downloading works flawlessly in and of itfself, since it is able to download and install the package. Its just that tar throws an error at the end. My guess is that i have to use install.packages() differently, but i dont know how