stan-dev / stan-dev/rstan

C++14 standard requested but CXX14 is not defined

Open
#892 18 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
1.1k
Forks
266
Avg merge
2h 56m
Merged PRs (30d)
1

Description

Error in .shlib_internal(args) : 
  C++14 standard requested but CXX14 is not defined
* removing ‘/usr/lib64/R/library/rstan’
Error: Failed to install 'ggstatsplot' from GitHub:
  Failed to install 'tidyBF' from GitHub:
  (converted from warning) installation of package ‘rstan’ had non-zero exit status

My R version
R version 3.6.0 (2019-04-26) -- "Planting of a Tree"

This is my OS version.

CentOS Linux release 7.9.2009 (Core)

How do i get around this? the above issue

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the rstan installation failure with R 3.6.0 on CentOS 7.9 and inspect how the C++14 toolchain is configured. Done means rstan installs without the “CXX14 is not defined” error; the issue does not name a source file or test to guide the investigation.

Written by the indexing model from the issue text.

Assessment

Tech stack
centos, cpp, r
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.