R/zzz-libs.R

Defines functions renv_zzz_libs_impl renv_zzz_libs

renv_zzz_libs <- function() {
 
  status <- tryCatch(
    renv_zzz_libs_impl(),
    error = identity
  )
  
}

renv_zzz_libs_impl <- function() {
  
  if (!installing() || !renv_ext_enabled())
    return(FALSE)
  
  message("** libs")
  package <- Sys.getenv("R_PACKAGE_DIR", unset = getwd())
  renv_ext_compile(package)
  
  TRUE
  
}

renv_zzz_libs()

Try the renv package in your browser

Any scripts or data that you put into this service are public.

renv documentation built on Oct. 12, 2024, 9:07 a.m.