Comments (12)
It appears you are forbidden to download files?
from beastier.
Try utils::download.file
on some other file 👍.
from beastier.
Try
utils::download.file
on some other file 👍.
This works perfectly:
utils::download.file("http://www.thijsjanzen.nl/The%20Neutralizer%201.31.exe", destfile = "test.exe")```
from beastier.
Hmmm, will restart a Travis build to see if indeed something is wrong.
For me, locally, everything works fine:
richel@sonic:~$ Rscript -e "beastier::uninstall_beast2()"
[1] TRUE
richel@sonic:~$ Rscript -e "beastier::install_beast2()"
trying URL 'https://github.com/CompEvol/beast2/releases/download/v2.5.2/BEAST.v2.5.2.Linux.tgz'
Content type 'application/octet-stream' length 8390602 bytes (8.0 MB)
==================================================
downloaded 8.0 MB
from beastier.
Travis build passed again, ergo I cannot reproduce the error.
Have you tried running beastier::install_beast2
again?
from beastier.
Travis build passed again, ergo I cannot reproduce the error.
Have you tried running
beastier::install_beast2
again?
still same same.
from beastier.
Hmmm, I wonder what the results of these are:
beastier::install_beast2(verbose = TRUE)
and
rappdirs::app_dir()$os
both run on the target platform. Could you share the name of this magic target platform?
from beastier.
Hmmm, I wonder what the results of these are:
beastier::install_beast2(verbose = TRUE)
> beastier::install_beast2(verbose = TRUE)
[1] "Operating system: unix"
[1] "Download from URL: https://github.com/CompEvol/beast2/releases/download/v2.5.2/BEAST.v2.5.2.Linux.tgz"
downloaded 0 bytes
Error in utils::download.file(url = url, destfile = local_path) :
cannot download all files
In addition: Warning message:
In utils::download.file(url = url, destfile = local_path) :
URL 'https://github-production-release-asset-2e65be.s3.amazonaws.com/15949777/195f6580-2aaa-11e9-9ba5-3f6739d075c1?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190604%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20190604T080330Z&X-Amz-Expires=300&X-Amz-Signature=da077bbc90362b15db1c2f6b1475664bacbc0ccc0be1c7b368df6a32607353e9&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3DBEAST.v2.5.2.Linux.tgz&response-content-type=application%2Foctet-stream': status was '403 Forbidden'
and
rappdirs::app_dir()$os
rappdirs::app_dir()$os
[1] "unix"
both run on the target platform. Could you share the name of this magic target platform?
This is on the CARL cluster of the University of Oldenburg.
from beastier.
Then I predict this won't work either:
utils::download.file(url = "https://github.com/CompEvol/beast2/releases/download/v2.5.2
/BEAST.v2.5.2.Linux.tgz", destfile = "irrelevant")
On my computer:
trying URL 'https://github.com/CompEvol/beast2/releases/download/v2.5.2/BEAST.v2.5.2.Linux.tgz'
Content type 'application/octet-stream' length 8390602 bytes (8.0 MB)
==================================================
downloaded 8.0 MB
>
What will this give on yours?
from beastier.
/BEAST.v2.5.2.Linux.tgz", destfile = "irrelevant")
You predicted right
> utils::download.file(url = "https://github.com/CompEvol/beast2/releases/download/v2.5.2/BEAST.v2.5.2.Linux.tgz", destfile = "irrelevant")
downloaded 0 bytes
Error in utils::download.file(url = "https://github.com/CompEvol/beast2/releases/download/v2.5.2/BEAST.v2.5.2.Linux.tgz", :
cannot download all files
In addition: Warning message:
In utils::download.file(url = "https://github.com/CompEvol/beast2/releases/download/v2.5.2/BEAST.v2.5.2.Linux.tgz", :
URL 'https://github-production-release-asset-2e65be.s3.amazonaws.com/15949777/195f6580-2aaa-11e9-9ba5-3f6739d075c1?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190604%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20190604T083004Z&X-Amz-Expires=300&X-Amz-Signature=bd9206831b9b9d9f9700c5bfeae35d8590ff5d1e9133a56e40f8dc53a3293d43&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3DBEAST.v2.5.2.Linux.tgz&response-content-type=application%2Foctet-stream': status was '403 Forbidden'
>
from beastier.
Sounds like you have no rights to download from that URL on CARL. No idea why the sysadmin blocks that URL or prevents you from doing so...
What is clear, however, is that this Issue has nothing to do with beastier
.
I'll close this Issue after some days, in case you want to add some notes to yourself below.
Thanks for the report 👍
from beastier.
Time to close 🌈
from beastier.
Related Issues (20)
- Deprecate BEAST2 options for output filenames HOT 1
- Prevent BEAST2 freeze when overwriting a log file with overwrite set to false
- is_beast2_input_file should suppress warnings
- Add 'save_nexus_as_fasta' function
- BEAST2 run must check if alignment.trees exists? HOT 3
- How to call tree operator HOT 2
- Cannot find bin path HOT 1
- Prettyprint beast2_options HOT 1
- Better error message when calling 'get_beast2_example_filename' without BEAST2 installed
- Fix: CRAN package beastier -- policy violation HOT 7
- Fix CRAN feedback on v2.4.4 HOT 1
- Increase BEAS2 stack size HOT 1
- How to use Beagle HOT 2
- Test failure on Windows release HOT 7
- Cannot create treelog file 'NA' HOT 5
- Speed up `run_beast2` calculation HOT 1
- Fix new CRAN warnings HOT 3
- Get Codecov to 100% again
- Error: length(treelog_line) not equal to 1. HOT 5
- use of dependency archived on CRAN: assertive HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from beastier.