Skip to content

Commit

Permalink
remove cxx flags
Browse files Browse the repository at this point in the history
  • Loading branch information
ericdunipace committed Jan 30, 2024
1 parent b65eefb commit 5650ef2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Makevars
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@

CXX_STD = CXX14
#CXX_STD = CXX17
PKG_LIBS = $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS)
2 changes: 1 addition & 1 deletion src/Makevars.win
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@

CXX_STD = CXX14
#CXX_STD = CXX17
PKG_LIBS = $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS)
4 changes: 3 additions & 1 deletion tests/testthat/test-WPL1.R
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,10 @@ test_that("WPL1 refers to W2L1 appropriately", {
tol = 0)
testthat::expect_equal(c(projectionlasso$beta[,101]), c(theta)) #should be pretty close


testthat::skip_on_cran()
#should warn about infimum
if(Sys.info()['nodename'] == "Cid-Highwind.local") {
if(Sys.info()['machine'] == "arm64") {
testthat::expect_silent(WpProj:::WPL1(X=x, Y=NULL, power = 2.0,
theta=theta, penalty="lasso",
nlambda = nlambda, lambda.min.ratio = lambda.min.ratio,
Expand Down

0 comments on commit 5650ef2

Please sign in to comment.