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 creating a Personal Access Token (PAT) and sharing (remotes::install_github(..., auth_token = "PAT")), but then they would get access to all of my repos on my account which is not an option.
Other options I have seen suggested include;
- Creating a new GitHub account just for this R package and creating the PAT on this account to enable sharing of just the one repo
- Making public instead of private
Neither of these feels optimal, is there another way?