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

Undefiend exports error when trying to install fastman? #7

Open
Johnny555l opened this issue Sep 4, 2022 · 3 comments
Open

Undefiend exports error when trying to install fastman? #7

Johnny555l opened this issue Sep 4, 2022 · 3 comments

Comments

@Johnny555l
Copy link

Johnny555l commented Sep 4, 2022

I am running the following code:
install.packages("remotes", repos = "http://cran.us.r-project.org", lib="/z/Comp/lu_group/Members/jwlorge/ATN/R")
remotes::install_github("danioreo/fastman",lib = "/z/Comp/lu_group/Members/jwlorge/ATN/R")
Which gives me the following error:
Error: package or namespace load failed for ‘fastman’ in namespaceExport(ns, exports):
undefined exports: fastman
Error: loading failed
Execution halted
ERROR: loading failed
removing ‘/z/Comp/lu_group/Members/jwlorge/ATN/R/fastman’
Warning message:
In i.p(...) :
installation of package ‘/tmp/RtmpZYg1zb/file12c3d26c90b542/fastman_0.1.0.tar.gz’ had non-zero exit status

When searching online, I found someone who had the same issue for a different function and it looked like it had to be fixed by github itself? I would appreciate any help or advice!

@kaustubhad
Copy link
Owner

Hi, sorry for the late reply. I think you are trying to install a different package by a different author which is also named fastman. If you try to install the kaustubhad/fastman package from github, and you have no other packages named fastman already installed, it should not give you a problem.

@gmissir
Copy link

gmissir commented Sep 20, 2022

@kaustubhad Thanks for the prompt reply, literally having the same issue.

This is what I get when I try to install it > install.packages(kaustubhad/fastman)
Error in install.packages : object 'kaustubhad' not found

Any ideas?

@soumyasubhraparia
Copy link
Collaborator

Hi @Johnny555l and @gmissir . You can try using the following code.

devtools::install_github('kaustubhad/fastman',build_vignettes = TRUE)

Please let me know if this works.

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

4 participants