Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ set(XTENSOR_R_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/include)
# Versionning
# ===========

set(XTENSOR_REQUIRED_VERSION 0.25.0)
set(XTL_REQUIRED_VERSION 0.7.7)
set(XTENSOR_REQUIRED_VERSION 0.26.0)
set(XTL_REQUIRED_VERSION 0.8.0)

set(XTENSOR_R_CONFIG_FILE
"${XTENSOR_R_INCLUDE_DIR}/xtensor-r/xtensor_r_config.hpp")
Expand Down
2 changes: 1 addition & 1 deletion environment-dev-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ channels:
- conda-forge
dependencies:
- cmake
- xtensor=0.25.0
- xtensor=0.26.0
- r-base
- r-rcpp
- m2w64-gcc
Expand Down
2 changes: 1 addition & 1 deletion environment-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ channels:
- conda-forge
dependencies:
- cmake
- xtensor=0.25.0
- xtensor=0.26.0
- r-base
- r-rcpp
# test dependencies
Expand Down
10 changes: 5 additions & 5 deletions include/xtensor-r/rarray.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
#include <utility>
#include <vector>

#include "xtensor/xbuffer_adaptor.hpp"
#include "xtensor/xcontainer.hpp"
#include "xtensor/xiterator.hpp"
#include "xtensor/xsemantic.hpp"
#include "xtensor/xutils.hpp"
#include "xtensor/containers/xbuffer_adaptor.hpp"
#include "xtensor/containers/xcontainer.hpp"
#include "xtensor/core/xiterator.hpp"
#include "xtensor/core/xsemantic.hpp"
#include "xtensor/utils/xutils.hpp"

#include "xtensor-r/rcontainer.hpp"

Expand Down
6 changes: 3 additions & 3 deletions include/xtensor-r/rcontainer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
#include <functional>
#include <numeric>

#include "xtensor/xbuffer_adaptor.hpp"
#include "xtensor/xcontainer.hpp"
#include "xtensor/containers/xbuffer_adaptor.hpp"
#include "xtensor/containers/xcontainer.hpp"

#include "xtl/xsequence.hpp"

Expand Down Expand Up @@ -142,7 +142,7 @@ namespace xt
using difference_type = typename storage_type::difference_type;

#ifndef XTENSOR_R_ALLOW_REINTERPRETATION
static_assert(xtl::disjunction<std::is_same<r_type, int32_t>,
static_assert(std::disjunction<std::is_same<r_type, int32_t>,
std::is_same<r_type, double>,
std::is_same<r_type, Rbyte>,
std::is_same<r_type, rlogical>,
Expand Down
4 changes: 2 additions & 2 deletions include/xtensor-r/roptional.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@

#include <xtl/xoptional.hpp>

#include <xtensor/xoptional_assembly.hpp>
#include <xtensor/xfunctor_view.hpp>
#include <xtensor/optional/xoptional_assembly.hpp>
#include <xtensor/views/xfunctor_view.hpp>

#include "rarray.hpp"
#include "rtensor.hpp"
Expand Down
8 changes: 4 additions & 4 deletions include/xtensor-r/rtensor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
#include <array>
#include <cstddef>

#include "xtensor/xbuffer_adaptor.hpp"
#include "xtensor/xiterator.hpp"
#include "xtensor/xsemantic.hpp"
#include "xtensor/xutils.hpp"
#include "xtensor/containers/xbuffer_adaptor.hpp"
#include "xtensor/core/xiterator.hpp"
#include "xtensor/core/xsemantic.hpp"
#include "xtensor/utils/xutils.hpp"

#include "rcontainer.hpp"

Expand Down
2 changes: 1 addition & 1 deletion include/xtensor-r/rvectorize.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include <type_traits>

#include "rarray.hpp"
#include "xtensor/xvectorize.hpp"
#include "xtensor/core/xvectorize.hpp"

namespace xt
{
Expand Down
4 changes: 2 additions & 2 deletions test/rcpp_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@

#include "xtensor-r/rcontainer.hpp"
#include "xtensor-r/rarray.hpp"
#include "xtensor/xmath.hpp"
#include "xtensor/xio.hpp"
#include "xtensor/core/xmath.hpp"
#include "xtensor/io/xio.hpp"

// [[Rcpp::export]]
int modify_cpp(xt::rarray<double>& x)
Expand Down
4 changes: 2 additions & 2 deletions test/test_common.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
#ifndef TEST_COMMON_HPP
#define TEST_COMMON_HPP

#include "xtensor/xlayout.hpp"
#include "xtensor/xmanipulation.hpp"
#include "xtensor/core/xlayout.hpp"
#include "xtensor/misc/xmanipulation.hpp"

#include "xtl/xsequence.hpp"

Expand Down
2 changes: 1 addition & 1 deletion test/test_rarray.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

#include "gtest/gtest.h"

#include "xtensor/xarray.hpp"
#include "xtensor/containers/xarray.hpp"

#include "xtensor-r/rarray.hpp"

Expand Down
6 changes: 3 additions & 3 deletions test/test_rreducer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@

#include <gtest/gtest.h>

#include <xtensor/xtensor.hpp>
#include <xtensor/xarray.hpp>
#include <xtensor/xmath.hpp>
#include <xtensor/containers/xtensor.hpp>
#include <xtensor/containers/xarray.hpp>
#include <xtensor/core/xmath.hpp>

#include "xtensor-r/rarray.hpp"
#include "xtensor-r/rtensor.hpp"
Expand Down
2 changes: 1 addition & 1 deletion test/test_rtensor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include <utility>
#include <vector>

#include "xtensor/xtensor.hpp"
#include "xtensor/containers/xtensor.hpp"

#include "xtensor-r/rtensor.hpp"

Expand Down
4 changes: 2 additions & 2 deletions test/test_sfinae.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
#include "gtest/gtest.h"
#include "xtensor-r/rtensor.hpp"
#include "xtensor-r/rarray.hpp"
#include "xtensor/xarray.hpp"
#include "xtensor/xtensor.hpp"
#include "xtensor/containers/xarray.hpp"
#include "xtensor/containers/xtensor.hpp"

namespace xt
{
Expand Down
Loading