check if current execution is part of package installation process
I want to implement my.pkg::f
as an active binding, computed using .GlobalEnv[["x"]]
.
If there is no .GlobalEnv[["x"]]
, it should raise an error.
When installing my.pkg
, R seems to evaluate my.pkg::f
, and as there is currently no .GlobalEnv[["x"]]
, it raises an error and terminates the installation process.
R devtools::check() WARNING: “The argument of a replacement function which corresponds to the right hand side must be named ‘value’.”
I am using devtools::check()
in R to check a package and cannot overcome this warning:
How to install R package hsdar?
I need to use a discontinued R package called hsdar
. It seems to be impossble to install, I have tried installing an older version of R to run it, but no version seems to accept the package.
Error in calendR unused arguments (start_date = start_date, end_date = end_date)
I have been attempting to use CalendR to generate a color-coded calendar. I keep getting an error message that states unused arguments. The only thing I can think why is because I am using multiple packages (dplyr and lubridate) as well OR because the version CalendR was developed under does not align with the version of R I am using. I am at a loss.
using a helper function to check for suggested packages causes R CMD check failure
My package “DESCRIPTION” includes several packages under “Suggests,” which are conditionally used in some functions. Previously, my code included a lot of statements like
Is there an R package for advanced fractional integration research?
I’m looking for the library for R which could conduct fractional integration of the time series with the seasonal AR, white noise and Bloomfield-type errors?