You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# You can also override this behavior with a source argument
ref_2 <- pkg_ref("utils", source = "pkg_cran_remote")
ref_2$source # returns 'pkg_cran_remote'
But:
library(riskmetric)
ref_2<- pkg_ref("utils", source="pkg_cran_remote")
#> Warning in verify_pkg_source(x, source, repos): Package: `utils` not found on#> CRAN, source is now 'pkg_missing'
The example needs to be updated. I think, because utils is a base package it is not technically in CRAN which is why you are getting this error. When I use ggplot2 or nlme I get the intended result as shown in the examples.
In
pkg_ref()
doc:But:
Created on 2024-08-01 with reprex v2.1.0
The text was updated successfully, but these errors were encountered: