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

Package installation currently fails for v1.3.0 #128

Closed
benz0li opened this issue Jan 23, 2023 · 15 comments
Closed

Package installation currently fails for v1.3.0 #128

benz0li opened this issue Jan 23, 2023 · 15 comments
Labels
bug Something isn't working

Comments

@benz0li
Copy link
Contributor

benz0li commented Jan 23, 2023

Describe the bug

Package installation currently fails for v1.3.0: httpgd-1.3.0_install-log.txt

To Reproduce

  1. Shell:
    docker run --rm -ti registry.gitlab.b-data.ch/r/ver:4.2.2 bash
  2. Shell (in container):
    apt-get update \
      && apt-get -y install --no-install-recommends \
        libcairo2-dev \
        libfontconfig1-dev \
        libxml2-dev
  3. Shell (in container):
    install2.r --error --deps TRUE --skipinstalled httpgd

Expected behavior

Installation succeeding.

Screenshots

none

Environment

  • OS: GNU/Linux 11 (bullseye)
  • Browser: irrelevant
  • R version: 4.2.2
  • httpgd version: 1.3.0

Additional context

> sessionInfo()
R version 4.2.2 (2022-10-31)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Debian GNU/Linux 11 (bullseye)

Matrix products: default
BLAS:   /usr/lib/x86_64-linux-gnu/openblas-pthread/libblas.so.3
LAPACK: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblasp-r0.3.13.so

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
 [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8    
 [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8   
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C            
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
[1] compiler_4.2.2
@benz0li benz0li added the bug Something isn't working label Jan 23, 2023
@benz0li
Copy link
Contributor Author

benz0li commented Jan 24, 2023

@nx10 For your information:

Package ‘httpgd’ was removed from the CRAN repository.

CRAN - Package httpgd

@nx10
Copy link
Owner

nx10 commented Jan 24, 2023

That's unfortunate I provided a patch weeks ago which was rejected due to false positives in BH ( eddelbuettel/bh#88 )
I will re-upload momentarily.

Sorry for the inconveniences everybody I moved to the US from Europe last week and still have somewhat limited internet access.

@benz0li
Copy link
Contributor Author

benz0li commented Jan 24, 2023

I will re-upload momentarily.

Thank you.

Sorry for the inconveniences everybody

No worries.

@nx10
Copy link
Owner

nx10 commented Jan 24, 2023

Just submitted it. Hope it will be up in a couple of days.

https://nx10.github.io/cransubs/pkg#httpgd

@benz0li
Copy link
Contributor Author

benz0li commented Jan 24, 2023

Archived once again?!? https://cran.r-project.org/incoming/archive/

@nx10
Copy link
Owner

nx10 commented Jan 24, 2023

Yes, I just got these comments

Please add \value to .Rd files regarding exported methods and explain
the functions results in the documentation. Please write about the
structure of the output (class) and also what the output means. (If a
function does not return a value, please document that too, e.g.
\value{No return value, called for side effects} or similar)
Missing Rd-tags:
      hgd_test_pattern.Rd:  \value

\dontrun{} should only be used if the example really cannot be executed
(e.g. because of missing additional software, missing API keys, ...) by
the user. That's why wrapping examples in \dontrun{} adds the comment
("# Not run:") as a warning for the user.
Does not seem necessary.
Please unwrap the examples if they are executable in < 5 sec, or replace
\dontrun{} with \donttest{}.

Please ensure that your functions do not write by default or in your
examples/vignettes/tests in the user's home filespace (including the
package directory and getwd()). This is not allowed by CRAN policies.
Please omit any default path in writing functions. In your
examples/vignettes/tests you can write to tempdir().


Please always make sure to reset to user's options(), working directory
or par() after you changed it in examples and vignettes and demos.
e.g.:
oldpar <- par(mfrow = c(1,2))
...
par(oldpar)

Please fix and resubmit.

I am not sure this is entirely accurate (and it was fine on CRAN for the last 2 years), but will take time time to make all the changes they want.

Edit: For reference this is the patch/1.3.1 branch https://github.com/nx10/httpgd/tree/bh-hotfix

@eitsupi
Copy link
Contributor

eitsupi commented Jan 24, 2023

I think I can help with roxygen comments and test modifications.

@nx10
Copy link
Owner

nx10 commented Jan 24, 2023

@eitsupi Any help is very appreciated! Just make sure to work on the branch I linked.

I will also be able to fully work on httpgd again soon.

benz0li added a commit to b-data/r-docker-stack that referenced this issue Jan 25, 2023
- Install BH 1.78.0-0 from archive
- nx10/httpgd#128
benz0li added a commit to b-data/jupyterlab-r-docker-stack that referenced this issue Jan 25, 2023
- Install BH 1.78.0-0 from archive
- nx10/httpgd#128
@benz0li
Copy link
Contributor Author

benz0li commented Jan 25, 2023

I am installing httpgd 1.3.0 from archive and staying with BH 1.78.0-0 until this issue is resolved.

@eitsupi
Copy link
Contributor

eitsupi commented Jan 25, 2023

I did fix roxygen comments on #129.
However, I could not figure out where the problem of writing temporary files was.

@nx10
Copy link
Owner

nx10 commented Jan 25, 2023

I could not figure out where the problem of writing temporary files was.

This is what I was hinting at with "I am not sure [the CRAN review] is entirely accurate". I do not think httpgd ever writes files as a side effect.

@nx10
Copy link
Owner

nx10 commented Jan 27, 2023

Thanks @eitsupi for the help! I will prepare everthing and resubmit later today.

@nx10
Copy link
Owner

nx10 commented Jan 30, 2023

We are up again. CRAN usually takes 1-3 days to build windows and Mac binaries: https://CRAN.R-project.org/package=httpgd

@eitsupi
Copy link
Contributor

eitsupi commented Jan 30, 2023

Wonderful!

By the way, why don't you set up R-universe?
I think R-universe is more convenient than installing directly from GitHub as a workaround in such cases.

@nx10
Copy link
Owner

nx10 commented Jan 30, 2023

Yes R universe and anaconda are definitely planned but I have kept pushing them off for the 2.0 release. There is not much left for that and it will change all of the build logic.

@nx10 nx10 closed this as completed Jan 30, 2023
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

3 participants