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

Installation Troubles #73

Open
madeighan opened this issue May 17, 2022 · 4 comments
Open

Installation Troubles #73

madeighan opened this issue May 17, 2022 · 4 comments

Comments

@madeighan
Copy link

Greetings. Please forgive me. I'm new to this package and have only recently started working with R again after a few years. I'm trying to install splitr in order to participate in an internal user's group.

My issue is that I am hitting a wall right off the bat just trying to install this package. I've tried following the recommended download instructions; results below.

> devtools::install_github("rich-iannone/splitr")
Error: Failed to install 'unknown package' from GitHub:
  schannel: next InitializeSecurityContext failed: SEC_E_INVALID_TOKEN (0x80090308) - The token supplied to the function is invalid

Either I could not find a solution to the above, or I did not sufficiently understand the solutions that were already provided online. Attempting a workaround, I tried downloading the package as a .zip file and installing it manually; results below.

> install.packages("C:/Users/.../Downloads/R_packages/splitr-main.zip",
+                  lib="C:/Users/.../R/win-library/4.0",
+                  repos = NULL
+                  )
> library(splitr-main)
Error in library(splitr - main) : 'package' must be of length 1

So, to my naive mind, the above script tells me that install.packages() succeeded, since there was no error. However, I do encounter an error when attempting to load the package with library(). Again, I do not understand what this error means and I have not found an explanation that I understand. I did find a help topic that recommended the character.only flag to deal with the above issue, but it seems as though my problem runs deeper.

> library(splitr-main, character.only = TRUE)
Error in library(splitr - main, character.only = TRUE) : 
  object 'splitr' not found

So was the package ever really installed? Looking back at my first attempt where install_github() failed to install "unknown package" gives me pause. But I have stopped making forward progress at this point. I've tried adjusting my library path. I've also tried manually deleting the package from my library directory and reinstalling.

Any help would be appreciated. Sorry for my ignorance. Thanks in advance.

@jessicakromer
Copy link

Hi! I am having the same trouble and am wondering if you ever found a solution for installing this? Thank you!

@madeighan
Copy link
Author

madeighan commented Jan 17, 2023 via email

@jessicakromer
Copy link

jessicakromer commented Jan 18, 2023 via email

@madeighan
Copy link
Author

madeighan commented Jan 18, 2023 via email

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

2 participants