Comments (5)
It looks like that you have to install the package car
https://cran.r-project.org/web/packages/car/index.html
from chainladder.
I have assessed the link provided and installed the package by downloading the zip file. However, the same message still exist when I run library(car) or library(ChainLadder)
library(car)
Error in library(car) : there is no package called ‘car’
library(ChainLadder)
Error: package or namespace load failed for ‘ChainLadder’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
there is no package called ‘car’
In addition: Warning message:
package ‘ChainLadder’ was built under R version 3.5.3
from chainladder.
Try in the R console:
install.packages("car")
For more information see also the 'Installing packages' section in the R Installation and Administration Manual.
from chainladder.
I have tried this before but failed:
install.packages("car")
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:
https://cran.rstudio.com/bin/windows/Rtools/
Warning in install.packages :
dependency ‘pbkrtest’ is not available
There is a binary version available but the source version is later:
binary source needs_compilation
car 3.0-7 3.0-8 FALSE
installing the source package ‘car’
trying URL 'https://cran.rstudio.com/src/contrib/car_3.0-8.tar.gz'
Content length 499932 bytes (488 KB)
downloaded 488 KB
ERROR: dependency 'pbkrtest' is not available for package 'car'
- removing 'D:/Program Files/R/R-3.5.2/library/car'
In R CMD INSTALL
Warning in install.packages :
installation of package ‘car’ had non-zero exit status
The downloaded source packages are in
‘C:\Users\user\AppData\Local\Temp\Rtmp8O4z7C\downloaded_packages’
library(car)
Error in library(car) : there is no package called ‘car’
from chainladder.
You have two issues:
- I assume you are on a Windows machine. Some R packages need to be compiled, Windows can not do this natively and therefore you need to install an additional software, Rtools. https://cran.r-project.org/bin/windows/Rtools/ make sure to install the version compatible with yuor R version and add the environment path.
- As you can see the
car
package haspbkrtest
listed as a dependency. So you have to install this specific package before installingcar
. If you want to have all this process taken care automatically tryinstall.packages("package-name", dependencies = TRUE)
from chainladder.
Related Issues (20)
- Mack chainladder provides different standarized residuals. HOT 8
- MultiChainLadder plot error when NA's in triangle HOT 1
- Triangle with empty values in early development periods HOT 27
- glmReserve: Missing row in summary HOT 5
- dev.period order not correct when using plot(triang, lattice=TRUE) HOT 2
- Bootchainladder Gamma process variance incorrect parametrization
- tweedieReserve : var.power=NULL not working HOT 2
- tweedieReserve : Error in summary.tweedie when rereserving = FALSE
- dfCorTest and cyEffTest fail for mxn triangle HOT 1
- actuar HOT 5
- Probable bug in `glmReserve()` source code HOT 1
- I want to change presaved claims (from ChainLadder-package) HOT 2
- Is it possible to summarize P/I ratio values according to Mack?
- MackChainLadder: `tail = FALSE` works fine, `tail = TRUE` errors. HOT 2
- Cross Reference R/Python in README? HOT 4
- Theoretical Understanding of How Methods Should Handle 0's HOT 5
- Mean IBNR & Quantiles Not Comparable, MackChainLadder HOT 3
- Problems Loading on MacBook Pro OS 10.13 HOT 1
- class triangle object
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chainladder.