Updated R to 3.6 and all hell broke loose
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- R
- Star
- 1.1k
- Fork
- 266
- Merge trung bình
- 2 giờ 56 phút
- Pull request đã merge (30 ngày)
- 1
Mô tả
Summary:
Updated R and Rstudio, and all hell broke loose
Description:
I've been running the rethinking package, which uses rstan, for about 6 months - no problem. I updated R today, and all of a sudden things have gone haywire.
I uninstalled and re-installed rstan (and all other packages, for that matter), including updating Rtools. No luck. When I try to run the schools example directly from the Rstan "getting started" page, I get the error listed below
The C++ toolchain passes the test
I have also tried disabling the C++ toolchain configuration (which is noted to sometimes cause problems). No luck. Exact same issue.
I have de-installed and re-installed from scratch (R, then Rstan, then other toolboxes), but still no luck.
Any advice would be GREATLY appreciated. BTW - I'm just an ordinary scientist, not a developer or c-scientist ...so I would appreciate advice being "dummed down" as much as possible. TIA
Reproducible Steps:
Followed the steps on the Get Started page EXACTLY
Current Output:
Error in compileCode(f, code, language = language, verbose = verbose) :
Compilation ERROR, function(s)/method(s) not created! In file included from C:/Users/schwa/Documents/R/win-library/3.6/BH/include/boost/random/detail/integer_log2.hpp:19:0,
from C:/Users/schwa/Documents/R/win-library/3.6/BH/include/boost/random/detail/int_float_pair.hpp:26,
from C:/Users/schwa/Documents/R/win-library/3.6/BH/include/boost/random/exponential_distribution.hpp:27,
from C:/Users/schwa/Documents/R/win-library/3.6/BH/include/boost/random/gamma_distribution.hpp:25,
from C:/Users/schwa/Documents/R/win-library/3.6/StanHeaders/include/stan/math/prim/mat/prob/dirichlet_rng.hpp:5,
from C:/Users/schwa/Documents/R/win-library/3.6/StanHeaders/include/stan/math/prim/mat.hpp:276,
from C:/Users/schwa/Documents/R/win-library/3.6/StanHeaders/include/stan/math/rev/mat.hpp:12,
from C:/Users/schwa/Documents/R/win-library/3.6/StanHeaders/include/stan/math.hpp:4,
Error in sink(type = "output") : invalid connection
Expected Output:
RStan Version:
The version of RStan you are running (e.g., from packageVersion("rstan"))
R Version:
2.18.12
Operating System:
Windows 10
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện ví dụ schools từ trang RStan Get Started trên Windows 10, sử dụng các phiên bản R, RStan, Rtools và RStudio được báo cáo. Kiểm tra đầu ra của trình biên dịch bắt đầu bằng các đường dẫn Boost và StanHeaders, sau đó so sánh kết quả với cấu hình toolchain được ghi lại. Hoàn tất nghĩa là xác định được sự không khớp của môi trường hoặc lỗi biên dịch và xác nhận một ví dụ hoạt động.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- r
- Lĩnh vực
- build-system
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 20/100