mclements / microsimulation Goto Github PK
View Code? Open in Web Editor NEWR package for microsimulation
R package for microsimulation
I'm on osx & R 3.5.2
Is there any plan to update the package (& fix the error)?
Thanks
> devtools::install_github("mclements/microsimulation")
Downloading GitHub repo mclements/microsimulation@master
✔ checking for file ‘/private/var/folders/9v/251f7k_x6hn8t9wsz8v21rgh0000gn/T/RtmpiYMGPo/remotes1545b5e75bb/mclements-microsimulation-63abdcc/DESCRIPTION’ ...
─ preparing ‘microsimulation’:
✔ checking DESCRIPTION meta-information
─ cleaning src
─ checking for LF line-endings in source and make files and shell scripts
─ checking for empty or unneeded directories
─ looking to see if a ‘data/datalist’ file should be added
─ building ‘microsimulation_1.1.tar.gz’
Installing package into ‘/usr/local/lib/R/3.5/site-library’
(as ‘lib’ is unspecified)
* installing *source* package ‘microsimulation’ ...
** libs
clang++ -I"/usr/local/Cellar/r/3.5.2_2/lib/R/include" -DNDEBUG -I"/usr/local/lib/R/3.5/site-library/Rcpp/include" -I"/usr/local/lib/R/3.5/site-library/BH/include" -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/include -I. -DVERSION=\"1.7.6\" -fPIC -g -O2 -c microsimulation.cc -o microsimulation.o
In file included from microsimulation.cc:6:
In file included from ./microsimulation.h:40:
In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/unordered_map.hpp:17:
In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/unordered/unordered_map.hpp:19:
In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/move/move.hpp:30:
In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/move/iterator.hpp:27:
/usr/local/lib/R/3.5/site-library/BH/include/boost/move/detail/iterator_traits.hpp:29:1: warning: inline namespaces are a C++11 feature [-Wc++11-inline-namespace]
BOOST_MOVE_STD_NS_BEG
^
/usr/local/lib/R/3.5/site-library/BH/include/boost/move/detail/std_ns_begin.hpp:18:34: note: expanded from macro 'BOOST_MOVE_STD_NS_BEG'
#define BOOST_MOVE_STD_NS_BEG _LIBCPP_BEGIN_NAMESPACE_STD
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/__config:445:52: note: expanded from macro '_LIBCPP_BEGIN_NAMESPACE_STD'
#define _LIBCPP_BEGIN_NAMESPACE_STD namespace std {inline namespace _LIBCPP_NAMESPACE {
^
In file included from microsimulation.cc:6:
./microsimulation.h:56:49: error: expected expression
boost::hash_combine(seed, tuple.get<Index>());
^
./microsimulation.h:64:43: error: expected expression
boost::hash_combine(seed, tuple.get<0>());
^
./microsimulation.h:588:19: error: no type named 'iterator' in 'CostReport<State, Time, Cost>'
typename This::iterator it;
~~~~~~~~~~~~~~~^~~~~~~~
1 warning and 3 errors generated.
make: *** [microsimulation.o] Error 1
ERROR: compilation failed for package ‘microsimulation’
* removing ‘/usr/local/lib/R/3.5/site-library/microsimulation’
Error in i.p(...) :
(converted from warning) installation of package ‘/var/folders/9v/251f7k_x6hn8t9wsz8v21rgh0000gn/T//RtmpiYMGPo/file1545b186667a2/microsimulation_1.1.tar.gz’ had non-zero exit status
Due to issues with CRAN compatibility, I propose removing the tprocess functionality.
Has anyone been using this functionality? If so, then we could carefully add this back in -- although not for Mac:(.
Sincerely, Mark.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.