From a31661990204520e67ffd8cfc1efbba8953661d7 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Sun, 24 Dec 2023 22:09:09 +0800 Subject: [PATCH] Bundling rapidjson --- inst/include/{rapidjsonr => rapidjson}/allocators.h | 0 inst/include/{rapidjsonr => rapidjson}/cursorstreamwrapper.h | 0 inst/include/{rapidjsonr => rapidjson}/document.h | 0 inst/include/{rapidjsonr => rapidjson}/encodedstream.h | 0 inst/include/{rapidjsonr => rapidjson}/encodings.h | 0 inst/include/{rapidjsonr => rapidjson}/error/en.h | 0 inst/include/{rapidjsonr => rapidjson}/error/error.h | 0 inst/include/{rapidjsonr => rapidjson}/filereadstream.h | 0 inst/include/{rapidjsonr => rapidjson}/filewritestream.h | 0 inst/include/{rapidjsonr => rapidjson}/fwd.h | 0 inst/include/{rapidjsonr => rapidjson}/internal/biginteger.h | 0 inst/include/{rapidjsonr => rapidjson}/internal/diyfp.h | 0 inst/include/{rapidjsonr => rapidjson}/internal/dtoa.h | 0 inst/include/{rapidjsonr => rapidjson}/internal/ieee754.h | 0 inst/include/{rapidjsonr => rapidjson}/internal/itoa.h | 0 inst/include/{rapidjsonr => rapidjson}/internal/meta.h | 0 inst/include/{rapidjsonr => rapidjson}/internal/pow10.h | 0 inst/include/{rapidjsonr => rapidjson}/internal/regex.h | 0 inst/include/{rapidjsonr => rapidjson}/internal/stack.h | 0 inst/include/{rapidjsonr => rapidjson}/internal/strfunc.h | 0 inst/include/{rapidjsonr => rapidjson}/internal/strtod.h | 0 inst/include/{rapidjsonr => rapidjson}/internal/swap.h | 0 inst/include/{rapidjsonr => rapidjson}/istreamwrapper.h | 0 inst/include/{rapidjsonr => rapidjson}/memorybuffer.h | 0 inst/include/{rapidjsonr => rapidjson}/memorystream.h | 0 inst/include/{rapidjsonr => rapidjson}/msinttypes/inttypes.h | 0 inst/include/{rapidjsonr => rapidjson}/msinttypes/stdint.h | 0 inst/include/{rapidjsonr => rapidjson}/ostreamwrapper.h | 0 inst/include/{rapidjsonr => rapidjson}/pointer.h | 0 inst/include/{rapidjsonr => rapidjson}/prettywriter.h | 0 inst/include/{rapidjsonr => rapidjson}/rapidjson.h | 0 inst/include/{rapidjsonr => rapidjson}/reader.h | 0 inst/include/{rapidjsonr => rapidjson}/schema.h | 0 inst/include/{rapidjsonr => rapidjson}/stream.h | 0 inst/include/{rapidjsonr => rapidjson}/stringbuffer.h | 0 inst/include/{rapidjsonr => rapidjson}/writer.h | 0 inst/upgrade_headers.sh | 2 +- 37 files changed, 1 insertion(+), 1 deletion(-) rename inst/include/{rapidjsonr => rapidjson}/allocators.h (100%) rename inst/include/{rapidjsonr => rapidjson}/cursorstreamwrapper.h (100%) rename inst/include/{rapidjsonr => rapidjson}/document.h (100%) rename inst/include/{rapidjsonr => rapidjson}/encodedstream.h (100%) rename inst/include/{rapidjsonr => rapidjson}/encodings.h (100%) rename inst/include/{rapidjsonr => rapidjson}/error/en.h (100%) rename inst/include/{rapidjsonr => rapidjson}/error/error.h (100%) rename inst/include/{rapidjsonr => rapidjson}/filereadstream.h (100%) rename inst/include/{rapidjsonr => rapidjson}/filewritestream.h (100%) rename inst/include/{rapidjsonr => rapidjson}/fwd.h (100%) rename inst/include/{rapidjsonr => rapidjson}/internal/biginteger.h (100%) rename inst/include/{rapidjsonr => rapidjson}/internal/diyfp.h (100%) rename inst/include/{rapidjsonr => rapidjson}/internal/dtoa.h (100%) rename inst/include/{rapidjsonr => rapidjson}/internal/ieee754.h (100%) rename inst/include/{rapidjsonr => rapidjson}/internal/itoa.h (100%) rename inst/include/{rapidjsonr => rapidjson}/internal/meta.h (100%) rename inst/include/{rapidjsonr => rapidjson}/internal/pow10.h (100%) rename inst/include/{rapidjsonr => rapidjson}/internal/regex.h (100%) rename inst/include/{rapidjsonr => rapidjson}/internal/stack.h (100%) rename inst/include/{rapidjsonr => rapidjson}/internal/strfunc.h (100%) rename inst/include/{rapidjsonr => rapidjson}/internal/strtod.h (100%) rename inst/include/{rapidjsonr => rapidjson}/internal/swap.h (100%) rename inst/include/{rapidjsonr => rapidjson}/istreamwrapper.h (100%) rename inst/include/{rapidjsonr => rapidjson}/memorybuffer.h (100%) rename inst/include/{rapidjsonr => rapidjson}/memorystream.h (100%) rename inst/include/{rapidjsonr => rapidjson}/msinttypes/inttypes.h (100%) rename inst/include/{rapidjsonr => rapidjson}/msinttypes/stdint.h (100%) rename inst/include/{rapidjsonr => rapidjson}/ostreamwrapper.h (100%) rename inst/include/{rapidjsonr => rapidjson}/pointer.h (100%) rename inst/include/{rapidjsonr => rapidjson}/prettywriter.h (100%) rename inst/include/{rapidjsonr => rapidjson}/rapidjson.h (100%) rename inst/include/{rapidjsonr => rapidjson}/reader.h (100%) rename inst/include/{rapidjsonr => rapidjson}/schema.h (100%) rename inst/include/{rapidjsonr => rapidjson}/stream.h (100%) rename inst/include/{rapidjsonr => rapidjson}/stringbuffer.h (100%) rename inst/include/{rapidjsonr => rapidjson}/writer.h (100%) diff --git a/inst/include/rapidjsonr/allocators.h b/inst/include/rapidjson/allocators.h similarity index 100% rename from inst/include/rapidjsonr/allocators.h rename to inst/include/rapidjson/allocators.h diff --git a/inst/include/rapidjsonr/cursorstreamwrapper.h b/inst/include/rapidjson/cursorstreamwrapper.h similarity index 100% rename from inst/include/rapidjsonr/cursorstreamwrapper.h rename to inst/include/rapidjson/cursorstreamwrapper.h diff --git a/inst/include/rapidjsonr/document.h b/inst/include/rapidjson/document.h similarity index 100% rename from inst/include/rapidjsonr/document.h rename to inst/include/rapidjson/document.h diff --git a/inst/include/rapidjsonr/encodedstream.h b/inst/include/rapidjson/encodedstream.h similarity index 100% rename from inst/include/rapidjsonr/encodedstream.h rename to inst/include/rapidjson/encodedstream.h diff --git a/inst/include/rapidjsonr/encodings.h b/inst/include/rapidjson/encodings.h similarity index 100% rename from inst/include/rapidjsonr/encodings.h rename to inst/include/rapidjson/encodings.h diff --git a/inst/include/rapidjsonr/error/en.h b/inst/include/rapidjson/error/en.h similarity index 100% rename from inst/include/rapidjsonr/error/en.h rename to inst/include/rapidjson/error/en.h diff --git a/inst/include/rapidjsonr/error/error.h b/inst/include/rapidjson/error/error.h similarity index 100% rename from inst/include/rapidjsonr/error/error.h rename to inst/include/rapidjson/error/error.h diff --git a/inst/include/rapidjsonr/filereadstream.h b/inst/include/rapidjson/filereadstream.h similarity index 100% rename from inst/include/rapidjsonr/filereadstream.h rename to inst/include/rapidjson/filereadstream.h diff --git a/inst/include/rapidjsonr/filewritestream.h b/inst/include/rapidjson/filewritestream.h similarity index 100% rename from inst/include/rapidjsonr/filewritestream.h rename to inst/include/rapidjson/filewritestream.h diff --git a/inst/include/rapidjsonr/fwd.h b/inst/include/rapidjson/fwd.h similarity index 100% rename from inst/include/rapidjsonr/fwd.h rename to inst/include/rapidjson/fwd.h diff --git a/inst/include/rapidjsonr/internal/biginteger.h b/inst/include/rapidjson/internal/biginteger.h similarity index 100% rename from inst/include/rapidjsonr/internal/biginteger.h rename to inst/include/rapidjson/internal/biginteger.h diff --git a/inst/include/rapidjsonr/internal/diyfp.h b/inst/include/rapidjson/internal/diyfp.h similarity index 100% rename from inst/include/rapidjsonr/internal/diyfp.h rename to inst/include/rapidjson/internal/diyfp.h diff --git a/inst/include/rapidjsonr/internal/dtoa.h b/inst/include/rapidjson/internal/dtoa.h similarity index 100% rename from inst/include/rapidjsonr/internal/dtoa.h rename to inst/include/rapidjson/internal/dtoa.h diff --git a/inst/include/rapidjsonr/internal/ieee754.h b/inst/include/rapidjson/internal/ieee754.h similarity index 100% rename from inst/include/rapidjsonr/internal/ieee754.h rename to inst/include/rapidjson/internal/ieee754.h diff --git a/inst/include/rapidjsonr/internal/itoa.h b/inst/include/rapidjson/internal/itoa.h similarity index 100% rename from inst/include/rapidjsonr/internal/itoa.h rename to inst/include/rapidjson/internal/itoa.h diff --git a/inst/include/rapidjsonr/internal/meta.h b/inst/include/rapidjson/internal/meta.h similarity index 100% rename from inst/include/rapidjsonr/internal/meta.h rename to inst/include/rapidjson/internal/meta.h diff --git a/inst/include/rapidjsonr/internal/pow10.h b/inst/include/rapidjson/internal/pow10.h similarity index 100% rename from inst/include/rapidjsonr/internal/pow10.h rename to inst/include/rapidjson/internal/pow10.h diff --git a/inst/include/rapidjsonr/internal/regex.h b/inst/include/rapidjson/internal/regex.h similarity index 100% rename from inst/include/rapidjsonr/internal/regex.h rename to inst/include/rapidjson/internal/regex.h diff --git a/inst/include/rapidjsonr/internal/stack.h b/inst/include/rapidjson/internal/stack.h similarity index 100% rename from inst/include/rapidjsonr/internal/stack.h rename to inst/include/rapidjson/internal/stack.h diff --git a/inst/include/rapidjsonr/internal/strfunc.h b/inst/include/rapidjson/internal/strfunc.h similarity index 100% rename from inst/include/rapidjsonr/internal/strfunc.h rename to inst/include/rapidjson/internal/strfunc.h diff --git a/inst/include/rapidjsonr/internal/strtod.h b/inst/include/rapidjson/internal/strtod.h similarity index 100% rename from inst/include/rapidjsonr/internal/strtod.h rename to inst/include/rapidjson/internal/strtod.h diff --git a/inst/include/rapidjsonr/internal/swap.h b/inst/include/rapidjson/internal/swap.h similarity index 100% rename from inst/include/rapidjsonr/internal/swap.h rename to inst/include/rapidjson/internal/swap.h diff --git a/inst/include/rapidjsonr/istreamwrapper.h b/inst/include/rapidjson/istreamwrapper.h similarity index 100% rename from inst/include/rapidjsonr/istreamwrapper.h rename to inst/include/rapidjson/istreamwrapper.h diff --git a/inst/include/rapidjsonr/memorybuffer.h b/inst/include/rapidjson/memorybuffer.h similarity index 100% rename from inst/include/rapidjsonr/memorybuffer.h rename to inst/include/rapidjson/memorybuffer.h diff --git a/inst/include/rapidjsonr/memorystream.h b/inst/include/rapidjson/memorystream.h similarity index 100% rename from inst/include/rapidjsonr/memorystream.h rename to inst/include/rapidjson/memorystream.h diff --git a/inst/include/rapidjsonr/msinttypes/inttypes.h b/inst/include/rapidjson/msinttypes/inttypes.h similarity index 100% rename from inst/include/rapidjsonr/msinttypes/inttypes.h rename to inst/include/rapidjson/msinttypes/inttypes.h diff --git a/inst/include/rapidjsonr/msinttypes/stdint.h b/inst/include/rapidjson/msinttypes/stdint.h similarity index 100% rename from inst/include/rapidjsonr/msinttypes/stdint.h rename to inst/include/rapidjson/msinttypes/stdint.h diff --git a/inst/include/rapidjsonr/ostreamwrapper.h b/inst/include/rapidjson/ostreamwrapper.h similarity index 100% rename from inst/include/rapidjsonr/ostreamwrapper.h rename to inst/include/rapidjson/ostreamwrapper.h diff --git a/inst/include/rapidjsonr/pointer.h b/inst/include/rapidjson/pointer.h similarity index 100% rename from inst/include/rapidjsonr/pointer.h rename to inst/include/rapidjson/pointer.h diff --git a/inst/include/rapidjsonr/prettywriter.h b/inst/include/rapidjson/prettywriter.h similarity index 100% rename from inst/include/rapidjsonr/prettywriter.h rename to inst/include/rapidjson/prettywriter.h diff --git a/inst/include/rapidjsonr/rapidjson.h b/inst/include/rapidjson/rapidjson.h similarity index 100% rename from inst/include/rapidjsonr/rapidjson.h rename to inst/include/rapidjson/rapidjson.h diff --git a/inst/include/rapidjsonr/reader.h b/inst/include/rapidjson/reader.h similarity index 100% rename from inst/include/rapidjsonr/reader.h rename to inst/include/rapidjson/reader.h diff --git a/inst/include/rapidjsonr/schema.h b/inst/include/rapidjson/schema.h similarity index 100% rename from inst/include/rapidjsonr/schema.h rename to inst/include/rapidjson/schema.h diff --git a/inst/include/rapidjsonr/stream.h b/inst/include/rapidjson/stream.h similarity index 100% rename from inst/include/rapidjsonr/stream.h rename to inst/include/rapidjson/stream.h diff --git a/inst/include/rapidjsonr/stringbuffer.h b/inst/include/rapidjson/stringbuffer.h similarity index 100% rename from inst/include/rapidjsonr/stringbuffer.h rename to inst/include/rapidjson/stringbuffer.h diff --git a/inst/include/rapidjsonr/writer.h b/inst/include/rapidjson/writer.h similarity index 100% rename from inst/include/rapidjsonr/writer.h rename to inst/include/rapidjson/writer.h diff --git a/inst/upgrade_headers.sh b/inst/upgrade_headers.sh index 6ff9b89..c8eb0d8 100644 --- a/inst/upgrade_headers.sh +++ b/inst/upgrade_headers.sh @@ -8,7 +8,7 @@ mkdir -p include cp -r cmdstan-$CMDSTAN_VER/src/cmdstan include/cmdstan cp -r cmdstan-$CMDSTAN_VER/stan/src/stan include/stan -cp -r cmdstan-$CMDSTAN_VER/stan/lib/rapidjson*/* include/rapidjsonr +cp -r cmdstan-$CMDSTAN_VER/stan/lib/rapidjson*/* include/rapidjson cp -r cmdstan-$CMDSTAN_VER/stan/lib/stan_math/stan/math include/stan/math cp -r cmdstan-$CMDSTAN_VER/stan/lib/stan_math/stan/math.hpp include/stan/math.hpp rm -rf include/stan/math/opencl