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

Use GitHub pages for documentation #7

Open
valentinitnelav opened this issue Sep 10, 2020 · 3 comments
Open

Use GitHub pages for documentation #7

valentinitnelav opened this issue Sep 10, 2020 · 3 comments

Comments

@valentinitnelav
Copy link
Owner

The current https://rawgit.com/ is not in service anymore. It as actually surprising that the documentation links are still supported.
Switch to using GitHub pages as soon as possible.

@technocrat
Copy link

> devtools::install_github("valentinitnelav/plotbiomes")
Using github PAT from envvar GITHUB_TOKEN
Error: Failed to install 'unknown package' from GitHub:
  HTTP error 401.
  Bad credentials

  Rate limit remaining: 56/60
  Rate limit reset at: 2021-10-06 23:56:59 UTC

Anything to be done other than cloning?

@valentinitnelav
Copy link
Owner Author

Hi @technocrat

Is your comment related to the documentation on rawgit (title of the issue here) or do you have issues with installing the package?
I check the installation (though I didn't use it in a long time) and still works for me. I can't reproduce your error.

> devtools::install_github("valentinitnelav/plotbiomes")
Downloading GitHub repo valentinitnelav/plotbiomes@HEAD
These packages have more recent versions available.
It is recommended to update all of them.
Which would you like to update?

 1: All                                 
 2: CRAN packages only                  
 3: None                                
 4: cpp11      (0.3.1  -> 0.4.0 ) [CRAN]
 5: mime       (0.11   -> 0.12  ) [CRAN]
 6: digest     (0.6.27 -> 0.6.28) [CRAN]
 7: sf         (1.0-2  -> 1.0-3 ) [CRAN]
 8: pillar     (1.6.2  -> 1.6.3 ) [CRAN]
 9: lifecycle  (1.0.0  -> 1.0.1 ) [CRAN]
10: satellite  (1.0.2  -> 1.0.3 ) [CRAN]
11: data.table (1.14.0 -> 1.14.2) [CRAN]

Enter one or more numbers, or an empty line to skip updates: 3
✓  checking for file ‘/tmp/RtmpRs3i7t/remotes28c6c5a7f38a1/valentinitnelav-plotbiomes-87cf718/DESCRIPTION’ ...
─  preparing ‘plotbiomes’:
✓  checking DESCRIPTION meta-information ...
─  checking for LF line-endings in source and make files and shell scripts
─  checking for empty or unneeded directories
─  building ‘plotbiomes_0.0.0.9001.tar.gz’
   Warning in sprintf(gettext(fmt, domain = domain), ...) :
     one argument not used by format 'invalid uid value replaced by that for user 'nobody''
   Warning: invalid uid value replaced by that for user 'nobody'
   Warning in sprintf(gettext(fmt, domain = domain), ...) :
     one argument not used by format 'invalid gid value replaced by that for user 'nobody''
   Warning: invalid gid value replaced by that for user 'nobody'
   
Installing package into ‘/home/vs66tavy/R/x86_64-pc-linux-gnu-library/4.1’
(as ‘lib’ is unspecified)
* installing *source* package ‘plotbiomes’ ...
** using staged installation
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (plotbiomes)
> whittaker_base_plot()
Error in whittaker_base_plot() : 
  could not find function "whittaker_base_plot"
> library(plotbiomes)
     Happy biome plotting!

@technocrat
Copy link

Hi. Sorry, it's an install issue; I picked this rather than a new issue because it seems to be related. Here's what I get

devtools::install_github("valentinitnelav/plotbiomes")
#> Using github PAT from envvar GITHUB_TOKEN
#> Error: Failed to install 'unknown package' from GitHub:
#>   HTTP error 401.
#>   Bad credentials
#> 
#>   Rate limit remaining: 59/60
#>   Rate limit reset at: 2021-10-07 22:47:07 UTC
#> 
#> 

Created on 2021-10-07 by the reprex package (v2.0.1)

I'm guessing that the difference is that I don't have a token (other than my usual ssh credential) to offer, but you do. I'm on a well-updated Ubuntu system with current releases of everything relevant, I think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants