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

error on installation #39

Closed
AndreMikulec opened this issue Jan 19, 2019 · 2 comments
Closed

error on installation #39

AndreMikulec opened this issue Jan 19, 2019 · 2 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@AndreMikulec
Copy link

remotes::install_github("fstpackage/fsttable")

*** arch - i386
Warning: S3 methods '$.fst_table', '[.fst_table', '[[.fst_table', 'as.data.frame.fst_table', 'as.list.fst_table', 'dim.fst_table', 'dimnames.fst_table', 'names.fst_table', 'print.fst_table', 'row.names.fst_table', 'str.fst_table'
 were declared in NAMESPACE but not found
Error: package or namespace load failed for 'fsttable' in namespaceExport(ns, exports):
 undefined exports: fst_table
Error: loading failed
Execution halted
@MarcusKlik
Copy link
Collaborator

Hi @AndreMikulec, thanks for reporting! The fsttable package is still in it's early days (as you have noticed :-)) and it's best to work from the develop branch:

# prerequisite for fsttable
install.packages("fst")

# install from dev
remotes::install_github("fstpackage/fsttable", ref = "develop")

thanks for taking a look at fsttable!

@MarcusKlik MarcusKlik self-assigned this Jan 20, 2019
@MarcusKlik MarcusKlik added this to the fsttable v0.2.0 milestone Jan 20, 2019
@MarcusKlik MarcusKlik added the bug Something isn't working label Jan 20, 2019
@AndreMikulec
Copy link
Author

Noticed, that your default repository IS! "develop." (like it should be)

But some strange behavior exists. I do not know
if this is the fault of 'github' or 'install_github' that
is downloading the wrong zip.

> remotes::install_github("fstpackage/fsttable")
Error: package or namespace load failed for 'fsttable' in namespaceExport(ns, exports):
 undefined exports: fst_table
Error: loading failed
Execution halted
> remotes::install_github("fstpackage/fsttable@develop")
* DONE (fsttable)
? install_github
install_github(repo, ref = "master", . . .)

ref	
Desired git reference. 
Could be a commit, tag, or branch name, or a call to github_pull(). Defaults to "master".
> remotes::install_github("fstpackage/fsttable")

# Some debugging.

Browse[2]> str(params)
List of 7
 $ package : chr ""
 $ username: chr "fstpackage"
 $ repo    : chr "fsttable"
 $ subdir  : chr ""
 $ ref     : chr ""
 $ pull    : chr ""
 $ release : chr ""

So, just changing the github default repository page (to develop), only
actually changes the web page display.
The github 'company internal default' stays as 'master.'
(This seems to contradict github's repository configuration warning messages.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants