Re: [Bioc-devel] push upstream master denied

2018-09-23 Thread Obenchain, Valerie
Hi Eric,

Thanks for the descriptive error report. The e.kort is your username from svn 
days. When slinky was added instead of linking the package to your existing 
username we accidentally linked it to your github id. This bug has since been 
fixed.

Ultimately it doesn't matter what the username is (svn or github) it's just 
used behind the scenes and we need one per user.

I've fixed the username on slinky and you should now have access.

Valerie



On 09/21/2018 08:29 AM, Kort, Eric wrote:

I am attempting my first push of updates to my recently accepted package, 
slinky, which is in the development branch of BioConductor.

When I try to push to the remote I get:

FATAL: W any packages/slinky e.kort DENIED by fallthru
(or you mis-spelled the reponame)
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

My remotes are setup like this:



git remote -v


origin  https://github.com/vanandelinstitute/slinky (fetch)
origin  https://github.com/vanandelinstitute/slinky (push)
upstream
g...@git.bioconductor.org:packages/slinky.git
 (fetch)
upstream
g...@git.bioconductor.org:packages/slinky.git
 (push)

I have submitted my ssh key to bioconductor, and confirmed that I have access 
with



ssh -T g...@git.bioconductor.org


hello e.kort, this is git@ip-172-30-0-33 running gitolite3 v3.6.6-6-g7c8f0ab on 
git 2.18.0

Two things strike me as not quite right:
1. I am not sure where the username e.kort is coming from.  Does it matter?
2. When I login to  https://git.bioconductor.org/BiocCredentials/, the only 
package that it shows I have access to is dualKS, not my new package slinky.

Can someone spot what I am doing wrong?

Thank you!
-Eric

___
Bioc-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/bioc-devel





This email message may contain legally privileged and/or confidential 
information.  If you are not the intended recipient(s), or the employee or 
agent responsible for the delivery of this message to the intended 
recipient(s), you are hereby notified that any disclosure, copying, 
distribution, or use of this email message is prohibited.  If you have received 
this message in error, please notify the sender immediately by e-mail and 
delete this email message from your computer. Thank you.
[[alternative HTML version deleted]]

___
Bioc-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/bioc-devel


Re: [Rd] Recall

2018-09-23 Thread Gabor Grothendieck
Please ignore. Looking at this again I realize the problem is that
Recall is not direclty within my.compose2 but rather is within the
anonymous function in the else.
On Sun, Sep 23, 2018 at 9:23 AM Gabor Grothendieck
 wrote:
>
> This works:
>
>   my.compose <- function(f, ...) {
> if (missing(f)) identity
> else function(x) f(my.compose(...)(x))
>   }
>
>   my.compose(sin, cos, tan)(pi/4)
>   ## [1] 0.5143953
>
>   sin(cos(tan(pi/4)))
>   ## [1] 0.5143953
>
> But replacing my.compose with Recall in the else causes it to fail:
>
>   my.compose2 <- function(f, ...) {
> if (missing(f)) identity
> else function(x) f(Recall(...)(x))
>   }
>
>   my.compose2(sin, cos, tan)(pi/4)
>   ## Error in my.compose2(sin, cos, tan)(pi/4) : unused argument (tan)
>
> Seems like a bug in R.
>
> This is taken from:
> https://stackoverflow.com/questions/52463170/a-recursive-compose-function-in-r
>
> --
> Statistics & Software Consulting
> GKX Group, GKX Associates Inc.
> tel: 1-877-GKX-GROUP
> email: ggrothendieck at gmail.com



-- 
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


[Rd] Recall

2018-09-23 Thread Gabor Grothendieck
This works:

  my.compose <- function(f, ...) {
if (missing(f)) identity
else function(x) f(my.compose(...)(x))
  }

  my.compose(sin, cos, tan)(pi/4)
  ## [1] 0.5143953

  sin(cos(tan(pi/4)))
  ## [1] 0.5143953

But replacing my.compose with Recall in the else causes it to fail:

  my.compose2 <- function(f, ...) {
if (missing(f)) identity
else function(x) f(Recall(...)(x))
  }

  my.compose2(sin, cos, tan)(pi/4)
  ## Error in my.compose2(sin, cos, tan)(pi/4) : unused argument (tan)

Seems like a bug in R.

This is taken from:
https://stackoverflow.com/questions/52463170/a-recursive-compose-function-in-r

-- 
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel